Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unattended SP2 CD Install 2

Status
Not open for further replies.

Carboloy

MIS
Jun 24, 2002
36
0
0
US
I had been working on an unattended CD install of SP2. The main goal is to have SP2 install with all pre-defined settings. I have most of them down by modifying the netfw.inf, however there is one I can't seem to find. How do I turn off automatic updates and how do I disable the security center from popping up after a reboot? Any help would be appreciated!
 
Thanks for the reply. However, this site looks geared more towards creating a CD that will be used to do a clean install of XP with SP2 included. We already have PC's with XP SP1, this will be a CD used just to upgrade their service pack.
 
1. Use the /norestart switch on the command line for XPsp2.exe along with /quiet or other options you may have chosen.

2. Now open notepad, and copy/paste what you need below. Save as sp2_fixes.reg :

****** start copy/paste below this line
Windows Registry Editor Version 5.00

;Disable Anti-virus Notifications
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center]
"AntiVirusDisableNotify"=dword:00000001

;Disable Firewall Notifications
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center]
"FirewallDisableNotify"=dword:00000001

;Disable Automatic Updates Notifications
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center]
"UpdatesDisableNotify"=dword:00000001

;Override Antivirus - turns of sp2 firewall
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center]
"AntiVirusOverride"=dword:00000001

;Override Windows Firewall - turns off sp2 firewall
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center]
"FirewallOverride"=dword:00000001

;Disable Security Center - completely disables it
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wscsvc]
"Start"=dword:00000004

********* end copy/paste above this line

3. Then start the upgrade with a .cmd file

rem Do the sp2 upgrade
path:xpsp2.exe /norestart /quiet && anything else

rem Do the fixes
regedit /s path: sp2_fixes.reg

4. Or, you can add to your netw.inf file, as it does not really care what registry entries are added. For a non-domain use:

Any of the entries above can be added to this section:
[ICF.AddReg.StandardProfile]

You just have to translate the regedit form. For example, above I have:
;Disable Anti-virus Notifications
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center]
"AntiVirusDisableNotify"=dword:00000001

In the netw.inf format this same registry entry would become:
;Disable Anti-virus Notifications
HKLM,"SOFTWARE\Microsoft\Security Center","AntiVirusDisableNotify",0x00000001,0

I will leave it to you to translate what you may wish to have as settings.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top