text
stringlengths
0
4.23k
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Allows you to participate in the Customer Experience Improvement Program (CEIP).
Syntax
serverceipoptin [/query] [/enable] [/disable]
Parameters
Parameter
Description
/query
Verifies your current setting.
/enable
Turns on your participation in CEIP.
/disable
Turns off your participation in CEIP.
/?
Displays help at the command prompt.
Examples
To verify your current settings, type:
serverceipoptin /query
To turn on your participation, type:
serverceipoptin /enable
To turn off your participation, type:
serverceipoptin /disable
servermanagercmd
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Installs and removes roles, role services, and features. Also displays the list of all roles, role services, and features available, and shows which are installed on this computer.
Important
This command, servermanagercmd, has been deprecated and it's not guaranteed to be supported in future releases of Windows. We recommend instead that you use the Windows PowerShell cmdlets that are available for Server Manager. For more information, see Install or Uninstall Roles, Role Services, or Features.
Syntax
servermanagercmd -query [[[<drive>:]<path>]<query.xml>] [-logpath [[<drive>:]<path>]<log.txt>]
servermanagercmd -inputpath [[[<drive>:]<path>]<answer.xml>] [-resultpath <result.xml> [-restart] | -whatif] [-logpath [[<drive>:]<path>]<log.txt>]
servermanagercmd -install <id> [-allSubFeatures] [-resultpath [[<drive>:]<path>]<result.xml> [-restart] | -whatif] [-logpath [[<Drive>:]<path>]<log.txt>]
servermanagercmd -remove <id> [-resultpath <result.xml> [-restart] | -whatif] [-logpath [[<drive>:]<path>]<log.txt>]
servermanagercmd [-help | -?]
servermanagercmd -version
Parameters
Parameter
Description
-query [[[<drive>:]<path>]<query.xml>]
Displays a list of all roles, role services, and features installed and available for installation on the server. You can also use the short form of this parameter, -q. If you want the query results saved to an XML file, specify an XML file to replace <query.xml>.
-inputpath [[[<drive>:]<path>]<answer.xml>]
Installs or removes the roles, role services, and features specified in an XML answer file represented by <answer.xml>. You can also use the short form of this parameter, -p.
-install <id>
Installs the role, role service, or feature specified by <id>. The identifiers are case-insensitive. Multiple roles, role services, and features must be separated by spaces. The following optional parameters are used with the -install parameter:-setting <SettingName>=<SettingValue> - Specifies required settings for the...
-remove <id>
Removes the role, role service, or feature specified by <id>. The identifiers are case-insensitive. Multiple roles, role services, and features must be separated by spaces. The following optional parameters are used with the -remove parameter:-resultpath <[[<drive>:]<path>]result.xml> - Saves removal results to an XML ...
-version
Displays the Server Manager version number. You can also use the short form, -v.
-help
Displays help in the Command prompt window. You can also use the short form, -?.
[[[<drive>:]<path>]<query.xml>]
<query.xml>
[[[<drive>:]<path>]<answer.xml>]
<answer.xml>
<id>
<id>
<SettingName>=<SettingValue>
<id>
NOTESome role containers do not have a command line identifier to allow installation of all role services. This is the case when role services cannot be installed in the same instance of the Server Manager command. For example, the Federation Service role service of active directory Federation Services and the Federati...
<result.xml>
<result.xml>
NOTEYou can't run servermanagercmd with both the -resultpath parameter and the -whatif parameter specified.
<[[<drive>:]<path>]<log.txt>>
%windir%\temp\servermanager.log
<id>
<id>
<[[<drive>:]<path>]result.xml>