Jump to content

Unattended switches for Hotfixes


Recommended Posts

Hello,

I am using these switches for hotfixes unattended setup since win2k

-u Unattended mode

-f Force other programs to close when the computer shuts down

-n Do not back up files for uninstall

-o Overwrite OEM files without prompting

-z Do not restart when installation is complete

-q Quiet mode (no user interaction)

I'm missing the switch to disable the system restore. do you know it? i couldn't find it anywhere!

Link to comment
Share on other sites


I'm missing the switch to disable the system restore. do you know it? i couldn't find it anywhere!

There isn't one, because system restore has nothing to do with the patches. You have to do it separately yourself. Microsoft doesn't recommend that you forcibly disable system restore, either.

It looks like, though, you can use the DisableSR key with this registry path:

HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\SystemRestore

I notice it runs as a service, too, so perhaps you can disable that through registry or API call for while you are running your script (I guess that's the question? Maybe it might be beneficial to tell us what you're looking to do specifically.

I will note there is also an API service that will clear system restore points.

Link to comment
Share on other sites

as you said, i want to disable creating a restore point. because each hotfix i install, creates a system restore point, which takes too much time during the installation. I will try it with the RegistryKey you gave me. I suppose it will work by stopping the System Restore before the installation and then enabling it again.

Thanks

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...