Jump to content

regisry tweak don´t work


Recommended Posts

Im trying to create a unattended xp pro.

But somehow my reg.reg won't work.

In my $OEM$ I have

cmdlines.txt

[COMMANDS]
"RunOnceEx.cmd"

RunOnceEx.cmd

cmdow @ /HID
@echo off

FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\CD.txt SET CDROM=%%i:

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

REG ADD %KEY% /V TITLE /D "Installerer programmer" /f

REG ADD %KEY%01 /VE /D "Office 2003" /f
REG ADD %KEY%01 /V 1 /D "%CDROM%\Software\OfficeXP\setup.exe TRANSFORMS=Unattended.MST /qb-TRANSFORMS=Unattended.MST /qb-" /f

REG ADD %KEY%02 /VE /D "IrfanView 4.00" /f
REG ADD %KEY%02 /V 1 /D "%CDROM%\Software\IrfanView\IrfanView400Setup.exe" /f

REG ADD %KEY%03 /VE /D "Deep Burner 1.8.0.224" /f
REG ADD %KEY%03 /V 1 /D "%CDROM%\Software\DeepBurner\DeepBurner180224.exe" /f

REG ADD %KEY%04 /VE /D "WGAFIX" /f
REG ADD %KEY%04 /V 1 /D "%CDROM%\Software\WgaFix\WGAFIX.exe" /f

REG ADD %KEY%05 /VE /D "Importerer registerings tweaks" /f
REG ADD %KEY%05 /V 1 /D "REGEDIT /S %CDROM%\Reg\reg.reg" /f

REG ADD %KEY%06 /VE /D "Rydder op og genstarter" /f
REG ADD %KEY%06 /V 1 /D "%CDROM%\Software\cleanup.cmd" /f

EXIT

In my folder called software (which is the interesseting one,I guess) there is a folder call Reg

In that, my reg files which containes

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\Desktop]
"HungAppTimeout"="3000"
[HKEY_USERS\.DEFAULT\Control Panel\Desktop]
"HungAppTimeout"="3000"

;Benefit: Lowers the time the system waits for user processes to end after the user clicks the End
;Task Command button in Task Manager from 5000 to 3000 (milliseconds)
[HKEY_CURRENT_USER\Control Panel\Desktop]
"WaitToKillAppTimeout"="3000"
[HKEY_USERS\.DEFAULT\Control Panel\Desktop]
"WaitToKillAppTimeout"="3000"

;Benefit: Lowers the time the system waits for user processes to end when the user logs off or shuts
;down from 20000 to 3000 (milliseconds)

[HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}]
@="User Accounts 2"
"InfoTip"="Starts The Windows 2000 style User Accounts dialog"

[HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\DefaultIcon]
@="%SystemRoot%\\\\System32\\\\nusrmgr.cpl,1"

[HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\Shell]

[HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\Shell\Open]

[HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\Shell\Open\command]
@="Control Userpasswords2"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{98641F47-8C25-4936-BEE4-C2CE1298969D}]
@="Add Userpasswords2 to Control Panel"

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"ForceClassicControlPanel"=dword:00000001

;Benefit: Decreases the delay of showing menus from 400 to 20 (milliseconds)
[HKEY_CURRENT_USER\Control Panel\Desktop]
"MenuShowDelay"="20"
[HKEY_USERS\.DEFAULT\Control Panel\Desktop]
"MenuShowDelay"="20"

; disable desktop cleanup wizard
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\CleanUpWiz]
"NoRun"=dword:00000001

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3]
"1601"=dword:00000000

;Benefit: Convenience
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoComplete]
"AutoSuggest"="no"
"Append Completion"="no"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\cisvc]
"Start"=dword:00000004

;Benefit: Disables Indexing Service which when enabled can speed up local searching, but slow down
;other aspects

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Messenger]
"Start"=dword:00000004

;Benefit: Disables Messenger Service which can be used to deploy unsolicited advertising popups
;NOTE: This is NOT MSN Instant Messenger

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoRecentDocsNetHood"=dword:00000001

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoRecentDocsNetHood"=dword:00000001

;Disable Help and Support
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\helpsvc]
"Start"=dword:00000004

;Disable Automatic Updates
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv]
"Start"=dword:00000004

;Disable System Restore Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\srservice]
"Start"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]
"AllowTSConnections"=dword:00000000
"fAllowToGetHelp"=dword:00000000
"fDenyTSConnections"=dword:00000001

;Benefit: Disable Remote Assistance

;Disable Remote Registry Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RemoteRegistry]
"Start"=dword:00000004

; Disable security center pop-ups
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center]
"AntiVirusDisableNotify"=dword:00000001
"FirewallDisableNotify"=dword:00000001
"UpdatesDisableNotify"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\srservice]
"Start"=dword:00000004

; disable windows firewall notifications
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center]
"FirstRunDisabled"=dword:00000001
"AntiVirusDisableNotify"=dword:00000001
"FirewallDisableNotify"=dword:00000001
"UpdatesDisableNotify"=dword:00000001

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

;Adds Control Panel to right click of MY Computer
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Control Panel\command]
@="rundll32.exe shell32.dll,Control_RunDLL"

;Remove Shortcut Arrows
[HKEY_CLASSES_ROOT\lnkfile]
"IsShortcut"=-

; Remove "My Recent Documents" from the Start menu
[HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Policies/Explorer]
"NoRecentDocsMenu"=dword:00000001

;NoLowDiskSpaceChecks won't check if you are low on diskspace and pop up a balloon telling you.
;NoInstrumentation disables windows user tracking.
;NoSMHelp removes help from the startmenu.
;NoRecentDocsmenu removes the recent documents from the start menu.
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoRecentDocsMenu"=dword:00000001
"NoLowDiskSpaceChecks"=dword:00000001
"NoInstrumentation"=dword:00000001
"NoSMHelp"=dword:00000001

;Benefit: Removes the Language Bar and allows the client to preserve a configured desktop layout
[-HKEY_CLASSES_ROOT\CLSID\{540D8A8B-1C3F-4E32-8132-530F6A502090}]
@="Language bar"
"MenuTextPUI"="@%SystemRoot%\\System32\\msutb.dll,-325"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoSaveSettings"=dword:00000000

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\DelegateFolders\{59031a47-3f72-44a7-89c5-5595fe6b30ee}]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects2]
"Settings"=hex:28,00,00,00,ff,ff,ff,ff,06,00,00,00,03,00,00,00,3c,00,00,00,1e,\
00,00,00,fe,ff,ff,ff,e4,02,00,00,02,04,00,00,02,03,00,00

[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{87D62D94-71B3-4b9a-9489-5FE6850DC73E}\InProcServer32]

;Benefit: Speeds up the access of AVI folders as well as makes the renaming and deletion of AVIs easier
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\Content]
"CacheLimit"=dword:0000c800
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Content]
"CacheLimit"=dword:0000c800
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths\path1]
"CacheLimit"=dword:00003200
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths\path2]
"CacheLimit"=dword:00003200
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths\path3]
"CacheLimit"=dword:00003200
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths\path4]
"CacheLimit"=dword:00003200
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Url History]
"DaysToKeep"=dword:00000007
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"SyncMode5"=dword:00000004

;Benefit: The eight tweaks above modify TIF and History values
; - TIF folder = 50MB (51.2MB)
; - TIF Settings (Check for newer version of stored pages:) = Automatic
; - History (Days to keep pages in history:) = 7

Can anyone spot the error...after installing the programs the reg entries doesn't seem to be added, nor does it restart(but thats another case :-))

Link to comment
Share on other sites


O.K., I have noticed that some registry tweaks (I didn't notice if any of the ones I personally know about are in there or not) will not hold until after the OS is totally setup, because the OS install over-writes them, and you have the same situation with some applications you may install after OS setup (usually that would be tweaks having to do with that application, like registration info, start THAT application in the system try, exc.) so I personally have 3 registry hack files - the first I just call Tweak.reg, and it is imported into the registry during the OS setup process (at about T-13 Minutes), the second called Post-Tweak.reg - that gets imported to the registry at first login to the OS, and contains stuff the the OS setup process will over-write (Auto Windows Updates settings, and that type of thing usually), and the last one I call Final-tweak.reg - that is THE last this thing done before my final restart in the processes done after OS setup (I have it restarting a total of 3 times, on the last restart- EVERYTHING is installed, just making sure all changes are applied basically) - it has all the settings to 3rd party applications installed after OS setup.

Link to comment
Share on other sites

Would you know if these are affected by OS:

;Show protected operating system files

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder

\SuperHidden]

"DefaultValue"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]

"ShowSuperHidden"=dword:00000001

;Show Hidden Files and Folders

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]

"Hidden"=dword:00000000

; show file extensions in explorer

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]

"HideFileExt"=dword:00000000

I have been trying to get the above to work in my reg file but they don't seem to stick. I ran the above as just a reg file on the desktop and only the show protected system files was affected. I want to be able to see all files when the system boots. Am I doing something wrong with the above entries or can it only be done after OS setup?

O.K., I have noticed that some registry tweaks (I didn't notice if any of the ones I personally know about are in there or not) will not hold until after the OS is totally setup, because the OS install over-writes them, and you have the same situation with some applications you may install after OS setup (usually that would be tweaks having to do with that application, like registration info, start THAT application in the system try, exc.) so I personally have 3 registry hack files - the first I just call Tweak.reg, and it is imported into the registry during the OS setup process (at about T-13 Minutes), the second called Post-Tweak.reg - that gets imported to the registry at first login to the OS, and contains stuff the the OS setup process will over-write (Auto Windows Updates settings, and that type of thing usually), and the last one I call Final-tweak.reg - that is THE last this thing done before my final restart in the processes done after OS setup (I have it restarting a total of 3 times, on the last restart- EVERYTHING is installed, just making sure all changes are applied basically) - it has all the settings to 3rd party applications installed after OS setup.
Link to comment
Share on other sites

Those are fine to set during the OS setup (in fact preferable since the will be applied to every user without making a big production out of it.

I have the same settings in the Tweak file I import while OS is being setup - some set to different values - but that's not important. The fact is YES that should hold when done while OS setup is in progress - that's when I make those settings, and they work fine for me...

Would you know if these are affected by OS:

;Show protected operating system files

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder

\SuperHidden]

"DefaultValue"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]

"ShowSuperHidden"=dword:00000001

;Show Hidden Files and Folders

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]

"Hidden"=dword:00000000

; show file extensions in explorer

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]

"HideFileExt"=dword:00000000

I have been trying to get the above to work in my reg file but they don't seem to stick. I ran the above as just a reg file on the desktop and only the show protected system files was affected. I want to be able to see all files when the system boots. Am I doing something wrong with the above entries or can it only be done after OS setup?

O.K., I have noticed that some registry tweaks (I didn't notice if any of the ones I personally know about are in there or not) will not hold until after the OS is totally setup, because the OS install over-writes them, and you have the same situation with some applications you may install after OS setup (usually that would be tweaks having to do with that application, like registration info, start THAT application in the system try, exc.) so I personally have 3 registry hack files - the first I just call Tweak.reg, and it is imported into the registry during the OS setup process (at about T-13 Minutes), the second called Post-Tweak.reg - that gets imported to the registry at first login to the OS, and contains stuff the the OS setup process will over-write (Auto Windows Updates settings, and that type of thing usually), and the last one I call Final-tweak.reg - that is THE last this thing done before my final restart in the processes done after OS setup (I have it restarting a total of 3 times, on the last restart- EVERYTHING is installed, just making sure all changes are applied basically) - it has all the settings to 3rd party applications installed after OS setup.

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