Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

HOWTO reset Service config back to install defaults?

Featured Replies

Is there any command-line tool that will reset all the installed Windows services (except those from 3rd parties) back

to the default configuration when windows was first installed? This includes security and the stop,start,manual settings

along 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.

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.

  • 2 months later...
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 by adrien21

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 /overwrite

Also 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 ;).

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

thanks a lot cluberti,

I did a google search and the KB did not show up... otherwise I wouldn't have asked...

thanks again

owl, thanks a lot :)

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.