Jump to content

Help with registry problem


Recommended Posts

When I run this installation using vmware my General.reg will not import into the registry.

CMDLINES.TXT

[COMMANDS]
"Registry.cmd"

Registry.cmd

@ECHO off
title Adding Registry Keys

ECHO.
ECHO Unattended Installation Registry Addon
ECHO ----------------------------------------------

ECHO.
ECHO Adding Appearance Tweaks
start /wait REGEDT32.EXE /S %systemdrive%\Install\Reg\Tweaks\Appearance.reg
ECHO Complete!

ECHO.
ECHO Adding Internet Security Zone Blocklist Tweaks
start /wait REGEDT32.EXE /S %systemdrive%\Install\Reg\Tweaks\Blocklists.reg
ECHO Complete!

ECHO.
ECHO Adding Context-Menus Tweaks
start /wait REGEDT32.EXE /S %systemdrive%\Install\Reg\Tweaks\Context-Menus.reg
ECHO Complete!

ECHO.
ECHO Adding Dekstop Tweaks
start /wait REGEDT32.EXE /S %systemdrive%\Install\Reg\Tweaks\Desktop.reg
ECHO Complete!

ECHO.
ECHO Adding General System Tweaks
start /wait REGEDT32.EXE /S %systemdrive%\Install\Reg\Tweaks\General.reg
ECHO Complete!

ECHO.
ECHO Adding Logon Tweaks
start /wait REGEDT32.EXE /S %systemdrive%\Install\Reg\Tweaks\Logon.reg
ECHO Complete!
ECHO.

ECHO.
ECHO Adding My Computer Tweaks
start /wait REGEDT32.EXE /S %systemdrive%\Install\Reg\Tweaks\My-Computer.reg
ECHO Complete!

ECHO.
ECHO Adding Network Tweaks
start /wait REGEDT32.EXE /S %systemdrive%\Install\Reg\Tweaks\Network.reg
ECHO Complete!

ECHO.
ECHO Adding Outlook Express Tweaks
start /wait REGEDT32.EXE /S %systemdrive%\Install\Reg\Tweaks\Outlook-Express.reg
ECHO Complete!

ECHO.
ECHO Adding Performance Tweaks
start /wait REGEDT32.EXE /S %systemdrive%\Install\Reg\Tweaks\Performance.reg
ECHO Complete!

ECHO.
ECHO Adding Internet Software Tweaks
start /wait REGEDT32.EXE /S %systemdrive%\Install\Reg\Tweaks\Software-Internet.reg
ECHO Complete!

ECHO.
ECHO Adding Software Other Tweaks
start /wait REGEDT32.EXE /S %systemdrive%\Install\Reg\Tweaks\Software-Other.reg
ECHO Complete!

ECHO.
ECHO Adding Startmenu And Taskbar Tweaks
start /wait REGEDT32.EXE /S %systemdrive%\Install\Reg\Tweaks\Startmenu-TaskBar.reg
ECHO Complete!

ECHO.
ECHO Adding Startup and Shutdown Tweaks
start /wait REGEDT32.EXE /S %systemdrive%\Install\Reg\Tweaks\Startup-Shutdown.reg
ECHO Complete!

ECHO.
ECHO Adding XP SP2 Tweaks
start /wait REGEDT32.EXE /S %systemdrive%\Install\Reg\Tweaks\Xp-Sp2.reg
ECHO Complete!

exit

General.reg

Windows Registry Editor Version 5.00

;============================================================================
;======================= GENERAL WINDOWS TWEAKS ===========================
;============================================================================

; Disable ALL Balloon Tips
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoSMBalloonTip"=dword:00000000

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

; Show Detailed Information in Device Manager
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment]
"DEVMGR_SHOW_DETAILS"=dword:00000001
"DEVMGR_SHOW_NONPRESENT_DEVICES"="1"

; Set Keyboard Num-Lock to be ON by Default
[HKEY_CURRENT_USER\Control Panel\Keyboard]
"InitialKeyboardIndicators"="2"

; Remove Windows Alexa Spyware
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Extensions\{c95fe080-8f5d-11d2-a20b-00aa003c157a}]

; Remove Search Dog Assistant
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState]
"Use Search Asst"="no"

; Disable StickyKeys
[HKEY_CURRENT_USER\Control Panel\Accessibility\StickyKeys]
"Flags"="506"

; Set Power Scheme
[HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolicies\3]

; Disable Windows File Protection
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"SFCDisable"=dword:FFFFFF9D

; Increase the USB Polling Interval
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Usb\0000]
"IdleEnable"=dword:00000001

; Disable Built-In CD Burning
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoCDBurning"=dword:00000001

;Disable Error Reporting Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ERSvc]
"Start"=dword:00000004

Does any1 know why all my other registry tweaks are been applied at T-9 but this one registry tweak wont apply ? Thankyou in advanced. Any clues would be apreciated, its probably something I've missed.

Edited by zen62619
Link to comment
Share on other sites


Try removing General.reg from the top of your general.reg file

The top lines is to represent what the file is called, sorry my bad. I have found a few mistakes with UARegistryTweakageDOTNET0.4.1 but I will report them later. I found that

; Set Power Scheme
[HKEY_CURRENT_USER\Control Panel\PowerCfg\CurrentPowerPolicy\3]

Should be

; Set Power Scheme
[HKEY_CURRENT_USER\Control Panel\PowerCfg]
"CurrentPowerPolicy"="3"

The power setting is been applied now. Still dont understand why its not applying the rest.

Link to comment
Share on other sites

Why not use just Regedit instead of start /wait REGEDT32.EXE?

Add some delay in the end and maybe somewhere in the middle just to be sure. There are a few ways to do this, for example by using ping or sleep.

Why do you use that many files?

I myself use one large file (6000+ lines) and a few small files for some extra apps.

Link to comment
Share on other sites

Why not use just Regedit instead of start /wait REGEDT32.EXE?

Add some delay in the end and maybe somewhere in the middle just to be sure. There are a few ways to do this, for example by using ping or sleep.

Why do you use that many files?

I myself use one large file (6000+ lines) and a few small files for some extra apps.

The reason why I use as many Reg files is because I personally find it better to find a registry key if I no what area it is, example Appearence has my appearence registry keys in, I personally don't find it practical to have 6000+ registry keys in one file. Thankyou for the help though.

I can see that when the batch file runs it does acctually launch the registry key but doesn't import them. There has been a few errors found but correctly but I am still gettin errors. Can HKEY_CURRENT_USER\ be imported at the T-9 stage ? ... Thankyou in advanced

Edited by zen62619
Link to comment
Share on other sites

There are positive and negative sides with both ways (few large files vs. many small files).

I find it easier to have a few large files, maybe because I've worked with my main file every now and then for approximately three years and therefore know it very well. It also results in a lot less files to update/add.

Don't you mean at T-12, not at T-9?!

Many .reg-settings can be imported at T-12, but not all. The settings imported at that stage will affect all users since they are applied to the default user profile.

Read the regtweaks section in the MSFN Unattended Guide.

Link to comment
Share on other sites

There are positive and negative sides with both ways (few large files vs. many small files).

I find it easier to have a few large files, maybe because I've worked with my main file every now and then for approximately three years and therefore know it very well. It also results in a lot less files to update/add.

Don't you mean at T-12, not at T-9?!

Many .reg-settings can be imported at T-12, but not all. The settings imported at that stage will affect all users since they are applied to the default user profile.

Read the regtweaks section in the MSFN Unattended Guide.

Ok, so from that conclusion when would i apply HKEY_CURRENT_USER registry keys, yes I ment T-12 sorry. Thanks

Link to comment
Share on other sites

DL that guide was it wrote by you ? Just got home from work and I must say whoever wrote it (Submitted by Vadikan), excellent explination. From the guide for the Registry The keys now have worked. Thanks

Link to comment
Share on other sites

This problem has been solved, while reading the guide as DL mentioned. Also I have intergrated my registry keys like HKLM / HKCU / HKCR into one batch file for each, so I now only have 3 batch files that run the specific keys at specific times. Doing it this way did reduce the amount of files I had to edit, which saves time alittle. Well done all.

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