Jump to content

Registry Tweaks Pt 3


Recommended Posts

OK just to clearify a few things, about adding Recycle Bin to rightclick My Computer.

The following tweak seems to set Recycle Bin to almost all context menus:

;Add Empty Recycle Bin To My Computer Right Click Context Menu
[HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers\Empty Recycle Bin]
@="{645FF040-5081-101B-9F08-00AA002F954E}"

The next tweak doesn't work, but does add Recycle Bin to rightclick of My Computer only.

;Add Empty Recycle Bin To My Computer Right Click Context Menu
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Test]
@="Test"

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Test\command]
@="{645FF040-5081-101B-9F08-00AA002F954E}"

Reason why it doesn't work:

"Command" should be given a file to execute, instead of a Shellcode... unfortunately we want to execute a Shellcode

I did found a 'dirty' trick to get this to work!

I used this trick to get "Networklocations" in the contextmenu of My Computer:

The trick is: let the "command" key execute a batchfile, that contains the shellcode!

;===========================================
;Add NETWORKLOCATIONS to My Computer Context-menu
;
; This method requires a batchfile
; example for the batchfile:

; cmdow @ /HID
; @echo off
;
; START ::{208D2C60-3AEA-1069-A2D7-08002B30309D}

; end of example, save the above code to a file as gotonetwork.cmd and place it in your system32 folder.
; next: apply the tweak below
;
;Add networklocations to rightclick of My Computer
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell]
@="none"

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

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\View Netwerklocations\command]
@="HIDE.EXE gotonetwork.cmd"

Now if you click Networklocations in the context menu, you will see a black window flashing before networklocations opens. Thats the reason why I don't like this method...

I don't know if the same trick would work for "Empty RecycleBin", because it should be none-clickable if the Bin is empty... So I am not going to try it...

But perhaps someone knows a better way then just a .cmd file!

EDIT:

I use the same trick to get Networklocations working in My Computer

It is really handy if you have a (wireless) network:

;-------------------------------------------------------------------
;Add Networklocations to my computer
;PART 1
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{a7e497a6-29fd-4ca1-9c29-965ec2d57f8c}]
"SearchHelper"="Netwerklocaties"

;PART 2
[HKEY_CLASSES_ROOT\CLSID\{a7e497a6-29fd-4ca1-9c29-965ec2d57f8c}]
@="Netwerklocaties"
"InfoTip"="Toegang tot computers in uw netwerk en FTP (WebDAV) locaties."
"{305ca226-d286-468e-b848-2b2e8e697b74} 2"=dword:ffffffff
"SearchHelper"="Netwerklocaties"

[HKEY_CLASSES_ROOT\CLSID\{a7e497a6-29fd-4ca1-9c29-965ec2d57f8c}\DefaultIcon]
@="C:\\WINDOWS\\System32\\SHELL32.DLL,18"

[HKEY_CLASSES_ROOT\CLSID\{a7e497a6-29fd-4ca1-9c29-965ec2d57f8c}\Shell]

[HKEY_CLASSES_ROOT\CLSID\{a7e497a6-29fd-4ca1-9c29-965ec2d57f8c}\Shell\Open]

[HKEY_CLASSES_ROOT\CLSID\{a7e497a6-29fd-4ca1-9c29-965ec2d57f8c}\Shell\Open\Command]
@="HIDE.EXE gotonetwork.cmd"

[HKEY_CLASSES_ROOT\CLSID\{a7e497a6-29fd-4ca1-9c29-965ec2d57f8c}\ShellFolder]
"Attributes"=dword:00000004
"WantsFORPARSING"=""

;PART 3
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{a7e497a6-29fd-4ca1-9c29-965ec2d57f8c}]
@="Netwerklocaties"
"InfoTip"="Toegang tot computers in uw netwerk en FTP (WebDAV) locaties."
"{305ca226-d286-468e-b848-2b2e8e697b74} 2"=dword:ffffffff
"SearchHelper"="Netwerklocaties"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{a7e497a6-29fd-4ca1-9c29-965ec2d57f8c}\DefaultIcon]
@="C:\\WINDOWS\\System32\\SHELL32.DLL,18"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{a7e497a6-29fd-4ca1-9c29-965ec2d57f8c}\Shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{a7e497a6-29fd-4ca1-9c29-965ec2d57f8c}\Shell\Open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{a7e497a6-29fd-4ca1-9c29-965ec2d57f8c}\Shell\Open\Command]
@="HIDE.EXE gotonetwork.cmd"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{a7e497a6-29fd-4ca1-9c29-965ec2d57f8c}\ShellFolder]
"Attributes"=dword:00000004
"WantsFORPARSING"=""

(didn't translate infotip from Dutch to English)

BTW PART 2 and PART 3 are identical in the tweak above, just in different parts of the registry! Tweak doesn't work if you leave out one of the two, this is an example of what NemoNada said.

But actually the "Add Empty RecycleBin to My Computer contextmenu" tweak isn't that important... adding "Turn Monitor off" and "logoff" and "Shutdown" actions to rightclick of Startmenu is more interesting to me..

however I am also considering not using the taskbar/menu start anymore... a combo of ObjectDock and Objectbar seems nicer... still trying to get objectbar to do what I want...

Edited by ZileXa
Link to comment
Share on other sites


Now if you click Networklocations in the context menu, you will see a black window flashing before networklocations opens. Thats the reason why I don't like this method...

Hey,

Run hide nameofbatch.bat instead. Then no more dos window. :D

Here is hide.exe:

http://www.mytempdir.com/213908

Place in %windir%\system32\ .

Take Care,

Will

Link to comment
Share on other sites

Thanks a lot!!

I was thinking about StartX... but I don't really now how it works.

But this is great! Can use it for other batchfiles as well!

Could you perhaps upload LO.exe, RB.exe SD.exe, MonOff.exe etc one more time? I downloaded them to my desktop... but I've reinstalled my pc for testing...

Link to comment
Share on other sites

Hello Anybody:

This doesn't work in regtweaks, it is always 12% !!!

---- Set System Restore Space Allotment at 5% (not default 12%) ----
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore]
"DiskPercent"=dword:00000005

Somebody knows the answer?

Thanks

Link to comment
Share on other sites

I do not know of a registry tweak that works but i know if you add these lines to your winnt.sif file it works perfectly. I have it set to 10% on my computer but im sure you can change it to 5.

[systemRestore]

MaximumDataStorePercentOfDisk = 10

Link to comment
Share on other sites

I have managed to find these two tweaks which are to make the icons of the WINDOWS EXPLORER (NOT INTERNET EXPLORER) small and make the display of the of drives and folders as icons instead of detail.

SMALL ICONS

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

"SmallIcons"="yes"

DISPLAY FOLDERS AS ICONS

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags\1\Shell]

"Mode"=dword:00000001

"ScrollPos1024x768(1).x"=dword:00000000

"ScrollPos1024x768(1).y"=dword:00000000

"Sort"=dword:00000000

"SortDir"=dword:00000001

"Col"=dword:ffffffff

"ColInfo"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,fd,df,df,fd,0f,\

00,05,00,24,00,10,00,2e,00,46,00,00,00,00,00,01,00,00,00,02,00,00,00,03,00,\

00,00,04,00,00,00,78,00,96,00,60,00,60,00,78,00,00,00,00,00,01,00,00,00,02,\

00,00,00,03,00,00,00,05,00,00,00,ff,ff,ff,ff,cf,f3,a8,b0,33,43,ab,4b,88,73,\

1c,cb,1c,ad,a4,8b,30,f1,25,b7,ef,47,1a,10,a5,f1,02,60,8c,9e,eb,ac,04,00,00,\

00

"MinPos1024x768(1).x"=dword:ffff8300

"MinPos1024x768(1).y"=dword:ffff8300

"MaxPos1024x768(1).x"=dword:ffffffff

"MaxPos1024x768(1).y"=dword:ffffffff

"WinPos1024x768(1).left"=dword:00000000

"WinPos1024x768(1).top"=dword:00000000

"WinPos1024x768(1).right"=dword:00000320

"WinPos1024x768(1).bottom"=dword:00000258

"Rev"=dword:00000001

"WFlags"=dword:00000002

"ShowCmd"=dword:00000003

"FFlags"=dword:00000000

"HotKey"=dword:00000000

"Buttons"=dword:ffffffff

"Links"=dword:00000000

"Address"=dword:ffffffff

"Vid"="{0057D0E0-3573-11CF-AE69-08002B2E1262}"

When effecting these tweaks during my unattended installation with regedit registry file through the start.cmd command nothing happened. However when I apply the tweaks when I am logged on windows these work fine. What am I doing wrong?

Edited by targa
Link to comment
Share on other sites

When effecting these tweaks during my unattended installation with regedit registry file through the start.cmd command nothing happened. However when I apply the tweaks when I am logged on windows these work fine. What am I doing wrong?

You are not alone with your problem.

Other tweaks can just be applied when logged on: one exemple

I solved the problem creating an Autoit script that applies the tweak. The script is inside a winrar sfx file that copies the script to start menu»programs»startup (I am not sure that is the word in english OS).

The winrar file is executed during RunOnceEx.

So, after cleanup and reboot, the next time windows starts it will execute the script. The script ends by running a cmd file that deletes the script.

It works for me.

It may be not the best method, so I am open to suggentions

Link to comment
Share on other sites

I do not know of a registry tweak that works but i know if you add these lines to your winnt.sif file it works perfectly. I have it set to 10% on my computer but im sure you can change it to 5.

[systemRestore]

MaximumDataStorePercentOfDisk = 10

Yes, it worked! at 5% :lol:

Thanks

Link to comment
Share on other sites

Thanks a lot!!

I was thinking about StartX... but I don't really now how it works.

But this is great! Can use it for other batchfiles as well!

Could you perhaps upload LO.exe, RB.exe SD.exe, MonOff.exe etc one more time? I downloaded them to my desktop... but I've reinstalled my pc for testing...

Hey,

Sure here you go;

http://s54.yousendit.com/d.aspx?id=2NK8LQO...W22FGLL7S6NV55O

Take Care,

Will

Edited by war59312
Link to comment
Share on other sites

  • 2 weeks later...

Hey ZileXa,

Check out Unlocker 1.7.4. Guess we found some bugs after all. :)

- Fixed bug: fixed an explorer extension bug which listed Unlocker on "My computer" and "Recycle bin"

- Fixed bug: fixed an explorer extension bug which listed Unlocker several times on shortcuts

- Fixed bug: fixed the explorer extension missing bug which appeared for many people on 1.7.3

Download:

http://ccollomb.free.fr/unlocker/

I've got a problem with the monoff tweak. when it's on my right click mycomputer the system beings up a prompt of please select a program to open this type of file. Does anyone know a work around for this?

That's odd.

Open My Computer > Tools > Folder Options > File Types

Make sure there is no .exe, if there is delete it.

Only thing I can think of atm.

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