none
Hide C Drive from Guest users RRS feed

  • Question

  • Does anyone know a way to hide (not restrict access) the C drive for Windows Guest accounts when they go to the 'Computer' on their desktops?

    I do not wish to restrict access to the C drive for Guest users, simply hide it in 'Computer'. Group Policy will only restrict or hide drives for all users and being the Windows partition, I don't wish to restrict access.

    Any ideas please.

    Many thanks

    Danny

    Tuesday, February 7, 2017 3:16 PM

Answers

All replies

  • Hi,
     
    Am 07.02.2017 um 16:16 schrieb Danny Webb:
    > [...] Group Policy will only restrict or hide drives
    > for all users and being the Windows partition,
     
    No, since Vista there is a Multi Local GPO and you can filter it on
    users or groups.
    "NoDrive" as a registry key, simply hides any letter want since NT4
     
    Mark
    --
    Mark Heitbrink - MVP Group Policy - Cloud and Datacenter Management
     
    Homepage:  http://www.gruppenrichtlinien.de - deutsch
     
    gp-pack PaT - Privacy and Telemetry on Windows 10
     
    Tuesday, February 7, 2017 5:18 PM
  • Hi,
     
    Am 07.02.2017 um 16:16 schrieb Danny Webb:
    > [...] Group Policy will only restrict or hide drives
    > for all users and being the Windows partition,
     
    No, since Vista there is a Multi Local GPO and you can filter it on
    users or groups.
    "NoDrive" as a registry key, simply hides any letter want since NT4
     
    Mark
    --
    Mark Heitbrink - MVP Group Policy - Cloud and Datacenter Management
     
    Homepage:  http://www.gruppenrichtlinien.de - deutsch
     
    gp-pack PaT - Privacy and Telemetry on Windows 10
     
    • Marked as answer by Danny Webb Tuesday, February 14, 2017 10:41 AM
    Tuesday, February 7, 2017 5:18 PM
  • Hi Danny Webb,

    As far as I know, the guest account on Windows 10 has been decreased. I verified this on my Windows 10 .14393.693 Enterprise again. I am not sure how you enabled that account.

    Anyway, you could try the following registry key, I have tested this for other accounts and it could work well.
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
    Create a Dword key named "NoDrives" and assign the value "4".

    Best regards


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Wednesday, February 8, 2017 1:42 AM
    Moderator
  • Thank you Mark.

    This is what I suspected but wanted to double-check with other experts.

    Regards

    Danny

    Tuesday, February 14, 2017 10:34 AM
  • Thank you MeipoXu for your response.

    For others viewing this thread, to create a guest account within Windows 10, open command as admin:

    • net user AccountName /add /active:yes
    • net user AccountName *
    • Enter above password twice
    • net localgroup users AccountName /delete
    • net localgroup guests AccountName /add
    • Check the password never expires option is ticked in cmd: control userpasswords2

    Where AccountName is the name of the guest account you are creating...

    The problem with changing that reg key you suggested hides access to all drives, not just the C drive. The guest user in this case will still need access to USB devices plugged in.

    Thank you again for your response but I feel this is not possible to simply hide just the C drive only.

    Regards

    Danny

    Tuesday, February 14, 2017 10:40 AM