Uninstallation Of Server Roles
In principle, the uninstallation of server roles works exactly like installation; the parameter /uninstall merely needs to be appended to the command.
Uninstalling a server role
If a restart is required, a dialog box will appear to request it. For this reason, the uninstallation of server roles should be done from the remote desktop, and not a remote shell.
The uninstallation procedure should not be done from the remote shell, but rather on the remote desktop