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!
Page 1 of 1
Unattended switches for Hotfixes since win2k
#2
Posted 15 July 2007 - 12:52 AM
ckislam, on Jul 14 2007, 11:05 PM, said:
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.
#3
Posted 15 July 2007 - 03:39 AM
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
Thanks
#4
Posted 15 July 2007 - 04:15 AM
This works great
net stop srservice hotfix-kb123.exe -u -z -o -n net start srservice
- ← [HOWTO] Unattended CD with BartPE
- Unattended Windows 2000/XP/2003
- disable all sounds and get calculator →
Share this topic:
Page 1 of 1



Help

Back to top








