What's New

Group Policy Issues

I’ve come across when a machine does not want to play well with the GPO (Group Policy Object) that are being pushed down to it. I did some research and it seems that “secedit.sdb” file will get corrupted. Correct me if I’m wrong, but the “secedit.sdb” is a Microsoft database that holds all security settings. So I created a short batch script to delete the file and do a GPupdate /force to push down the GPOs to the machine. Here is the code for the batch file:

REM KILL POLICY FILE ALLOW RENEWAL OF POLICY
REM SystemRoot=C:\WINDOWS
IF EXIST "%SystemRoot%\security\Database\secedit.sdb" DEL /Y "%SystemRoot%\security\Database\secedit.sdb"
GPUPDATE /Force

please make sure you run this script as an Administrator.

About BjTechNews (1061 Articles)
An IT guy trying to learn everything about technology and sharing it with you all. I'm a blogger and video blogger who highlights daily news in the tech industry, promoting tips and hacks for fellow techies.

1 Comment on Group Policy Issues

  1. Excellent article, thanks.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: