mikesw Posted June 22, 2007 Share Posted June 22, 2007 Is there any command-line tool that will reset all the installed Windows services (except those from 3rd parties) backto the default configuration when windows was first installed? This includes security and the stop,start,manual settingsalong with the dependencies the services uses.I've used the secedit command on the C:\Windows directory to set that back to the Windows directory defaults,but can't find one for the services part. Link to comment Share on other sites More sharing options...
cluberti Posted June 26, 2007 Share Posted June 26, 2007 You can reset the services by using secedit and defining the "setup security.inf" file - this contains (amongst other things) default security and startup settings for services. You can also use the Security Templates and Security Configuration and Analysis MMC snap-ins to do this as well. Link to comment Share on other sites More sharing options...
adrien21 Posted September 16, 2007 Share Posted September 16, 2007 (edited) You can reset the services by using secedit and defining the "setup security.inf" file - this contains (amongst other things) default security and startup settings for services. You can also use the Security Templates and Security Configuration and Analysis MMC snap-ins to do this as well.and what if an unexperienced user would like to do the same ? could you give some more details about the procedure ? (does it even work in XP home?)thanks a lot!edit : it seems that by default, the c:/windows/security/templates folder is locked (I cannot access it by command line or open a command in it) so how can I run a command on one of the files contained in the folder if I can't access it ? -thx for the help Edited September 16, 2007 by adrien21 Link to comment Share on other sites More sharing options...
cluberti Posted September 16, 2007 Share Posted September 16, 2007 Sure, run the following command in a command prompt (note that the command below is all to be typed on one line):secedit /configure /cfg "%windir%\security\templates\setup security.inf" /db ss.sdb /overwriteAlso note that there's already a KB on this, and a quick search here and on google came up with this KB as well. Remember to try and search before posting, as your question has already been touched on many times here and your wait time for a response would have been lower . Link to comment Share on other sites More sharing options...
Yzöwl Posted September 16, 2007 Share Posted September 16, 2007 Here's a compiled batch file, which should revert all your OS services back to their default settings.I haven't tested it in its compiled format, but I hope it does what you require of it.svc_defs.7z Link to comment Share on other sites More sharing options...
adrien21 Posted September 17, 2007 Share Posted September 17, 2007 thanks a lot cluberti, I did a google search and the KB did not show up... otherwise I wouldn't have asked... thanks againowl, thanks a lot Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now