Waclaw Chrabaszcz
... there is no spoon ...

SCCM 2012 SP1 – How to install Remote Desktop Service role within a Task Sequence

Sunday, February 10, 2013 11:38 AM

It is very simple: use the standard command line:

and the command line will be:

… but there must be one more thing …. and it is …

ServerManagerCMD exit codes:

Message

Exit code

Text string

Success, no need to restart

0

Success: Installation succeeded.
Success: Removal succeeded.

Success, restart is required

3010

Success: Installation succeeded. A restart is required.
Success: Removal succeeded. A restart is required.

Argument not valid

4

ArgumentNotValid: Argument not valid {argument}
ArgumentNotValid: Missing the answer file path
ArgumentNotValid: Missing log file path
ArgumentNotValid: Feature not valid: '{name}'. The name of the feature was not found.
ArgumentNotValid: Role not valid: '{name}'. The name of the role was not found.
ArgumentNotValid: The following name has already been specified in the input path: {name}
ArgumentNotValid: The following setting has already been specified in the input path: {setting}
ArgumentNotValid: Not a valid feature. '{name}' is a role.
ArgumentNotValid: Not a valid feature. '{name}' is a role service.
ArgumentNotValid: Not a valid role. '{name}' is a feature.
ArgumentNotValid: Invalid role. The name '{name}' is for a role service.
ArgumentNotValid: Not a valid role service. '{name}' is a feature.
ArgumentNotValid: Not a valid role service. '{name}' is a role.

Error opening or reading input file

110

ReadError: Answer file does not exist: {0}
ReadError: Failed to read the answer file: {0}
ReadError: Failed to load the answer file: {0}. {1}

Insufficient permissions or credentials

5

Error: Server Manager can be run only by a member of the built-in Administrators group on the local computer. You should install and remove roles and features only with elevated permissions.

No change needed

1003

NoChange: No changes were made because the roles and features specified in the answer file are already installed, or have already been removed from the local computer.

An instance of a Server Manager wizard is already running on this computer

1004

Error: Another user is running a wizard in the Server Manager user interface.

A failure occurred while collecting the list of installed roles or features, or while installing or removing the items specified by the user.

1000

Error: Installation of one or more roles, role services, or features failed. Check the Server Manager log for additional information and try again.
Error: Removal of one or more roles, role services, or features failed. Check the Server Manager log for additional information and try again.

Same as error 1000, except that a restart is required by this error to undo any changes made to the computer.

1001

Error: Installation of one or more roles, role services, or features failed, and a restart is required to undo any changes made to the computer. Check the Server Manager log for additional information and try again.
Error: Removal of one or more roles, role services, or features failed, and a restart is required to undo any changes made to the computer. Check the Server Manager log for additional information and try again.
Error: Installation of the role, role service, or feature failed because the computer must be restarted to complete another installation or removal. After restarting the computer, try to install the role, role service, or feature again.
Error: Removal of the role, role service, or feature failed because the computer must be restarted to complete another installation or removal. After restarting the computer, try to remove the role, role service, or feature again.

Generic error

1002

Error: Generic error. {0}




Feedback

# re: SCCM 2012 SP1 – How to install Remote Desktop Service role within a Task Sequence

best cricket watching hd experience here on the go with star sports live for t20 world cup
star sports live streaming for free on HD1 HD2 channels 1/28/2016 12:04 PM | criceter

Post a comment