Need Help With A .reg File I'm Creating


Recommended Posts

The following is a .reg file I created to secure my local computers in a telemarketing office... the only one that worked was the last rededit to disable the start button. Will someone that is very good at registry editing review this and tell me what I'm doing wrong so I can correct it and use this.

Windows Registry Editor Version 5.00

;Disable Control Panel

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

"NoControlPanel"=dword:1

;Disable Right Click

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

Explorer]

"NoViewContextMenu"=dword:1

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

Explorer]

"NoViewContextMenu"=dword:1

;Remove My Computer From Desktop (No Desktop Items)

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

NonEnum]

"{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:1

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

NonEnum]

"{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:1

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

NonEnum]

"NoDesktop"=dword:1

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

NonEnum]

"NoDesktop"=dword:1

;Disable Recycle Bin Properties

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

Explorer]

"NoPropertiesRecycleBin"=dword:1

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

Explorer]

"NoPropertiesRecycleBin"=dword:1

;Disable Start Button

;Delete Previous Entry

[-HKEY_CLASSES_ROOT\CLSID\{5b4dae26-b807-11d0-9815-00c04fd91972}]

;Re-create with new name

[HKEY_CLASSES_ROOT\CLSID\{-5b4dae26-b807-11d0-9815-00c04fd91972}]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{5b4dae26-b807-11d0-9815-00c04fd91972}]

"Menu Band"=reg_sz

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{5b4dae26-b807-11d0-9815-00c04fd91972}\InProcServer32

""=reg_expand_sz:%SystemRoot%\system32\browseui.dll

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{5b4dae26-b807-11d0-9815-00c04fd91972}\InProcServer32

"ThreadingModel"=reg_sz:Apartment

Link to post
Share on other sites

Well the first thing I would do is to make each operation a separate reg file

This way you can test each one and see if it does what you want.

Once you know it works, you can combine them.

I see a couple I wonder about (The - seems to be in wrong place) but it may just be my eyes are tired.

[HKEY_CLASSES_ROOT\CLSID\{-5b4dae26-b807-11d0-9815-00c04fd91972}]

for example

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...