Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save subzer0iq/ae0f6ca8eb5a49844b5b8bfd87f09ac5 to your computer and use it in GitHub Desktop.
Save subzer0iq/ae0f6ca8eb5a49844b5b8bfd87f09ac5 to your computer and use it in GitHub Desktop.

Revisions

  1. @prashanthrajagopal prashanthrajagopal revised this gist Jun 20, 2014. 1 changed file with 147 additions and 5 deletions.
    152 changes: 147 additions & 5 deletions desktop_restrictions.reg
    Original file line number Diff line number Diff line change
    @@ -4,13 +4,133 @@ Windows Registry Editor Version 5.00

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop]
    "NoChangingWallPaper"=dword:00000001
    "NoAddingComponents"=dword:00000001
    "NoClosingComponents"=dword:00000001
    "NoDeletingComponents"=dword:00000001
    "NoEditingComponents"=dword:00000001
    "NoComponents"=dword:00000001

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments]
    "ScanWithAntiVirus"=dword:00000001
    "SaveZoneInformation"=dword:00000001
    "HideZoneInfoOnProperties"=dword:00000001

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Comdlg32]
    "NoBackButton"=dword:00000001
    "NoPlacesBar"=dword:00000001
    "NoFileMru"=dword:00000001

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
    "NoDriveTypeAutoRun"=dword:00000091
    "StartMenuLogOff"=dword:00000001
    "NoControlPanel"=dword:00000001
    "NoViewContextMenu"=dword:00000001
    "NoDesktop"=dword:00000001
    "NoSimpleStartMenu"=dword:00000001
    "NoDriveTypeAutoRun"=dword:000000ff
    "NoThemesTab"=dword:00000001
    "NoAddPrinter"=dword:00000001
    "NoDeletePrinter"=dword:00000001
    "NoAddPrinter"=dword:00000000
    "NoDeletePrinter"=dword:00000000
    "NoActiveDesktop"=dword:00000001
    "NoActiveDesktopChanges"=dword:00000001
    "ClearRecentDocsOnExit"=dword:00000001
    "ClearRecentProgForNewUserInStartMenu"=dword:00000001
    "GreyMSIAds"=dword:00000001
    "Intellimenus"=dword:00000001
    "LockTaskbar"=dword:00000001
    "NoAutoTrayNotify"=dword:00000001
    "NoSMBalloonTip"=dword:00000001
    "NoChangeStartMenu"=dword:00000001
    "NoClose"=dword:00000001
    "NoCommonGroups"=dword:00000001
    "NoFavoritesMenu"=dword:00000001
    "NoFind"=dword:00000001
    "NoStartMenuMFUprogramsList"=dword:00000001
    "NoStartMenuMyGames"=dword:00000001
    "NoSMHelp"=dword:00000001
    "NoStartMenuMorePrograms"=dword:00000001
    "NoNetworkConnections"=dword:00000001
    "NoStartMenuPinnedList"=dword:00000001
    "NoRecentDocsHistory"=dword:00000001
    "NoRecentDocsMenu"=dword:00000001
    "NoResolveSearch"=dword:00000001
    "NoResolveTrack"=dword:00000001
    "NoRun"=dword:00000001
    "NoSMConfigurePrograms"=dword:00000001
    "NoSMMyDocs"=dword:00000001
    "NoStartMenuMyMusic"=dword:00000001
    "NoStartMenuNetworkPlaces"=dword:00000001
    "NoSMMyPictures"=dword:00000001
    "NoSearchCommInStartMenu"=dword:00000001
    "NoSearchComputerLinkInStartMenu"=dword:00000001
    "NoSearchFilesInStartMenu"=dword:00000001
    "NoSearchInternetInStartMenu"=dword:00000001
    "NoSearchProgramsInStartMenu"=dword:00000001
    "NoSetFolders"=dword:00000001
    "NoSetTaskbar"=dword:00000001
    "NoStartMenuSubFolders"=dword:00000001
    "NoSimpleStartMenu"=dword:00000001
    "HideClock"=dword:00000001
    "NoTaskGrouping"=dword:00000001
    "NoToolbarsOnTaskbar"=dword:00000001
    "NoTrayContextMenu"=dword:00000001
    "NoTrayItemsDisplay"=dword:00000001
    "NoUserFolderInStartMenu"=dword:00000001
    "NoUserNameInStartMenu"=dword:00000001
    "NoWindowsUpdate"=dword:00000001
    "QuickLaunchEnabled"=dword:00000000
    "NoStartMenuEjectPC"=dword:00000001
    "ForceRunOnStartMenu"=dword:00000001
    "HideSCAHealth"=dword:00000001
    "HideSCANetwork"=dword:00000001
    "HideSCAPower"=dword:00000001
    "HideSCAVolume"=dword:00000001
    "TaskbarLockAll"=dword:00000001
    "TaskbarNoAddRemoveToolbar"=dword:00000001
    "TaskbarNoDragToolbar"=dword:00000001
    "TaskbarNoNotification"=dword:00000001
    "TaskbarNoRedock"=dword:00000001
    "TaskbarNoResize"=dword:00000001
    "TaskbarNoThumbnail"=dword:00000001
    "NoLogoff"=dword:00000001
    "NoInternetOpenWith"=dword:00000001
    "NoWebServices"=dword:00000001
    "NoOnlinePrintsWizard"=dword:00000001
    "NoPublishingWizard"=dword:00000001
    "DontSetAutoplayCheckbox"=dword:00000001
    "NoBandCustomize"=dword:00000001
    "NoToolbarCustomize"=dword:00000001
    "Btn_Back"=dword:00000002
    "Btn_Forward"=dword:00000002
    "Btn_Stop"=dword:00000002
    "Btn_Refresh"=dword:00000002
    "Btn_Home"=dword:00000002
    "Btn_Search"=dword:00000002
    "Btn_Favorites"=dword:00000002
    "Btn_History"=dword:00000002
    "Btn_Folders"=dword:00000002
    "Btn_Fullscreen"=dword:00000002
    "Btn_Tools"=dword:00000002
    "Btn_MailNews"=dword:00000002
    "Btn_Size"=dword:00000002
    "Btn_Print"=dword:00000002
    "Btn_Edit"=dword:00000002
    "Btn_Discussions"=dword:00000002
    "Btn_Cut"=dword:00000002
    "Btn_Copy"=dword:00000002
    "Btn_Paste"=dword:00000002
    "Btn_Encoding"=dword:00000002
    "NoInplaceSharing"=dword:00000001
    "NoPreviewPane"=dword:00000001
    "NoReadingPane"=dword:00000001

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\WAU]
    "Disabled"=dword:00000001

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\MobilityCenter]
    "NoMobilityCenter"=dword:00000001

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\PresentationSettings]
    "NoPresentationSettings"=dword:00000001

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Programs]
    "NoDefaultPrograms"=dword:00000001
    @@ -30,9 +150,12 @@ Windows Registry Editor Version 5.00
    "NoDispAppearancePage"=dword:00000001
    "NoDispBackgroundPage"=dword:00000001
    "NoDispScrSavPage"=dword:00000001
    "SetVisualStyle"=""
    "DisableChangePassword"=dword:00000001
    "DisableLockWorkstation"=dword:00000001
    "DisableTaskMgr"=dword:00000001
    "ConnectHomeDirToRoot"=dword:00000000



    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Uninstall]
    "NoAddFromCDorFloppy"=dword:00000001
    @@ -42,7 +165,26 @@ Windows Registry Editor Version 5.00
    "NoAddRemovePrograms"=dword:00000001
    "NoChooseProgramsPage"=dword:00000001
    "NoRemovePage"=dword:00000001
    "NoServices"=dword:00000001
    "NoSupportInfo"=dword:00000001
    "NoWindowsSetupPage"=dword:00000001

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Windows]
    "TurnOffWinCal"=dword:00000001

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar]
    "TurnOffSidebar"=dword:00000001
    "TurnOffUnsignedGadgets"=dword:00000001
    "TurnOffUserInstalledGadgets"=dword:00000001

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\WindowsUpdate]
    "DisableWindowsUpdateAccess"=dword:00000001
    "DisableWindowsUpdateAccessMode"=dword:00000001

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\NonEnum]
    "{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000001

    [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System]
    "HideFastUserSwitching"=dword:00000001

    [HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer]
    "PowerButtonAction"=dword:00000200
  2. @prashanthrajagopal prashanthrajagopal created this gist Jun 17, 2014.
    48 changes: 48 additions & 0 deletions desktop_restrictions.reg
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,48 @@
    Windows Registry Editor Version 5.00

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

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop]
    "NoChangingWallPaper"=dword:00000001

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
    "NoDriveTypeAutoRun"=dword:00000091
    "NoThemesTab"=dword:00000001
    "NoAddPrinter"=dword:00000001
    "NoDeletePrinter"=dword:00000001
    "NoLogoff"=dword:00000001

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Programs]
    "NoDefaultPrograms"=dword:00000001
    "NoGetPrograms"=dword:00000001
    "NoInstalledUpdates"=dword:00000001
    "NoProgramsAndFeatures"=dword:00000001
    "NoProgramsCPL"=dword:00000001
    "NoWindowsFeatures"=dword:00000001
    "NoWindowsMarketplace"=dword:00000001

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
    "NoDispCPL"=dword:00000001
    "NoDispSettingsPage"=dword:00000001
    "NoColorChoice"=dword:00000001
    "NoVisualStyleChoice"=dword:00000001
    "NoSizeChoice"=dword:00000001
    "NoDispAppearancePage"=dword:00000001
    "NoDispBackgroundPage"=dword:00000001
    "NoDispScrSavPage"=dword:00000001
    "SetVisualStyle"=""
    "DisableChangePassword"=dword:00000001
    "DisableLockWorkstation"=dword:00000001

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Uninstall]
    "NoAddFromCDorFloppy"=dword:00000001
    "NoAddFromInternet"=dword:00000001
    "NoAddFromNetwork"=dword:00000001
    "NoAddPage"=dword:00000001
    "NoAddRemovePrograms"=dword:00000001
    "NoChooseProgramsPage"=dword:00000001
    "NoRemovePage"=dword:00000001
    "NoServices"=dword:00000001
    "NoSupportInfo"=dword:00000001
    "NoWindowsSetupPage"=dword:00000001