Default NTFS Permissions on Windows XP

After a conversion from FAT to NTFS or simply because the permissions are broken and you want to reset them (for Program Files  and Windows folders), you can use this tricks to get their default (in Windows XP):
To apply the default permission settings, run this command (from an administrative account):
secedit /configure /db %SYSTEMROOT%securitydatabasecvtfs.sdb /Cfg "%SYSTEMROOT%securitytemplatessetup security.inf" /areas filestore
Note that after you run this, SQL Server 2005 service (if it was previously installed) doesn’t start anymore. You need to give permission to the SQL Server user (or Network Service) to read/write to the %ProgramFiles%Microsoft SQL ServerMSSQL.1MSSQL folder.

About Sorin Dolha

My passion is software development, but I also like physics.
This entry was posted in Computers and Internet. Bookmark the permalink.

Add a reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s