Jump to content

Recommended Posts

Posted

Hello

I am a newbie to the unattend buld of Xp so if I make some silly mistakes please bear with me.

I have integrated service pack 2 into Xp and have also setup some entries in my winnt.sif file so i can boot off a cd and install Xp and other applications like Adobe Winzip etc...

I have used RunonceEx to install a reg file with some bog standrad registry keys and cannot get the registry keys to install. It all appears to be running ok as it says it's installing but when logging in I can see all the stupid Xp pop windows about tourig Xp and desktop cleanup wizard that I thought I had disabled when importing my registry key.

My Runonceex file is

cmdow @ /HID

@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\005 /VE /D "Adobe Reader 6" /f

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\Adobe60\ar6.msi /quiet" /f

REM REG ADD %KEY%\010 /VE /D "Winzip 9.0" /f

REM REG ADD %KEY%\010 /V 1 /D "\"%systemdrive%\program files\winzip\winzip32.exe\" /notip /autoinstall" /f

REG ADD %KEY%\050 /VE /D "Importing Registry Tweaks" /f

REG ADD %KEY%\050 /V 1 /D "REGEDIT.exe /S %systemdrive%\install\regtweaks.reg" /f

EXIT

and my registry file loks like this:

;Disables Windows Tour bubble popup

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Applets\Tour]

"RunCount"=dword:00000000

;Speed up shutdown

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control]

"WaitToKillServiceTimeout"="3000"

;Disable the Desktop Cleanup Wizard

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\CleanupWiz]

"NoRun"=dword:00000001

;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

In the $oem$\$1\instal folder I have put the registry key itswlf so it gets copied to the hard diskon install.

If anyone can se what I am doing wrong please please help me as I've been banging my head for about a week to get this done and also used heaps of blank cd's.

Help me OB1


Posted

You can can the exe at the end of regedit not needed

REG ADD %KEY%\050 /VE /D "Importing Registry Tweaks" /f
REG ADD %KEY%\050 /V 1 /D "REGEDIT /S %systemdrive%\install\regtweaks.reg" /f

and you need this at the top of the reg file Windows Registry Editor Version 5.00

leave a blank line after the first line

and you need a carriage return after the last line "FirewallDisableNotify"=dword:00000001

Windows Registry Editor Version 5.00

;Disables Windows Tour bubble popup
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Applets\Tour]
"RunCount"=dword:00000000

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