All Kinds of Restrictions for Windows 2000, XP, 2003, Vista, 2008 and 7



Following is a list of some important restrictions, which can be made in Windows 2000, XP, Server 2003, Vista, Server 2008 and 7. For example, you can restrict Display properties, Taskbar properties, folder options, etc.

All tricks are based on Registry editing, you just need to open Registry Editor by providing regedit command in RUN and then create the mentioned key and set its value as given below:

NOTE: If you want to remove the restriction, simply delete the DWORD value or set its value to 0

1.) Restrict Display Properties:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\System

create DWORD value NoDispCPL and set its value to 1

2.) Restrict Taskbar Properties:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\Explorer

create DWORD value NoSetTaskbar and set its value to 1

3.) Restrict Folder Options:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\Explorer

create DWORD value NoFolderOptions and set its value to 1

4.) Restrict Locking/Unlocking the taskbar:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\Explorer

create DWORD value LockTaskbar and set its value to 1

5.) Restrict Active Desktop:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\Explorer

create DWORD value NoActiveDesktop and set its value to 1

6.) Restrict adding/deleting items from Toolbars:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\Explorer

create DWORD value NoToolbarCustomize and set its value to 1

7.) Restrict adding/deleting toolbars:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\Explorer

create DWORD value NoBandCustomize and set its value to 1

8.) Restrict right-click in Start Menu:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\Explorer

create DWORD value NoChangeStartMenu and set its value to 1

9.) Restrict Desktop Cleanup Wizard:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\Explorer

create DWORD value NoDesktopCleanupWizard and set its value to 1

10.) Restrict notification at low disk space:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\Explorer

create DWORD value NoLowDiskSpaceChecks and set its value to 1

11.) Restrict Taskbar Context Menu:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\Explorer

create DWORD value NoTrayContextMenu and set its value to 1

12.) Restrict Programs to run:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\Explorer\DisallowRun

create String value with any name, like 1 and set its value to the program's EXE file.

e.g., If you want to restrict msconfig, then create a String value 1 and set its value to msconfig.exe. If you want to restrict more programs, then simply create more String values with names 2, 3 and so on and set their values to the program's exe.

13.) Restrict Registry Editor:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\System

create DWORD value DisableRegistryTools and set its value to 1

14.) Restrict Task Manager:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\System

create DWORD value DisableTaskMgr and set its value to 1

15.) Restrict Writing to USB Drives:

HKEY_LOCAL_MACHINE\SYSTEM\Current Control Set\Control\StorageDevicePolicies

Create DWORD value WriteProtect and set its value to 1

16.) Restrict New option in context menu:

HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenu Handlers\New

And delete the value of Default, e.g., empty it.

17.) Restrict Send To in context menu:

HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenu Handlers\Send To

And delete the value of Default, e.g., empty it.

18.) Restrict Balloon Tips:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Explorer\Advanced

Create DWORD value EnableBalloonTips and set its value to 0

19.) Restrict Users to enable New XP StartMenu:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\Explorer

Create DWORD value NoSimpleStartMenu and set its value to 1

20.) Restrict Command Prompt:

HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System

Create DWORD value DisableCMD and set its value to 2

21.) Restrict Drives in My Computer:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\Explorer

In right-side pane, create a new DWORD value NoViewOnDrive and change its value as following:

3 : To Restrict A and B drives only.
4 : To Restrict C drive only.
7 : To Restrict A, B, and C drives only.
8 : To Restrict D drive only.
F : To Restrict A, B, C, and D drives only.
03FFFFFF : To Restrict all drives.

And if you want more specific restrictions, like you want to restrict a combination of other drives, then you can use decimal no. instead of hexadecimal no. Following is a list for all drives decimal no.:

A: 1
B: 2
C: 4
D: 8
E: 16
F: 32
G: 64
H: 128
I: 256
J: 512
K: 1024
L: 2048
M: 4096
N: 8192
O: 16384
P: 32768
Q: 65536
R: 131072
S: 262144
T: 524288
U: 1048576
V: 2097152
W: 4194304
X: 8388608
Y: 16777216
Z: 33554432
ALL: 67108863

So if you want to disable a combination of drives, just sum their numbers and give the same value to NoViewOnDrive. e.g., for restricting C, D, E and F drives, give the value: 4+8+16+32 = 60

NOTE: You can also hide the drives using NoDrives DWORD value. The location and its value remain same as the above trick.

22.) Restrict RUN in New XP StartMenu:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\Explorer

Create DWORD value NoRun and set its value to 1

23.) Restrict Control Panel:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\Explorer

Create DWORD value NoControlPanel and set its value to 1

Above are some common restrictions, if you want to know about any specific restriction, please let us know.

Complete list of AskVG articles



This article was posted in Security Zone, Troubleshooting, Windows 7, Windows Vista, Windows XP.


Share |


Related Articles

Popular Articles



163 Comments

  • VG, is that all the restrictions? i dont see folder restrictions sir.

  • my mother board's BIOS is not upgread, how it posibale

  • how to disable user to install any programe in windows xp?

  • hi vg

    i have a problem that when i change any string value or binary value in regedit then another restriction is occured for eg.

    i set the value of "NoChangeWallpaper" , "1" to "0" or any else ,

    an error is occured "cannot edit NoChangeWallpaper: Error writing the value's new contents."

    How can i replace these errors?

  • VG

    ^^ Are you logged in as Administrator? Try to delete the key and then re-create it. Your security suite might be blocking access to the key.

  • Restrict Programs to run - missing this part

    Create a DWORD value named DisallowRun. To do so:

    1. Locate and then click the following registry key:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion \Policies\Explorer
    2. On the Edit menu, point to New, and then click DWORD Value.
    3. Type disallowrun, and then press ENTER.
    4. Double-click the DisallowRun value that you created in the previous step.
    5. Type 1 in the Value data box, and then click OK.

    http://support.microsoft.com/kb/323525

  • Hi VG.
    Great list of registry edits! I've bookmarked it for quick access. A lot of these I know from reading the registry manually to find them, but some I didn't know and it's nice having a list to look at. I'd love to see it expanded with more restrictions over time.

    One note for a common question:
    "How do I add a restriction to a single user?" The method you give obviously works. There are a couple others I like. If you want it to apply to everybody except the Administrator, you can put it in a script in the 'Run' key for the system and block it for the Admin login. Make sure to use the command line switch to force it in. Depending on your system and choices, it is either /f to force it, /s for silent, or both.

    If you want to apply it to just a particular user and you're working on that PC, it's easy to do as Administrator. In the registry editor, navigate to HKEY_USERS, then on the registry editor menu, click on File/Load Hive. In the pop-up window, navigate to the user's profile (c:\documents and settings\user) and select the user.dat or user.man file. A new pop-up displays asking for a name to apply to the hive; you can give it any name you like (I use the profile's name just to keep it clear in my mind what I'm working on). Once it's loaded, you can make your edits in that hive (HKEY_USERS\{prifile name}) and they will only affect that user.

  • sir,

    a typical error message pipes-up in my pc - OS: XP (in the user created for internet only). have attached the same, can u please indicate the possible reason/ remedy.

    i tried antivirus (ie AVG), registry cleaning, getting latest downloads from MS and also repairing the OS.

    the error msg goes as:- msfeedssync.exe - Application Error

    The instruction at "0x77d4bbcd" referenced at "0x00000048". The memory could not be "read".

    Click on OK to terminate the program
    Click on CANCEL to debug the program

    -------------------------------------------------
    the running of machine is otherwise not disturbed except for these messages appearing frequently, it goes off by closing it atleast three times

    Can you help

    R Gayathri

  • VG

    ^^ Try this:

    1. Open Internet Explorer and goto "Tools -> Internet Options".
    2. Goto "Content" tab and click on "Settings" button under "Feeds".
    3. Now uncheck "Automatically check feeds for updates" and Click OK.

  • refer your answer to my question of 30th aug. the content tab has "settings" only for Content Advisor and not a general Settings button for "Feeds".

    rg

Add a Comment

NOTE: If you can't see your comment, please be patient. It'll appear as soon as we approve it.


Create an avatar that will appear with your comment.