Share via


How to export only user rights assignment from local security poliocy(secpol.msc) in windows 7?

Question

Monday, February 2, 2015 10:34 AM

As we know there is command prompt option to export these setting, can u guys correct this command                            secedit /export /db C:\Windows\security\database\secedit.sdb /cfg /areas USER_RIGHTS C:/testur.txt.

All replies (2)

Tuesday, February 3, 2015 6:53 AM âś…Answered

Actually we are parsing local security policy settings using C#. Anyway I found the answer.

secedit /export /areas USER_RIGHTS /cfg d:\policies.txt


Tuesday, February 3, 2015 5:35 AM

Hi,

secedit /export command is 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

Actually, your case has nothing to do with C#.

Best regards,

Kristin

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.