Secedit command prompt
Hi I want to backup thecurrent security settings from the command prompt. What should be the expected output?Iam entering the following command and receiving the following output:Secedit /generaterollback /cfg /hisecws.inf /rbk backup.inf. Allows you to generate a rollback template with respect to a configuration template. The syntax of this command is: secedit /generaterollback /cfg filename /rbk filename [/log filename] [/quiet] /db filename - Specifies the database used to perform the rollback. /cfg filename - Specifies a security template with respect to which a rollback template is generated. Security templates are created using the Security Templates snap-in. /rbk filename - Specifies a security template into which the rollback information is written. Security templates are created using the Security Templates snap-in. /log filename - Specifies a file in which to log the status of the rollback process. If not specified, rollback processing information is logged in the scesrv.log file which is located in the %windir%\security\logs directory. /quiet - Specifies that the rollback process should take place without prompting the user for any confirmation. Example: secedit /generaterollback /db hisecws.sdb /cfg hisecws.inf /rbk hisecwsrollback.inf /log hisecws.log For all filenames, the current directory is used if no path is specified.Is this correct?
December 29th, 2008 6:09pm

Hi, You can use the command secedit /export to backup the current security setting on the computer. Example: Secedit /export /cfg backup.inf After the command completes successfully, a security template backup.inf is created in the current directory. For more information, you can refer to the following article: Security Settings Extension Tools and Settings http://technet.microsoft.com/en-us/library/cc786439.aspx
Free Windows Admin Tool Kit Click here and download it now
December 31st, 2008 8:58am

A backup.inf file is never created when either of the following command lines are used:Secedit /export /cfg backup.infSecedit /generaterollback /cfg /hisecws.inf /rbk backup.infDoes this mean that the security settings are not backed up? When I enter the command line to export the security settings I get the following output: The task has completed successfully. See log %windir%\security\logs\scesrv.log for detail info.The log filescesrv.log has the followingg information: -------------------------------------------29 December 2008 12:18:43 ----Un-initialize configuration engine...
January 5th, 2009 2:37pm

Hi, According to the output The task has completed successfully., the security settings should be exported and the template is stored in the current directory where you typed the command for all filenames, the current directory is used if no path is specified. To specify a directory where the template should be stored, you can run the following command: Secedit /export /cfg c:\windows\security\templates\backup.inf After that, you should find the template backup.inf in the folder c:\windows\security\templates.
Free Windows Admin Tool Kit Click here and download it now
January 6th, 2009 11:24am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics