bakr_2k5 Posted April 27, 2006 Posted April 27, 2006 Hello,Is there a tool that resets all the services in Windows XP Pro SP2 to the defaults? It's really a pain in the a** to do it all by hand! I searched on google and didn't find anything so far.Thanks in advange,bakr_2k5PS Sorry for my bad English (if it is) i'm a dutch one Title edited -- Please, use [TAGS] in your topic's title.Please follow XP Forum Rules from now on.--Sonic
Sonic Posted April 27, 2006 Posted April 27, 2006 To restore base settings for services (and other security settings, like systems file rights, regedit right and some keys)Execute that from a new "cmd"secedit /configure /cfg %windir%\repair\secsetup.inf /db %windir%\security\Database\secedit.sdb /verboseAfter operation complete, REBOOT.Goodbye.edit: Third-party services (like AV, firewall aren't modified ...)
Yzöwl Posted April 28, 2006 Posted April 28, 2006 I've compiled a batch file, which should do it for you.The file works equally well for both Home or Pro Editions, is suitable only for SP2 versions, and requires that you have administrative privileges.sp2_defs.zip
Sonic Posted April 28, 2006 Posted April 28, 2006 Yzöwl, can you details your program, there is a batch with secedit (and his help file too) ? Can you read the code to fully understand what is does ?Thanks.
Yzöwl Posted April 28, 2006 Posted April 28, 2006 My attachment above is a zipped archive, containing a compiled batch file; the batch file:Verifies that you are running Windows XPEnsures that you are at Service Pack 2 levelDetermines whether Home or Pro EditionApplies the appropriate service configurations for that EditionOffers the choice to reboot immediately or notThe services are configured using the Windows XP built-in sc.exe tool. Sc.exe requires that you are running with Administrator privileges, hence my previous notice.
Sonic Posted April 29, 2006 Posted April 29, 2006 oh okay, I thought about secedit method ...I have just test on my french edition, it works, your tool is now in my toolbox ^^
N1K Posted April 30, 2006 Posted April 30, 2006 Yes, I've also put it in my toolkit, even I don't know when I'm goin' to use it though
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