Skip to content

Instantly share code, notes, and snippets.

@tkouba
Created May 15, 2025 08:12
Show Gist options
  • Save tkouba/de7aaa96e7b3ec4b6299fbd0f16dd556 to your computer and use it in GitHub Desktop.
Save tkouba/de7aaa96e7b3ec4b6299fbd0f16dd556 to your computer and use it in GitHub Desktop.

Revisions

  1. tkouba created this gist May 15, 2025.
    6 changes: 6 additions & 0 deletions Autologon.reg
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
    "DefaultUserName"="kiosk"
    "DefaultPassword"="kioskPassw0rd"
    "AutoAdminLogon"="1"
    57 changes: 57 additions & 0 deletions RestrictUser.reg
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,57 @@
    Windows Registry Editor Version 5.00

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
    "NoDriveTypeAutoRun"=dword:000000FF
    "NoCommonGroups"=dword:00000001
    "NoRecentDocsMenu"=dword:00000001
    "NoSetFolders"=dword:00000001
    "NoNetworkConnections"=dword:00000001
    "NoFavoritesMenu"=dword:00000001
    "NoWindowsUpdate"=dword:00000001
    "NoStartMenuSubFolders"=dword:00000001
    "NoFind"=dword:00000001
    "NoSMHelp"=dword:00000001
    "NoRun"=dword:00000001
    "ForceStartMenuLogOff"=dword:00000001
    "NoChangeStartMenu"=dword:00000001
    "NoSetTaskbar"=dword:00000001
    "NoTrayContextMenu"=dword:00000001
    "LockTaskbar"=dword:00000001
    "NoSimpleStartMenu"=dword:00000001
    "NoSMConfigurePrograms"=dword:00000001
    "NoStartMenuMFUprogramsList"=dword:00000001
    "NoStartMenuPinnedList"=dword:00000001
    "NoDesktop"=dword:00000001
    "ClassicShell"=dword:00000000
    "NoSharedDocuments"=dword:00000001
    "NoControlPanel"=dword:00000001
    "NoDeletePrinter"=dword:00000001
    "NoFolderOptions"=dword:00000001
    "NoWinKeys"=dword:00000001
    "NoStartMenuMorePrograms"=dword:00000001
    "NoViewContextMenu"=dword:00000001

    "HideClock"=dword:00000001
    "HideSCAPower"=dword:00000001
    "HideSCANetwork"=dword:00000000
    "HideSCAVolume"=dword:00000001

    "RestrictRun"=dword:00000001

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\RestrictRun]
    notepad.exe=notepad.exe
    iexplore.exe=iexplore.exe

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\WinOldApp]
    "NoSetFolders"=dword:00000001

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
    "TaskbarSizeMove"=dword:00000000

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
    "DisableTaskMgr"=dword:00000001
    "DisableLockWorkstation"=dword:00000001
    "DisableChangePassword"=dword:00000001

    [HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Restrictions]
    "NoBrowserContextMenu"=dword:00000001
    53 changes: 53 additions & 0 deletions UnrestrictUser.reg
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,53 @@
    Windows Registry Editor Version 5.00

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
    "NoCommonGroups"=dword:00000000
    "NoRecentDocsMenu"=dword:00000000
    "NoSetFolders"=dword:00000000
    "NoNetworkConnections"=dword:00000000
    "NoFavoritesMenu"=dword:00000000
    "NoWindowsUpdate"=dword:00000000
    "NoStartMenuSubFolders"=dword:00000000
    "NoFind"=dword:00000000
    "NoSMHelp"=dword:00000000
    "NoRun"=dword:00000000
    "ForceStartMenuLogOff"=dword:00000000
    "NoChangeStartMenu"=dword:00000000
    "NoSetTaskbar"=dword:00000000
    "NoTrayContextMenu"=dword:00000000
    "LockTaskbar"=dword:00000000
    "NoSimpleStartMenu"=dword:00000000
    "NoSMConfigurePrograms"=dword:00000000
    "NoStartMenuMFUprogramsList"=dword:00000000
    "NoStartMenuPinnedList"=dword:00000000
    "NoDesktop"=dword:00000000
    "ClassicShell"=dword:00000000
    "NoSharedDocuments"=dword:00000000
    "NoControlPanel"=dword:00000000
    "NoDeletePrinter"=dword:00000000
    "NoFolderOptions"=dword:00000000
    "NoWinKeys"=dword:00000000
    "NoStartMenuMorePrograms"=dword:00000000
    "NoViewContextMenu"=dword:00000000

    "HideClock"=dword:00000000
    "HideSCAPower"=dword:00000000
    "HideSCANetwork"=dword:00000000
    "HideSCAVolume"=dword:00000000

    "RestrictRun"=dword:00000000


    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\WinOldApp]
    "NoSetFolders"=dword:00000000


    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
    "TaskbarSizeMove"=dword:00000001


    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
    "DisableTaskMgr"=dword:00000000
    "DisableLockWorkstation"=dword:00000000
    "DisableChangePassword"=dword:00000000