Jump to content

Why Aren't My Reg Tweaks Working?


Recommended Posts

Hey folks, I just discovered this site about a week ago and I have been working on creating an unattended XP-SP2 cd and I keep running into problems with my regtweaks.reg file. I've read much of the 84-page "registry tweaks" threadm done searches, and followed the instructions provided on unattended.msfn.org. But I cannot make about half of my registry tweaks take. I have tried applying the .reg file through the runonce and cmdlines.txt but to no avail. Here is my code:

cmdlines.txt:

[COMMANDS]
"useraccounts.cmd"
"REGEDIT /S RegTweaks.reg"

the lines of RegTweks.reg that won't take:

;-----------------------------------------Desktop Appearance Tweaks--------------------------------------

;Sets Custom Wallpaper
[HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Desktop\General]
"BackupWallpaper"="c:\\windows\\web\\wallpaper\\StephandOwenBackground2.JPG"
"Wallpaper"="c:\\windows\\web\\wallpaper\\StephandOwenBackground2.JPG"

;Sets desktop background to black
[HKEY_USERS\S-1-5-21-1004336348-436374069-839522115-1003\Control Panel\Appearance]
"CustomColors"=hex:00 00 00 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00 FF FF FF 00
[HKEY_USERS\S-1-5-21-1004336348-436374069-839522115-1003\Control Panel\Colors]
"Background"=hex:0 0 0
[HKEY_USERS\S-1-5-21-1004336348-436374069-839522115-1003\Software\Microsoft\Internet Explorer\Desktop\General]
"WallpaperFileTime"=hex:8E AC CF 39 7F 85 C4 01
[HKEY_USERS\S-1-5-21-1004336348-436374069-839522115-1003\Software\Microsoft\Internet Explorer\Desktop\General]
"WallpaperLocalFileTime"=hex:8E 0C BE B2 5D 85 C4 01
[HKEY_USERS\S-1-5-21-1004336348-436374069-839522115-1003\Software\Microsoft\Internet Explorer\Desktop\General]
"WallpaperStyle"="0"

;Maps "My Documents" to "D:\My Documents"
[HKEY_USERS\S-1-5-21-1004336348-436374069-839522115-1003\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"Personal"="D:\My Documents"
[HKEY_USERS\S-1-5-21-1004336348-436374069-839522115-1003\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
"Personal"="D:\My Documents"

;Maps "Favorites" to "D:\Favorites"
[HKEY_USERS\S-1-5-21-1004336348-436374069-839522115-1003\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"Favorites"="D:\Favorites"
[HKEY_USERS\S-1-5-21-1004336348-436374069-839522115-1003\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]

;-----------------------------------------UI Tweaks--------------------------------------

;Disable links folder in explorer favorites so it never appears again.
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar]
"LinksFolderName"=""
"Locked"=dword:00000001

;Classic search, full path in title bar and address bar.
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState]
"FullPath"=dword:00000001
"FullPathAddress"=dword:00000001
"Use Search Asst"="no"
"Settings"=hex:0c,00,02,00,1b,01,e7,77,60,00,00,00

;Changes many folder view settings
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"Hidden"=dword:00000001
"ShowCompColor"=dword:00000001
"HideFileExt"=dword:00000000
"DontPrettyPath"=dword:00000000
"ShowInfoTip"=dword:00000001
"HideIcons"=dword:00000000
"MapNetDrvBtn"=dword:00000000
"WebView"=dword:00000000
"Filter"=dword:00000000
"SuperHidden"=dword:00000001
"SeparateProcess"=dword:00000000
"ListviewAlphaSelect"=dword:00000001
"ListviewShadow"=dword:00000001
"ListviewWatermark"=dword:00000001
"TaskbarAnimations"=dword:00000001
"StartMenuInit"=dword:00000002
"StartButtonBalloonTip"=dword:00000002
"Start_ShowNetPlaces"=dword:00000001
"Start_LargeMFUIcons"=dword:00000000
"Start_MinMFU"=dword:0000000c
"Start_ShowControlPanel"=dword:00000001
"Start_EnableDragDrop"=dword:00000001
"StartMenuFavorites"=dword:00000000
"Start_ShowHelp"=dword:00000000
"Start_ShowMyComputer"=dword:00000000
"Start_ShowMyDocs"=dword:00000000
"Start_ShowMyMusic"=dword:00000000
"Start_ShowMyPics"=dword:00000000
"Start_ShowPrinters"=dword:00000000
"Start_ShowRun"=dword:00000001
"Start_ScrollPrograms"=dword:00000000
"Start_ShowSearch"=dword:00000001
"Start_ShowRecentDocs"=dword:00000000
"Start_AutoCascade"=dword:00000001
"Start_NotifyNewApps"=dword:00000000
"Start_AdminToolsRoot"=dword:00000000
"StartMenuChange"=dword:00000001
"StartMenuAdminTools"=dword:00000001
"Start_ShowNetConn"=dword:00000001
"NoNetCrawling"=dword:00000000
"FolderContentsInfoTip"=dword:00000001
"FriendlyTree"=dword:00000001
"WebViewBarricade"=dword:00000001
"DisableThumbnailCache"=dword:00000001
"ShowSuperHidden"=dword:00000001
"ClassicViewState"=dword:00000000
"PersistBrowsers"=dword:00000000

I have other tweaks in that file, but these appear to be the ones that aren't working, notice they are almost all appearance related. Interestingly, I am able to start with quicklaunch bar and start with unlocked taskbar. But I cannot set folder view (like showsuperhidden and no webview) and I cannot set the desktop settings.

What am I doing wrong? I used nLite to slipstream SP2 and slim down windows. I then added these to the $OEM$ folder and also tried adding them to the $1/Install folder to be called by start.cmd. Then I created the ISO with nLite and tested in VMWare.

Could this have something to do with the "subpaths" that GreenMachine was talking about in the huge regtweaks thread? Because I haven't been able to find any more info on those.

Please help a newbie! :}

Link to comment
Share on other sites


I got the same problem using those tweaks...

Windows Registry Editor Version 5.00

;Ajoute les icones Poste de Travail, Favoris Reseau et Mes Documents sur le Bureau

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]"{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000

"{450D8FBA-AD25-11D0-98A8-0800361B1103}"=dword:00000000

"{208D2C60-3AEA-1069-A2D7-08002B30309D}"=dword:00000000

;Afficher les fichiers et dossiers caches

HKEY_USERS.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden: 0x00000001

;Affiche Windows Update dans le menu demarer

HKEY_USERS.Default\Software\Microsoft\Windows\ShellNoRoam\MUICache\@%SystemRoot%\system32\shell32.dll,-22580: "Offre les mises à jour critiques de sécurité les plus récentes, des pilotes de périphériques, et d'autres fonctionnalités disponibles pour votre ordinateur Windows."

HKEY_USERS.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\StartPage\FavoritesResolve: 00 00 00 00 00 00 00 00 BC 02 00 00 4C 00 00 00 01 14 02 00 00 00 00 00 C0 00 00 00 00 00 00 46 83 00 00 00 20 00 00 00 70 6F 28 CD 2A 7C C4 01 D0 D8 72 9E 31 83 C4 01 D0 D8 72 9E 31 83 C4 01 E7 05 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 83 01 14 00 1F 50 E0 4F D0 20 EA 3A 69 10 A2 D8 08 00 2B 30 30 9D 19 00 2F 43 3A 5C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 5C 00 31 00 00 00 00 00 07 31 8F 1D 10 00 44 4F 43 55 4D 45 7E 31 00 00 44 00 03 00 04 00 EF BE 06 31 4C AB 10 31 A4 0C 14 00 00 00 44 00 6F 00 63 00 75 00 6D 00 65 00 6E 00 74 00 73 00 20 00 61 00 6E 00 64 00 20 00 53 00 65 00 74 00 74 00 69 00 6E 00 67 00 73 00 00 00 18 00 42 00 31 00 00 00 00 00 07 31 08 18 10 00 41 4C 4C 55 53 45 7E 31 00 00 2A 00 03 00 04 00 EF BE 06 31 4C AB 10 31 B1 0C 14 00 00 00 41 00 6C 00 6C 00 20 00 55 00 73 00 65 00 72 00 73 00 00 00 18 00 5E 00 31 00 00 00 00 00 07 31 19 1F 11 00 4D 45 4E 55 44 4D 7E 31 00 00 46 00 03 00 04 00 EF BE 06 31 61 AB 10 31 E0 04 14 00 30 00 4D 00 65 00 6E 00 75 00 20 00 44 00 E9 00 6D 00 61 00 72 00 72 00 65 00 72 00 00 00 40 73 68 65 6C 6C 33 32 2E 64 6C 6C 2C 2D 32 31 37 38 36 00 18 00 58 00 32 00 E3 05 00 00 07 31 B1 1D 20 00 57 49 4E 44 4F 57 7E 31 2E 4C 4E 4B 00 00 3C 00 03 00 04 00 EF BE 07 31 28 18 10 31 E2 04 14 00 00 00 57 00 69 00 6E 00 64 00 6F 00 77 00 73 00 20 00 55 00 70 00 64 00 61 00 74 00 65 00 2E 00 6C 00 6E 00 6B 00 00 00 1C 00 00 00 77 00 00 00 1C 00 00 00 01 00 00 00 1C 00 00 00 31 00 00 00 00 00 00 00 76 00 00 00 15 00 00 00 03 00 00 00 F5 2B 3E A0 10 00 00 00 43 4F 52 45 00 43 3A 5C 44 6F 63 75 6D 65 6E 74 73 20 61 6E 64 20 53 65 74 74 69 6E 67 73 5C 41 6C 6C 20 55 73 65 72 73 5C 4D 65 6E 75 20 44 E9 6D 61 72 72 65 72 5C 57 69 6E 64 6F 77 73 20 55 70 64 61 74 65 2E 6C 6E 6B 00 00 10 00 00 00 05 00 00 A0 16 00 00 00 29 01 00 00 60 00 00 00 03 00 00 A0 58 00 00 00 00 00 00 00 70 61 6E 7A 65 72 00 00 00 00 00 00 00 00 00 00 86 35 25 51 CB E3 77 46 8B 59 CD 81 BF EC 2D D7 3C 03 C6 1C DA EE D8 11 92 1D 00 D0 09 E7 C9 A7 86 35 25 51 CB E3 77 46 8B 59 CD 81 BF EC 2D D7 3C 03 C6 1C DA EE D8 11 92 1D 00 D0 09 E7 C9 A7 00 00 00 00

HKEY_USERS.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\StartPage\Favorites: 00 16 00 00 00 14 00 1F 80 F4 A1 59 25 D7 21 D4 11 BD AF 00 C0 4F 60 B9 F0 00 00 00 16 00 00 00 14 00 1F 80 F5 A1 59 25 D7 21 D4 11 BD AF 00 C0 4F 60 B9 F0 00 00 17 C0 00 00 00 BE 00 32 00 82 07 00 00 07 31 1C 17 20 00 4D 53 4E 45 58 50 7E 31 2E 4C 4E 4B 00 00 38 00 03 00 04 00 EF BE 07 31 1C 17 0F 31 51 B6 14 00 00 00 4D 00 53 00 4E 00 20 00 45 00 78 00 70 00 6C 00 6F 00 72 00 65 00 72 00 2E 00 6C 00 6E 00 6B 00 00 00 1C 00 6A 00 00 00 0B 00 EF BE 00 00 00 00 00 00 00 00 43 00 3A 00 5C 00 50 00 72 00 6F 00 67 00 72 00 61 00 6D 00 20 00 46 00 69 00 6C 00 65 00 73 00 5C 00 4D 00 53 00 4E 00 5C 00 4D 00 53 00 4E 00 43 00 6F 00 72 00 65 00 46 00 69 00 6C 00 65 00 73 00 5C 00 6D 00 73 00 6E 00 36 00 2E 00 65 00 78 00 65 00 00 00 00 00 1C 00 00 00 16 5A 00 00 00 58 00 32 00 E7 05 00 00 10 31 B5 0C 20 00 57 49 4E 44 4F 57 7E 31 2E 4C 4E 4B 00 00 3C 00 03 00 04 00 EF BE 07 31 28 18 11 31 CC 02 14 00 00 00 57 00 69 00 6E 00 64 00 6F 00 77 00 73 00 20 00 55 00 70 00 64 00 61 00 74 00 65 00 2E 00 6C 00 6E 00 6B 00 00 00 1C 00 00 00 FF

HKEY_USERS.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\StartPage\FavoritesChanges: 0x00000006

;Right-Click Copy-To

[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers]

[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\Copy To]

@="{C2FBB630-2971-11D1-A18C-00C04FD75D13}"

;Right-Click Move-To

[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\Move To]

@="{C2FBB631-2971-11D1-A18C-00C04FD75D13}"

;This adds the "Open Command Window Here" on the right-click menu for folders

[HKEY_CLASSES_ROOT\Directory\shell\cmd]

@="Open Command Window Here"

Why would it not install itself in the right S-1-... folder in the registry, does HKEY_USER.Default\ works or what? And wha'ts the alphanumerical things between { }, does this have to me set for a variable?

I've been testing this for 2 days and still can't find out why it doesn't work. I used regshot and found the other keys on this site but maybe some are for win2k? Anyway, if any good person can help me, I want to: add windows update to start menu, get the quicklaunch bar on the start bar, add My Computer, Network... and My Documents on the desktop, show hidden folders and finaly add Copy-To, Move-To and Open Command Window Here in r-click contextual menu.

Thanks a lot, after that I'm done with that Unattended XP cd...

Link to comment
Share on other sites

Sysprep is used to wipe out the sid so you can distribute an image to many computers in my case 6500 computers.

As to problems with your reg file, when you specify a path, you need a double \\ to get them to work.

"Personal"="D:\My Documents"

becomes

"Personal"="D:\\My Documents"

R

Link to comment
Share on other sites

There could be some issues with the formating of the data...

What I suggest is while inside windows, set your prefs as you want. Then export the respective key and copy its data to your tweak file, changing the reg paths accordingly.

For example:

;Afficher les fichiers et dossiers caches

HKEY_USERS.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden: 0x00000001

is bad! it should look more like:

;Afficher les fichiers et dossiers caches
[HKEY_USERS.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"Hidden"=dword:00000001

Please check all your syntaxt!!!

Link to comment
Share on other sites

A lot of what you have dosent appear to even be valid (at least I havent seen them before).

here is a snipet of mine

;Change Default Search Options [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"Hidden"=dword:00000002
"HideFileExt"=dword:00000000
"ShowSuperHidden"=dword:00000001
"WebViewBarricade"=dword:00000001

R

Link to comment
Share on other sites

  • 1 year later...

Another issue that I can see are any tweaks that follow this string:

[HKEY_USERS\S-1-5-21-1004336348-436374069-839522115-1003\Control Panel\Appearance]

The long string following [HKEY_USERS] won't be the same each time you reformat and reinstall.

Your best bet is to try to set your tweaks to this path instead:

[HKEY_USERS\.DEFAULT\Control Panel\Appearance]

Edited by tkmadison
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...