The Scwcmd configure command in Windows
Applies to: Windows Server 2012 R2, Windows Server 2012.
(Applies to: Windows Server 2012 R2, Windows Server 2012)
The Scwcmd command helps apply the security policy configured by the Security Configuration Wizard (SCW) to the computer.This command-line tool also accepts a list of computer names as input data.For a better understanding of how to use this command, see the example section below.
Syntax command Scwcmd configure
scwcmd configure [[[/ m: | / ou:] / p:] | / i:] [/ u:] [/ pw:] [/ t:]
The command parameter Scwcmd configure
Parameters
Describe
/ m:
Specify the NetBIOS name, DNS name or IP address of the computer for analysis.If the / m parameter is specified, the / p parameter must also be specified according to.
/ ou:
Specify fully qualified domain name (FQDN) of an organizational unit (OU) in Active Directory Domain Services.If the / ou parameter is specified, the / p parameter must also be specified according to.All computers in the OU will be analyzed according to a certain policy.
/ p:
Specify the path and name of the .xml policy file to be used to proceed with the configuration.
/ i:
Specify the path and name of the .xml file that contains the computer list along with their expected policy files.All computers in the .xml file will be analyzed based on their respective policy files.The sample .xml file will be% windir% securitySampleMachineList.xml.
/ u:
Specify alternate user credentials to use when configuring remote computers.By default, the user is logged in.
/ pw:
Specify alternate user credentials to use when configuring remote computers.Default is the password of the logged in user.
/ t:
Specify the number of concurrent outstanding analysis activities that need to be maintained during the analysis process (default value DefaultValue = 40, lowest value MinValue = 1, maximum value MaxValue = 1000).
/?
Show help at thecommand prompt.
The command statement Scwcmd configure
Scwcmd.exe will only be available on computers running Windows Server 2008 R2, Windows Server 2008 or Windows Server 2003.
For example, the command Scwcmd configure
To configure the security policy for a file named webpolicy.xml, enter:
scwcmd configure /p:webpolicy.xml
To configure the security policy for the computer at 172.16.0.0 in contrast to the webpolicy.xml file using the webadmin account login, enter:
scwcmd configure /m:172.16.0.0 /p:webpolicy.xml / u: webadmin
To configure the security policy on all computers in the Campusmachines.xml list with up to 100 threads, enter:
scwcmd configure /i:campusmachines.xml / t: 100
To configure the security policy on all computers in WebServers OU based on the webpolicy.xml file by using the DomainAdmin account login information, type:
scwcmd configure / ou: OU = WebServers, DC = Marketing, DC = ABCCompany, DC = com /p:webpolicy.xml / u: DomainAdmin
See more:
- Instructions for installing Windows Server 2012 step by step
- Install Windows Server 2008
- Instructions for creating a Domain Controller - DC on Windows Server 2012
- Instructions for installing Active Directory on Windows Server 2008
You should read it
- The Scwcmd analyze command in Windows
- Scwcmd register command in Windows
- Scwcmd command in Windows
- Secedit: configure command in Windows
- Configure IP network address with MS-DOS command
- Secedit command in Windows
- Configure God of War Ragnarok on PC
- Configure wireless connection of Windows Vista from CLI with netsh wlan
- Configure advanced firewall in Windows 2008 using NETSH CLI
- Configure 2020 Pes PC
- Configure GTA Trilogy on PC
- How to Configure Firewall on Debian Using UFW
Maybe you are interested
Test keyboard online, test key online with the following 5 websites How a smart ring may help detect early COVID-19 symptoms Idris Elba - 'Heimdall of Asgard' is positive for corona virus Iran: The Stuxnet 'total attack' of industrial systems Description of the P2P-Worm.Win32.BlackControl.g template Fix simple errors on the printer