Subscribe to How-To Geek

Enable Mapping to \\Hostname\C$ Share on Windows 7 or Vista

Just about everybody knows about the hidden administrator C$ share that is always built into Windows file sharing, but you might have wondered why you can’t use that in Windows 7 or Vista.

The reason this doesn’t work is because of UAC (User Account Control) that Vista is (in)famous for. By default Vista doesn’t allow UAC elevation over the network with a local user account.

There’s a registry key that we can use to change this behavior to work the same as Windows XP. This will make your computer less secure, and I can’t recommend that you do this… but it’s also good to understand how Windows works.

Manual Registry Hack

Open regedit.exe through the start menu search or run box, and then navigate down to the following key, creating a new key if it doesn’t exist.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

image

On the right-hand side, add a new 32-bit DWORD value named LocalAccountTokenFilterPolicy and set the value to 1.

To remove this tweak you can set the value to 0 or just delete the key.

At this point you can map to the C$ share and also perform some other administrative tasks remotely. Note that you will need to enable file sharing in the network and sharing center, and make sure that your firewall settings will allow sharing.

| More
This article was originally written on 10/10/07 Tagged with: Managing Files and Folders, Networking and Sharing, Privacy and Security, Windows 7, Windows Vista

Daily Email Updates

You can get our how-to articles in your inbox each day for free. Just enter your name and email below:


Name:
Email:

Comments (6)

  1. Richard Clark

    Excellent! Just what the doctor ordered. Thanks.

  2. Robert

    Excellent! I’ve been looking for this information for the past two days, since I got my new computer. I could not get network file access (\\hostname\c$) to work at all. Hopefully this will be the fix I’ve been looking for.

  3. Josh

    Actually, this is totally unnecessary. What you should do instead is go through the new ’sharing wizard’ and share some random folder. I just made a new one and shared it. After that, your c$ etc. folders are created automatically. You can delete the random folder afterwards, and the c$ folders remain shared – no registry hacking required.

  4. Oliver Treend

    This is excellent! Thank you!
    This has allowed me to access the C$ share on my Vista Home Premium machine.
    But for some reason, it’s also enabled remote shutdown. So now I can use the DOS shutdown command from another Windows machine, or ‘net rpc shutdown -C “Remote Shutdown” -I -U ‘. I couldn’t do this before changing this registry key – so you’ve helped me fix both problems with just one simple change!
    Thank you!

  5. M.A.D.MikE

    Just wanted to thank you, as i’ve been punching myself for a half an hour in frustration trying to do that on my freshly installed Windows 7 :)

  6. Jane

    This website is great! Loads of info. I have set a link on my own blog back to this site. Hope that is OK.


Leave a Comment




Leave your friendly comment here.

If you have a computer help question, click here to leave it on the forums instead.

Note: Your comment may not show up immediately on the site.

Our Friends
Getting Started


About How-To Geek
What Is That Process?
svchost.exe
jusched.exe
dwm.exe
ctfmon.exe
wmpnetwk.exe
mDNSResponder.exe
wmpnscfg.exe
rundll32.exe
wfcrun32.exe
Ipoint.exe
Itype.exe
Wfica32.exe
Mobsync.exe
conhost.exe
Dpupdchk.exe Adobe_Updater.exe

Copyright © 2006-2009 HowToGeek.com. All Rights Reserved.