You are on page 1of 2

1. Type gpedit.msc in RUN or Startmenu Searchbox and press Enter. It'll open Gro up Policy Editor. 2.

Now go to: Local Computer Policy -> Administrative Templates -> System -> Log on 3. In right-side pane, double-click on "Hide entry points for Fast User Switchin g" option and set it to Enabled. Or you can disable it this way through the registry. 1. Type regedit in RUN or Startmenu Searchbox and press Enter. It'll open Regist ry Editor. 2. Now go to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Polic ies\System 3. In right-side pane, create a new DWORD value HideFastUserSwitching and set it s value to 1 4. That's it. Now "Switch User" option will be disabled from Welcome screen as w ell as from Shutdown menu. Here is the "switch user" disabling. run-> gpedit.msc Local Computer Policy -> Computer Configuration ->Administrative Templates -> Sy stem -> Logon -> "Hide entry points for Fast User Switching" - enable Now "Switch User" option will be disabled from Welcome screen as well as from Sh utdown menu. 1. Type regedit in Start menu search box and then hit enter 2. Navigate to the following key: To modify the key in C#, the key in the registry is : HKLM\Software\Microsoft\Wi ndows\CurrentVersion\Policies\System\HideFastUserSwitching regKeyRootMachine.SetValue("HideFastUserSwitching", 1, RegistryValueKind.DWord); HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer 3. In the right-pane, create a new DWORD value named StartMenuLogOff and set val ue to 1. To disable switch user 4. Navigate to the following key: HKEY_LOCAL_MACHINE\SOFTWARE \Microsoft\Windows\CurrentVersion\Policies\System 5. In the right-pane, create a new DWORD value named HideFastUserSwitching and s et value to 1. To disable Lock 6. Under HKEY_LOCAL_MACHINE\SOFTWARE \Microsoft\Windows\CurrentVersion\Policies\ System, create a new DWORD value named DisableLockWorkstation and set value to 1 . Then, please restart the computer. To disable Log off 1. Type regedit in Start menu search box and then hit enter 2. Navigate to the following key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

3. In the right-pane, create a new DWORD value named StartMenuLogOff and set val ue to 1. To disable switch user 4. Navigate to the following key: HKEY_LOCAL_MACHINE\SOFTWARE \Microsoft\Windows\CurrentVersion\Policies\System 5. In the right-pane, create a new DWORD value named HideFastUserSwitching and s et value to 1. To disable Lock 6. Under HKEY_LOCAL_MACHINE\SOFTWARE \Microsoft\Windows\CurrentVersion\Policies\ System, create a new DWORD value named DisableLockWorkstation and set value to 1 . Then, please restart the computer. Thanks, Robinson. It couldn't disable log off (but I could with the other two). I only have this key available: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies so I'm missing the Explorer folder. Any suggestions? Manully create it will resolve this problem. :)

You might also like