Subscribe to How-To Geek

Enable Mapping to \\Hostname\C$ Share on Windows 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 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.

The Geek is the founder of How-To Geek and a geek enthusiast. When he's not coming up with great how-to articles, he's probably writing at his personal blog. This article was written on 10/10/07 and tagged with: Windows Vista, Managing Files and Folders

Comments (2)

  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.


Leave a Comment




Leave your friendly comment here. If you have a computer help question, leave it on the forums instead.

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

Sponsored Links
Getting Started
About How-To Geek
Popular Articles

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