Secedit command: generaterollback in Windows
Secedit: generaterollback command allows you to create rollback patterns for the specified configuration template.
Secedit: generaterollback command allows you to create rollback patterns for the specified configuration template.To better understand how to use this command, see the example below.
Syntax command secedit: generaterollback
Secedit / generaterollback / db / cfg / rbk [log] [/ quiet]
The secedit command: generaterollback command
Parameters
Describe
db
This is a required parameter.
Specify the path and name of the database file containing the stored configuration to conduct the analysis.
If the database designation name does not have a security template (as indicated by the configuration file) associated with it, the command line / cfg option must also be specified according to
cfg
This is a required parameter.
Specify the path and name for the security template to be entered into the database for analysis.
This optional parameter / cfg is only valid when used with the parameter / db.
If this parameter is not specified, the analysis will be performed for any configuration stored in the database.
rbk
This is a required parameter.
Specify a security pattern in which rollback information is written.Security templates are created with attachments of Security Templates.Rollback files can be created with this command.
log
Optional parameters.
Specify the path and name of the log file to be used in the process.
quiet
Optional parameters.
Do not display the output on the screen.You can still view the analysis results by using the Security Configuration and Analysis attachment on Microsoft Management Console (MMC).
Secedit: generaterollback command
- If the path for the log file is not provided, the default log file, (systemrootUsers * UserAccountMy DocumentsSecurityLogs * DatabaseName.log) will be used.
- Starting withWindows Server 2008, the Secedit / refreshpolicy subcommand has been replaced with gpupdate.For more information on how to refresh security settings, see the Gpupdate command.
- Successful running of this command will be notified by the 'The task has completed successfully' status and only the mismatch between the stated security form and configuration of the new security policy will be recorded.These mismatches will be listed in scesrv.log.
- If an existing rollback pattern is specified, this command will override it.You can create a new rollback pattern with this command.Condition is without additional parameters.
Secedit: generaterollback command
After creating security templates using the snap-in of Security Configuration and Analysis is SecTmplContoso.inf, to create the rollback configuration file to save the original settings, enter:
Secedit / generaterollback / db C: SecurityFY11SecDbContoso.sdb / cfg sectmplcontoso.inf / rbk sectmplcontosoRBK.inf / log C: SecurityFY11SecAnalysisContosoFY11.log
See more:
- Summary of 20 common Run commands on Windows operating system
- Overview of Windows Server 2008
- Basic Linux commands everyone needs to know
- Table summarizes the basic PowerShell commands
You should read it
- Secedit command in Windows
- Secedit: import command in Windows
- Secedit: analyze command in Windows
- Secedit: configure command in Windows
- Secedit command: export in Windows
- Secedit: validate command in Windows
- Del command in Windows
- Cmd command in Windows
- The echo command in Windows
- Set command in Windows
- How to use the command history function in Command Prompt
- The certutil command in Windows
Maybe you are interested
Learn to use lesson 17 computer - Create a safe workspace How to use Photoshop CS5 - Part 15: Remove wrinkles with the Healing Brush tool 10 strange things happen to the body when you fly There was a year when the Earth had no summer and the world history was changed The mystery of exploding teeth in the mouth is real in history 9 simple tips for perfect smiles like Hollywood stars