none
Two Registry Settings in Default User Profile Driving Me CRAZY!!!!!!!

    Question

  • I'm modifying the 'Default' user profile on a machine that is currently in a workgroup, not a domain, by mounting the 'Default' account's NTUSER.DAT hive onto HKLM as HKLM\Test.  I then run a .reg file that injects a number of registry changes into the mounted hive and all of them stick except for two - AlwaysShowMenus and Hidden (Show Hidden Files and Folders).

    The relevant part of my registry script is such:

    ==================================================

    Windows Registry Editor Version 5.00

    ;Set Windows Explorer Settings
    [HKEY_LOCAL_MACHINE\Test\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
    "Start_SearchFiles"=dword:00000002
    "ServerAdminUI"=dword:00000000
    "Hidden"=dword:00000001
    "ShowCompColor"=dword:00000001
    "HideFileExt"=dword:00000000
    "DontPrettyPath"=dword:00000000
    "ShowInfoTip"=dword:00000001
    "HideIcons"=dword:00000000
    "MapNetDrvBtn"=dword:00000000
    "WebView"=dword:00000001
    "Filter"=dword:00000000
    "SuperHidden"=dword:00000000
    "SeparateProcess"=dword:00000000
    "AutoCheckSelect"=dword:00000000
    "IconsOnly"=dword:00000000
    "ShowTypeOverlay"=dword:00000001
    "ListviewAlphaSelect"=dword:00000001
    "ListviewShadow"=dword:00000001
    "TaskbarAnimations"=dword:00000000
    "StartMenuInit"=dword:00000004
    "Start_ShowMyGames"=dword:00000000
    "TaskbarSizeMove"=dword:00000000
    "DisablePreviewDesktop"=dword:00000000
    "TaskbarSmallIcons"=dword:00000001
    "TaskbarGlomLevel"=dword:00000001
    "Start_PowerButtonAction"=dword:00000002
    "AlwaysShowMenus"=dword:00000001
    "HideDrivesWithNoMedia"=dword:00000001
    "Start_ShowRun"=dword:00000001
    "Start_MinMFU"=dword:0000000a
    "Start_JumpListItems"=dword:0000000a
    "Start_AdminToolsRoot"=dword:00000000
    "StartMenuAdminTools"=dword:00000000
    "Start_TrackDocs"=dword:00000001
    "Start_TrackProgs"=dword:00000001
    "ShowSuperHidden"=dword:00000000
    "Start_NotifyNewApps"=dword:00000000
    "Start_ShowDownloads"=dword:00000001
    "ShowPreviewHandlers"=dword:00000001
    "SharingWizardOn"=dword:00000001
    "FolderContentsInfoTip"=dword:00000001
    "FriendlyTree"=dword:00000001
    "TypeAhead"=dword:00000000
    "ClassicViewState"=dword:00000000
    "PersistBrowsers"=dword:00000000

    ;Also tried setting the below values with no luck :(

    ;Windows Explorer Setting - Always Show Menus - Tried Also Modifying This Value But Didn't work
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\AlwaysShowMenus]
    "DefaultValue"=dword:00000001

    ;Windows Explorer Setting - Show Hidden Files and Folders - Tried Also Modifying This Value But Didn't work
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\NOHIDDEN]
    "DefaultValue"=dword:00000002

    ;Windows Explorer Setting - Show Hidden Files and Folders - Tried Also Modifying This Value But Didn't work
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\SHOWALL]
    "DefaultValue"=dword:00000001

    ==================================================

    Here's the oddest part.  If I create a local profile while the machine is still in a workgroup, the settings all get applied.  But if I join the machine to the domain and log in as a domain user, the AlwaysShowMenus and Hidden keys switch back to dword:00000000. I thought maybe domain group policy was at play so I tried changing the settings back to what I set them to in my .reg file (dword:00000001) then rebooting as well as running a gpupdate /force, but they stayed dword:00000001.

    Does anyone know where Windows is getting these values when it creates a domain user account versus a local workstation account?  These two settings are driving me crazy!

    Thanks for any help or insight you can provide.

    Monday, December 31, 2012 1:08 AM

All replies

  • I will put up a picture of the relevant settings in the GUI as soon as the forum lets me.  Right now it's saying it has to verify my account before I can post pictures or links.
    Monday, December 31, 2012 1:43 AM
  • Hi,

    You can simply login with your domain account and change the settings via GUI. And navigate to this registry:

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced

    It should make the value changes in this registry.


    Tracy Cai

    TechNet Community Support

    Wednesday, January 02, 2013 7:31 AM
  • I agree with you that the issue is likely related to GPO. However, "gpupdate /force" can no make all GPO applied, such as logon script.

    In addition, if the domain user account logged on before you modified the default user profile. The original profile will not be updated.

     
    Wednesday, January 30, 2013 7:26 AM
  • I hear what you're saying, but the domain users didn't log on before the Default profile was modified and the logon script is pretty much just a drive mapping script.  I've resorted to placing two shortcuts on the Default user's Desktop; one is a batch file with the following command that sets AlwaysShowMenus:

    reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v AlwaysShowMenus /d 00000001 /t REG_DWORD /F

    And the other is a shortcut with the command line: C:\Windows\System32\control.exe folders that opens the Folder Options dialogue box where I can manually select the "Show hidden files, folders, and drives" on the View tab.*

    *If I use the command reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v Hidden /d 00000001 /t REG_DWORD /F in the batch file , it still doesn't select "Show hidden files, folders, and drives" so there must be more going on with this setting than the value of the Hidden key alone.

    Saturday, February 02, 2013 2:20 AM