+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 21
Windows Thread, Users are able to see hidden files and folders in Technical; WindowsXP Pro clients on Server2003 All users on the network are able to see hidden files and folders. I have ...
  1. #1
    bigmouth's Avatar
    Join Date
    Apr 2009
    Posts
    8
    Thank Post
    6
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Users are able to see hidden files and folders

    WindowsXP Pro clients on Server2003

    All users on the network are able to see hidden files and folders. I have several different images and it is the same for all. When the images are made I create a local user to check all is working locally and make sure that Folder Options are set to default (do not show hidden files and folders and hide system files) when finished, I then copy the local users profile to the default user. Sysprep is prepaired and an image taken.

    Once the image has been istalled, sysprep run and attached to the domain it is possible for Domain Users to see hidden files and folders, they do not have to change settings, infact pupils do not have the option to go in and change settings.

    We are running Active Directory but as far as I can see there is no option AD for setting this. Does anyone have ideas?
    Last edited by bigmouth; 24th November 2009 at 02:13 PM. Reason: typo

  2. #2

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,262
    Thank Post
    242
    Thanked 1,568 Times in 1,250 Posts
    Rep Power
    340
    I would say it's something to do with that default profile you're copying. Everyone's profile would be based on this. If the menu isn't there you've probably locked in down using a policy.

    User Config > Admin Templates > Windows Components > Windows Explorer

    Removes the Folder Options menu item from the Tools menu - Not Configured/Disabled

  3. Thanks to Michael from:

    bigmouth (24th November 2009)

  4. #3


    Join Date
    Jul 2007
    Location
    Rural heck
    Posts
    2,662
    Thank Post
    120
    Thanked 434 Times in 353 Posts
    Rep Power
    126
    I havn't used SYSPREP for years (I'm a newsid man these days), but I think it copies the profile you're usign when you set it up over the default user profile.

    The easiest bodge would be to use 'Regshot' to discover the exact reg key that's changed when you disable show hidden files and the use the reg write command in your log on scripts.

  5. Thanks to K.C.Leblanc from:

    bigmouth (24th November 2009)

  6. #4
    bigmouth's Avatar
    Join Date
    Apr 2009
    Posts
    8
    Thank Post
    6
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    I have set Folder Options not to be shown in AD.

  7. #5

    elsiegee40's Avatar
    Join Date
    Jan 2007
    Location
    Kent
    Posts
    11,080
    Thank Post
    1,794
    Thanked 2,192 Times in 1,620 Posts
    Rep Power
    774
    Quote Originally Posted by bigmouth View Post
    I have set Folder Options not to be shown in AD.

    Make sure the policy is not being overridden by another policy... and make sure the policy is actually enabled (Guess who's disabled it and forgotten to put it back? )

  8. #6

    Join Date
    Nov 2009
    Location
    Amsterdam
    Posts
    15
    Thank Post
    1
    Thanked 11 Times in 5 Posts
    Rep Power
    11
    User Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\Advanced
    Value Name: Hidden
    Data Type: REG_DWORD (DWORD Value)
    Value Data: (1 = show hidden, 2 = do not show)

    You could make a custom .adm file load this into the policy and set this registry setting for the users using this policy.

  9. #7


    Join Date
    Jul 2007
    Location
    Rural heck
    Posts
    2,662
    Thank Post
    120
    Thanked 434 Times in 353 Posts
    Rep Power
    126
    Quote Originally Posted by bigmouth View Post
    I have set Folder Options not to be shown in AD.
    Is the policy assigned to users of to machines?

  10. #8

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,262
    Thank Post
    242
    Thanked 1,568 Times in 1,250 Posts
    Rep Power
    340
    That would be for users, you can tell by the way it starts - HKEY_CURRENT_USER.

  11. #9


    Join Date
    Jul 2007
    Location
    Rural heck
    Posts
    2,662
    Thank Post
    120
    Thanked 434 Times in 353 Posts
    Rep Power
    126
    Quote Originally Posted by Michael View Post
    That would be for users, you can tell by the way it starts - HKEY_CURRENT_USER.
    But he could assign it to machines, and then it wouldn't work. Which would explain his problem.

  12. #10

    Join Date
    Nov 2009
    Location
    Amsterdam
    Posts
    15
    Thank Post
    1
    Thanked 11 Times in 5 Posts
    Rep Power
    11

    Exclamation

    Here is the code to use in a custom .adm file
    Code:
    CLASS USER 
    
    CATEGORY "Windows Components"
     CATEGORY "Windows Explorer"
      KEYNAME "Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" 
      POLICY !!HiddenFilesAndFolders 
       EXPLAIN !!HiddenFilesAndFolders_Help 
       VALUENAME Hidden
       VALUEON NUMERIC 1
       VALUEOFF NUMERIC 2
      END POLICY 
     END CATEGORY
    END CATEGORY
    
    [strings]
    HiddenFilesAndFolders="Show Hidden files and folders" 
    HiddenFilesAndFolders_Help="Configures the folder option Hidden files and folders.\n\nIf you enable this policy, hidden files and folder will be shown.\n\nIf you disable this policy, hidden files and folder will not be shown.\n\n You will need to explicitly disable or enable this policy. Setting it to not configured leaves the setting as it was configured the last time"
    Copy this code to a text file. Save this file as hiddenFiles.adm (or whatever name you like, make sure it ends with .adm). Add this template to the Administrative Templates of a group policy especially for users. Browse to windows components, Windows Explorer there should be a new setting called "Show Hidden files and folders". Configure the setting the way you want to.

    If it does not show. Activate the Administrative Templates Hive, right click and choose "View" -> "Filtering..." (if right click without selecting Administrative Templates it will not show the "View" option!). Clear the check box for "Only show policy settings that can be fully managed".

    Please let me know if it works.

    For more info on edit/creating custom .adm files click here
    Last edited by ThePrutser; 25th November 2009 at 11:20 PM. Reason: removed the space behind [strings]

  13. Thanks to ThePrutser from:

    bigmouth (25th November 2009)

  14. #11
    bigmouth's Avatar
    Join Date
    Apr 2009
    Posts
    8
    Thank Post
    6
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    The policy is applied to the user configuration.

  15. #12

    Join Date
    Nov 2009
    Location
    Amsterdam
    Posts
    15
    Thank Post
    1
    Thanked 11 Times in 5 Posts
    Rep Power
    11
    >The policy is applied to the user configuration.
    You mean it works now, or to what question are you responding?

  16. #13
    bigmouth's Avatar
    Join Date
    Apr 2009
    Posts
    8
    Thank Post
    6
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Sorry, I'm running behind. That was a reply to KCLeblanc. I'm upgrading SIMS at the moment.

  17. #14
    bigmouth's Avatar
    Join Date
    Apr 2009
    Posts
    8
    Thank Post
    6
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    I have tried adding hiddenfiles.adm created from your post but get the following error when adding to 'Add/Remove template'. Any further help would be greatly appreciated.

    Administrative Templates
    ---------------------------
    The following error occurred in

    \\****.local\SysVol\****.local\Policies\{5EA80EC9-EE7A-4C30-B7B4-273C9B3CC9C8}\Adm\hiddenfiles.adm on line 6:Error 62 The

    corresponding string was not found in the [strings] sectionFound: !!hiddenfilesandfoldersThe file can not be loaded.
    ---------------------------
    OK
    ---------------------------

  18. #15

    Join Date
    Nov 2009
    Location
    Amsterdam
    Posts
    15
    Thank Post
    1
    Thanked 11 Times in 5 Posts
    Rep Power
    11
    You will not believe this but the solution is very simple, I missed it too. Behind [strings] there is a space, remove this space and the error is gone. I have tested it overhere and it works (had not test is before, sorry) I also corrected the code above.

    Please let me know if it works for you too.

  19. Thanks to ThePrutser from:

    bigmouth (26th November 2009)

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Showing hidden files in recycler
    By zag in forum Windows
    Replies: 5
    Last Post: 27th April 2010, 02:14 PM
  2. Restoring files on a hidden partition
    By Admiral208 in forum How do you do....it?
    Replies: 4
    Last Post: 14th May 2009, 05:19 PM
  3. Folders Becoming Hidden?
    By ICT_GUY in forum Windows Vista
    Replies: 1
    Last Post: 27th April 2009, 03:19 PM
  4. backups, folders but where are the files??
    By markman in forum Windows
    Replies: 11
    Last Post: 2nd May 2008, 11:13 AM
  5. WDS issue (Again!) - Hidden files?
    By Chufty in forum Windows
    Replies: 1
    Last Post: 5th September 2007, 08:04 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •