News, Product Information, and Tips
Check out our free utlities in the downloads section

Windows 7 – The $admin share

by Steve Wiseman on August 19, 2009 · 12 comments

in Admin$ share,File and Printer Sharing,Windows,Windows 7

I got my shiny new copy of Windows 7 today from MSDN. It became available to MSDN subscribers earlier this week.

If you have access then give it a spin, there are some excellent improvements over Vista.

I installed it today to test some of our software. One issue, that is also in Vista, is that file and printer sharing and the $admin share are disabled out of the box.

This is fine for your computer at home. You don’t want this turned on unless you absolutely need to.

In a corporate environment it is used quite a bit by the likes of Backup Exec, the distribution tool for Kaspersky antivirus, the remote execute tool PSExec from SysInternals, and last but not least our admin tools heavily rely on the admin share too.

The simple fact is if you need to push software remotely, you are going to need access to the $admin share.

This special share is automatically created when Windows is installed, but it is not available unless file and printer sharing is turned on.

Like I said before, this is disabled by default in Windows 7, and unfortunately Microsoft has yet again changed the method to turn it back on. The steps you need to take are now different than the ones you took in Vista.

How do you get it back up and running in Windows 7?

Start by going into the control panel.

Click on “Network and Internet”

File and Printer Sharing

Then click on “Network and Sharing Center”

Windows 7 Network and Sharing Center

A new window will be displayed. Look on the left side.

See the item that says “Change Advanced Sharing Settings” – Click on it.

Windows 7 Admin Share Settings

Now you are shown different profiles.

Windows 7 Admin Share Settings

The list can change depending on how your system is configured. Windows 7 will determine automatically what profile your network card is using. You may want to enable file and printer sharing on all of them, or limit it to the “Home or Work” profile for higher security.

Expand the profile you want to modify, and scroll down until you see “File and Printer Sharing”

Click on “Turn on file and printer sharing”

Windows 7 File and Printer Sharing

Save your changes.

I wish I could say that is all you need to do, but unfortunately you also need to make a registry change.

Open regedit, and drill down to this key:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System

Under this key you will need to create a new DWORD value called:

LocalAccountTokenFilterPolicy

Admin Share Registry
Set it to 1, and reboot.

Now you can access the $admin share on your Windows 7 machine.

Like this article? Then sign up for my newsletter to get free tips and software sent right to your inbox once a week. Like you, I hate spam – I will never spam, or sell your email address.

Related Articles:

{ 12 comments… read them below or add one }

1 Richard August 23, 2009 at 5:16 am

For Windows 7 64-bit versions does one use a new DWORD (32-bit) Value or the QWORD (64bit) Value?

2 Steve Wiseman August 26, 2009 at 3:44 pm

You would still use the 32 bit value. This does not change in the 64 bit version of windows.

3 Mike August 28, 2009 at 9:52 am

Reboot was not required in my case.

4 Vadm August 31, 2009 at 12:31 pm

Excellent advise – worked first time!
Thanks.

5 David August 31, 2009 at 5:15 pm

Good god you saved me a lot of time. This was driving me crazy! Thanks!

6 Daniel Chatfield October 18, 2009 at 7:38 am

Thank you so much, PSexec now works remote cmd prompt remote install etc.

7 John Lewin January 24, 2010 at 6:00 am

Thank you soooo much. I’ve been stuck on this for countless hours and finally google helped me get here. I knew it was a policy thing but Network Security: LAN Manager authentication level didn’t fix it. Thanks again!

8 Fred Dixon January 24, 2010 at 4:34 pm

Hi, This also gave me th c$ share that I was looking for

9 MSM April 7, 2010 at 11:23 am

This still does not work for me. I use psexec to run a batch script that creates couple of folders under C: and then copy files from a shared folder to the local drive on the remote machine. I am running the install on to a remote machine with -u and -c options when running the batch file with psexec. Please advise. I follwed the above steps and still cannot figure out why the install does not work.

10 lumpy May 25, 2010 at 6:44 am

u rock man, saved me alot of problems when installing kav….

11 Wesley August 18, 2010 at 9:39 am

very nice man!! saved a lot of trouble installing/administering systems remotely

12 Steve Wiseman August 18, 2010 at 9:39 am

Glad it helped. It took me a while to figure it out myself :)

Leave a Comment

t