Jump to content

Registry Tweaks Pt 3


Recommended Posts


Hi Doc Symbiosis, (and anybody else who would like to give me a hand)  :hello:

This is my setup;

In my cmdlines.txt


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 "Installing Applications By Express" /f

REG ADD %KEY%\005 /VE /D "Adobe Reader 7.0.3" /f
REG ADD %KEY%\005 /V 1 /D "%CDROM%\Software\Adobe\AR703a.exe" /f

REG ADD %KEY%\015 /VE /D "Microsoft Office 2003" /f
REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\Application\Office2003\setuppro.exe TRANSFORMS=Unattended.MST /qb-" /f

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

REG ADD %KEY%\085 /VE /D "Cleaning Up & Restart" /f
REG ADD %KEY%\085 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f

EXIT

These are the last set of tweaks in tweaks.reg.


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"LogonType"=dword:00000000
"LegalNoticeCaption"="*** PLEASE NOTE  ***"
"LegalNoticeText"="ONLY AUTHORIZED INDIVIDUALS ARE PERMITTED ACCESS TO THIS PROPRIETARY SYSTEM. ACCESS IS ALLOWED ONLY VIA YOUR OWN ASSIGNED USER ID AND IDS ARE NEVER TO BE SHARED, OR WRITTEN AND LEFT WHERE OTHERS COULD FIND THEM. ALL DATA AND RESOURCES ON THIS NETWORK ARE TO BE CONSIDERED FIRM PROPERTY AND NEVER TO BE COPIED OR REMOVED FROM THIS SYSTEM EXCEPT FOR VALID BUSINESS PURPOSES."
"DontDisplayLastUserName"="1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center]
"FirstRunDisabled"=dword:00000001
"AntiVirusDisableNotify"=dword:00000001
"FirewallDisableNotify"=dword:00000001
"UpdatesDisableNotify"=dword:00000001
"AntiVirusOverride"=dword:00000001
"FirewallOverride"=dword:00000001
"UpdatesDisableNotify"=dword:00000001

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

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

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU]
"NoAutoUpdate"=dword:00000000
"AUOptions"=dword:00000004
"ScheduledInstallDay"=dword:00000000
"ScheduledInstallTime"=dword:00000009
"NoAutoRebootWithLoggedOnUsers"=dword:00000001
"AutoInstallMinorUpdates"=dword:00000001
"RescheduleWaitTime"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore]
"DisableSR"=dword:00000001

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

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application]
"Retention"=dword:00000000
"MaxSize"=dword:05177344

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Security]
"Retention"=dword:00000000
"MaxSize"=dword:05177344

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\System]
"Retention"=dword:00000000
"MaxSize"=dword:05177344

You have to make sure, that the HKCU Tweaks also are contained in the Default Users profile ( HKU\.Default ), otherwise, only the HKLM Tweaks are taken for all users, who log on the PC.

How do i do that?

Thanks,

Express :}

The way you have it set up, tweaks.reg is being imported at T-12 (from commandlines.txt) and tweak.reg is not being imported until after the first user logs in.

As such, and HKCU tweaks being applied from tweak.reg will apply only to the current user, rather than to all users. To have these tweaks affect all users, either move them to your tweaks.reg file to be imported from T-12 or create duplicate entries in the tweak file, replacing HKEY_CURRENT_USER\ with HKEY_USERS\.Default\. The former is by far the more practical solution, in my opinion.

There seems to be a common mis-conception that the RunOnceEx.cmd file installs programs. It does not. What it does is create a set of registry entries that make up a list of things Windows should do at next (first) log on. Since a cmd file is just a set of command-line instructions to be run in sequence, any script can perform any function, but for clarity's sake, RunOnceEx.cmd has always been shown to contain only the commands necessary to create the registry entires for tasks to be performed at first logon.

I'll not go any deeper into this here, as I believe it is amply covered elsewhere in the forums and in the MSFN uA CD Guide.

Hope this helps.

Link to comment
Share on other sites

Cartoonite, Thanks for that nice explanation and I will do that today. :thumbup I'll let you guys know how it went.

Thanks again,

** This MSFN Forum has far been the friendliest and one of the most knowledgeable places to go for answers and to gain a bit more smarts... Thanks to you all. **

Link to comment
Share on other sites

does anyone know if the attached tweaks work on other versions (languages) of XP?

THX and sorry for my bad English :P

I don't know for sure, but expect most of them will work, although some may require modifications to reflect different spellings for different languages.

To check, just fire up your registry editor and compare the keys you have to those presented here.

And no need to appologize for your poor english when your one sentence was perfect. :P

Link to comment
Share on other sites

Alright i want to uncheck this option

"automatically search for network folders and printers"

In the registry tweak file i found this

;----- don't auto search for LAN folders/printers

"NoNetCrawling"=dword:00000001

"FolderContentsInfoTip"=dword:00000001

"FriendlyTree"=dword:00000000

the NoNetCrawling key unchecks or checks this option. What are the other keys for?

also this key is listed under here in the registry file...

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]

I acctually found it here...

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

im a little confused...

Link to comment
Share on other sites

I don't know for sure, but expect most of them will work, although some may require modifications to reflect different spellings for different languages.

To check, just fire up your registry editor and compare the keys you have to those presented here.

And no need to appologize for your poor english when your one sentence was perfect. :P

Thanks for your reply. I tried some of these tweaks yesterday and I had one only matter with this:

;-----  Set custom logon box
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"GinaDll"="custom msgina.dll file"

I had had to reboot in Safe Mode and to manually delete "GinaDll" DWORD... :P

I believe that my experience will be useful for other international members of this forum. :thumbup

Edited by riva.dani
Link to comment
Share on other sites

@maxXPsoft Where are these other locations. Do you import all 7 keys? Becuase like i said just useing this unckecks the option under the view tab.

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

NoNetCrawling"=dword:00000001

Link to comment
Share on other sites

I just tested the tweak to prevent the open file - security warning and had no luck.

Although i noticed that this reg key did not import for some reason. so that could be the reason for the falure. Let me know what you think

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Associations]

"LowRiskFileTypes"=".zip;.rar;.nfo;.txt;.exe;.bat;.com;.cmd;.reg;.msi;.htm;.html;.gif;.

bmp;.jpg;.avi;.mpg;.mpeg;.mov;.mp3;.m3u;.wav;"

Not sure if this would work or not, but you could try adding My Computer as a zone in "IE" and changing settings for it. I didn't try it so it might not work for getting the security warning to go away, but I think I had tried the tweak a while back and it worked for adding MyComp. to zones.

[source]

; Add My Computer to Zones (Current User Only)
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\0]
"Flags"=1

; Add My Computer to Zones (All Accounts)
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\0]
"Flags"=1

Edited by spiritpyre
Link to comment
Share on other sites

  • 2 weeks later...

I've been searching for this:

"Add Network Connections to Right-click My Computer"

Unfortunately, I only found the regtweak to add this to My computer:

EDIT:

I did some research, now I have a very nice "My Computer right-click Menu"!

Check the code below for:

- how to sort the items in your right-click menu (basic)

- give your own titles to your items (making it more clear for your mother to understand :) )

- add custom items like "defrag pc" !

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell]
@="none"

;-------------------------------------------
;add System Control to right-click My Computer
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\aManage]
@=hex(2):53,00,79,00,73,00,74,00,65,00,65,00,6d,00,62,00,65,00,68,00,65,00,65,\
 00,72,00,00,00
"SuppressionPolicy"=dword:4000003c

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\aManage\command]
@=hex(2):25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,73,00,79,00,73,\
 00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,6d,00,63,00,2e,00,65,00,78,00,\
 65,00,20,00,2f,00,73,00,20,00,25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,\
 00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,63,00,6f,00,\
 6d,00,70,00,6d,00,67,00,6d,00,74,00,2e,00,6d,00,73,00,63,00,00,00

;-------------------------------------------
;add Control Panel to right-click My Computer
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Control Panel]
@="Configuratiescherm"

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Control Panel\command]
@="rundll32.exe shell32.dll,Control_RunDLL"

;-------------------------------------------
;add HardwareList to right-click My Computer
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\DevMgr]
@="Hardware-overzicht"

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\DevMgr\command]
@="mmc.exe %%SYSTEMDRIVE%%\\WINDOWS\\SYSTEM32\\devmgmt.msc"

;-------------------------------------------
;add Find... to right-click My Computer
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\find]
@=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
 00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,53,00,\
 48,00,45,00,4c,00,4c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,38,\
 00,35,00,30,00,33,00,00,00
"SuppressionPolicy"=dword:00000080

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\find\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
 00,5c,00,45,00,78,00,70,00,6c,00,6f,00,72,00,65,00,72,00,2e,00,65,00,78,00,\
 65,00,00,00

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\find\ddeexec]
@="[FindFolder(\"%l\", %I)]"

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\find\ddeexec\application]
@="Folders"

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\find\ddeexec\topic]
@="AppProperties"

;-------------------------------------------
;add Network Connections to right-click My Computer
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Netwerkverbindingen]
@=""

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Netwerkverbindingen\command]
@="control ncpa.cpl"
"AppID"="{7007ACC7-3202-11D1-AAD2-00805FC1270E}"

;-------------------------------------------
;add Remove Software to right-click My Computer
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Programma's verwijderen...]

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Programma's verwijderen...\command]
@="control appwiz.cpl"

;-------------------------------------------
;add (alternative) systemcleanup to right-click My Computer
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\taskComputercleanup]
@="Computer opschonen..."

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\taskComputercleanup\command]
@="C:\\CCleaner\\ccleaner.exe"

;-------------------------------------------
;add Defrag to right-click My Computer
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\taskDefrag]
@="Defragmenteren..."

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\taskDefrag\command]
@="C:\\Program Files\\Raxco\\PerfectDisk\\PerfectDisk.exe"

If you copy paste this to a text file first, you will see there are some strange names, for example the second item, Control Panel, I have called Configuratiescherm.

This is the Dutch word.

But this also shows you can replace the Dutch word with anything you want! It won't effect the function.

Also, you might notice the ";add (alternative) systemcleanup to right-click My Computer " and "add Defrag..."

You can put the path to your own favorite Cleaner (mine is CrapCleaner) and Defragger.

The last thing wich might be interesting, is sorting!

Again the 2 final items, systemcleanup and Defrag:

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\taskDefrag]

@="Defragmenteren..."

I've put the word 'task' in front of Defrag... I could also have put 'zzzzz' instead of 'taskdefrag'.

Reason: I want Defrag to show last in my menu. It sorts the TASKS alphabetically, NOT the names you give that appear in the menu!

it is also the reason why I called the first task aManage instead of just Manage (that's btw the SystemControl item, I don't know how it is actually called in the English version, but it is the part of Windows where Services and stuff like that can be found).

good luck.

perhaps at least Network Connections could be added to the tweakfile, Defrag and systemcleanup are also very handy.

EDIT again:

Just to make it clear:

adding your own program, with a unique title and unique position to Right click of My PC:

for example:

;-------------------------------------------

;add ...........see Defrag above for a good example to right-click My Computer

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\ give a number for the position and the taskname]

@=" give a title wich appears in the menu"

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\give a number for the position and the taskname (identical to above)\command]

@="give full path of the location of the program you want to run"

Good luck with this!

BTW, I am still looking for:

- a WORKING regtweak to add "My network places" to My Computer.

- regtweak to remove "Map Network Drive" and "Disconnect Network Drive" from My computers rightclick menu

Edited by ZileXa
Link to comment
Share on other sites

Does anyone know the regtweak to get rid of or disable the Fade option in the Start menu for XP?

On another topic, how if possible can I get to bypass the enter intial and name when Office word or excel starts for the first time? I have a ua DVD which works great but just a few things I want to sharpen up. Any help will do. FYI, on the initial log in it does not propmt me but when a new user logs in then it does. How can i avoid this????

Thanks Again for any help you can give me...

Link to comment
Share on other sites

Hey ZileXa,

Think I got you beat. :P

screeny7wy.png

As per your questions.

;Removes Map Network Drive and Disconnect Network Drive From Tools Menu and My Network Places Right Click
;This also removes the Add Network Place Icon from an open My Network Place window and the Network Setup Icon
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoNetConnectDisconnect"=dword:00000001

Take Care,

Will

Edited by war59312
Link to comment
Share on other sites

I fail to understand, why is the whole regcode writen in such a nonsense way.

Wouldn't it be more elegant and systemic, if it would look like this?

a ) 1 row between entries

b ) no disturbing ";----" letters near regcode

c ) only one ";" right before description,

d ) no space between items of the same hive...?

e ) No hard enters in description..so that it would be a real contigious text

:blink:

;Determines whether the Welcome to Windows splash screen, Welcome.exe, appears the next time the user logs on.

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\tips]
"Show"=dword:00000000

;Allows boot files to be placed optimally on the hard-drive for faster boots.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction]
"Enable"="Y"
 
;Speed up shutdown
 
[HKEY_CURRENT_USER\Control Panel\Desktop]
"AutoEndTasks"="1"
"HungAppTimeout"="100"
"WaitToKillAppTimeout"="1000"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control]
"WaitToKillServiceTimeout"="1000"

;Disable Automatic Restart in the event of a BSOD

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl]
"AutoReboot"=dword:00000000

Edited by Yonderboy
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...