Subscribe
Subscribe to our newsletter and get 11 free network administrator tools, plus a 30 page user guide so you can get the most out of them.
Recent Posts
- Avoid the Windows 10 Anniversary Update!
- Windows 10 free upgrade ends today
- Remote Control Enterprise 5.6 Released
- Remote Control 5.6 Released
- Prevent the Windows 10 Download
- Remove the Windows 10 upgrade nag message
- Automatically reboot idle computers
- Enterprise Remote Control Update
- Convert Hyper-V to VMWare
- Utility to clean out temp files
- Easy solution for “Cannot delete “file name”: The file name you specified is not valid or too long.”
- Windows flaw found – Make sure you patch today
- Burn files from the command line
- Enterprise Remote Control – Security Update
- Shutdown or reboot computers remotely
- The next version of Windows – Windows 10
- Shellshock – A vulnerability to look out for
- Power up computers remotely
- New tool from SysInternals – SysMon
- Enterprise Remote Control Security Update
- Free Backup Software for Hyper-V
- Free Networking and Windows Server Tutorials
- Turn virtual machines on and off from a script (Hyper-V)
- Remote Control 5.4 MSI Distribution
- Remote Control 5.4 Distribution Update
- Boot Windows 8 from an external drive
- Remote Control 5.4 Released
- Microsoft’s best kept secret – EMET
- Force Automatic Updates – Part 2
- Remote Control Beta 2 Released
- Clean up temp files remotely – Version 2
- Enterprise Remote Control – Security Patch
- Beta – Remote Control 5.4
- Important Security Mailing Lists
- See if a program “phones home”
- Security for virtual environments
- Windows XP Support Nag Window – FYI
- Tabbed folder view for Windows
- Free IT Training materials
- USB Disabler Pro Released with Free Edition
- Block Flash Drives, Phones, and Removable Media
- Free Windows Server 2012 R2 EBook
- Cleanup temp files remotely
- A simple IP Scanner for Windows
- Enterprise Remote Control Update
- Delete temp files from all user profiles
- Execute Defrag Remotely
- Cleanup Automatic Update Files Remotely
- Command prompt replacement for Windows
- Find your Windows 8 Product Key
- Show network activity in the system tray
- New build of Enterprise remote control released
- Network Administrator Update – IE Blocker Fix
- Prevent an Internet Explorer 11 automatic install
- Free tool to remotely manage Hyper-V
- Burn a DVD or CD from the command line
- Free backup utility for virtual machines
- Remove offline printers using vbscript
- Enterprise Remote Control Released
- Activity report for Windows – See what a user has been doing
- Sprinkler system controlled by a Raspberry Pi
- Disable cloud features in Office 2013
- Enterprise Remote Control – Final Beta
- Secure the Google Chrome Web browser using Group Policy
- Enterprise Remote Control – Users Guide (Rough Draft)
- A free tab based remote desktop tool
- Enterprise Remote Control Beta Released
- Remote support without the monthly fees
- Get the dell service tag remotely
- A simple utility to help users print system information
- A Windows 2012 RDP Shadowing Alternative
- The NSA Guide to finding private information on the Internet
- Get a Network Information Tool for Windows
- Block IE 10 – Keep it out of automatic updates
- Remote Control Online Beta 4
- The Internet in 1995
- Software to help you free up hard drive space
- How to refresh group policy remotely
- Remove unwanted programs easily
- New version of SystemInfo.exe Released
- Import a .reg file remotely
- How your users can easily report their system information to you
- How to list all USB devices on your network
- Remote Control Online Beta 3
- Force windows updates remotely – even when WSUS can’t
- Enable File and Printer sharing from a script
- Add a domain group as a local administrator from a script
- Find files quickly in Windows
- File and Drive Defrag Tool – UltraDefrag
- Peek around your network with a free utility
- Free Virtualization Software
- 10 Free E-Books from Microsoft Press
- Remote Control Online Beta 1.1
- Free E-Book – Windows 8: An overview for IT Professionals
- Remote Support over the Internet
- Windows 8 – Enable the Admin Share
- Set wireless settings from a script
- Manage automatic updates from the command line
- Easily disable file encryption
- Spy on computers remotely
Search
Archives
- August 2016 (1)
- July 2016 (1)
- May 2016 (2)
- February 2016 (1)
- July 2015 (1)
- March 2015 (3)
- February 2015 (2)
- November 2014 (2)
- October 2014 (3)
- September 2014 (3)
- August 2014 (3)
- July 2014 (3)
- June 2014 (1)
- May 2014 (3)
- April 2014 (4)
- March 2014 (4)
- February 2014 (4)
- January 2014 (4)
- December 2013 (3)
- November 2013 (3)
- October 2013 (4)
- September 2013 (4)
- August 2013 (1)
- July 2013 (5)
- June 2013 (3)
- May 2013 (5)
- April 2013 (4)
- March 2013 (5)
- February 2013 (3)
- January 2013 (3)
- December 2012 (2)
- November 2012 (4)
- October 2012 (4)
- September 2012 (4)
- August 2012 (5)
- July 2012 (3)
- June 2012 (5)
- May 2012 (4)
- April 2012 (4)
- March 2012 (4)
- February 2012 (5)
- January 2012 (4)
- December 2011 (4)
- November 2011 (5)
- October 2011 (4)
- September 2011 (5)
- August 2011 (5)
- July 2011 (4)
- June 2011 (4)
- May 2011 (4)
- April 2011 (4)
- March 2011 (5)
- February 2011 (2)
- January 2011 (4)
- December 2010 (4)
- November 2010 (3)
- October 2010 (5)
- September 2010 (3)
- August 2010 (5)
- July 2010 (5)
- June 2010 (5)
- May 2010 (5)
- April 2010 (2)
- January 2010 (1)
- September 2009 (4)
- August 2009 (4)
- July 2009 (5)
- June 2009 (9)
- May 2009 (8)
- April 2009 (3)
- March 2009 (1)
- February 2009 (2)
- January 2009 (7)
- December 2008 (11)
- November 2008 (21)
- October 2008 (10)
- September 2008 (1)
- August 2008 (2)
- July 2008 (12)
- June 2008 (3)
- May 2008 (3)
- April 2008 (4)
- March 2008 (3)
- February 2008 (8)
- January 2008 (7)
- December 2007 (7)
- November 2007 (17)
- October 2007 (23)
- September 2007 (19)
- August 2007 (25)
- July 2007 (2)
- June 2007 (11)
- May 2007 (1)
- April 2007 (6)
- March 2007 (6)
- February 2007 (6)
- January 2007 (10)
- December 2006 (23)
- November 2006 (35)
- October 2006 (8)
- September 2006 (6)
- July 2006 (4)
- June 2006 (8)
- May 2006 (7)
- April 2006 (14)
- January 2006 (20)
- May 2005 (1)
Windows 7 – The $admin share
by Steve Wiseman on August 19, 2009 · 21 comments
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.
One more thing…Subscribe to my newsletter and get 11 free network administrator tools, plus a 30 page user guide so you can get the most out of them. Click Here to get your free tools
{ 21 comments… read them below or add one }
For Windows 7 64-bit versions does one use a new DWORD (32-bit) Value or the QWORD (64bit) Value?
You would still use the 32 bit value. This does not change in the 64 bit version of windows.
Reboot was not required in my case.
Excellent advise – worked first time!
Thanks.
Good god you saved me a lot of time. This was driving me crazy! Thanks!
Thank you so much, PSexec now works remote cmd prompt remote install etc.
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!
Hi, This also gave me th c$ share that I was looking for
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.
u rock man, saved me alot of problems when installing kav….
very nice man!! saved a lot of trouble installing/administering systems remotely
Glad it helped. It took me a while to figure it out myself π
Steve, Thanks for the info.
I have tried this on several systems and some work fine and some do not.
Let me give some information. Have several 100 systems in a domain enviroment (2003). Some systems XP and some Win 7 – The XP systems have no issues with Admin C$ in the domain – The Win 7’s are the weird ones – we used the registry fix to create the the LocalAccountTokenFilterPolicy – some of them it worked right away with/without reboot. Admins has access to the whole drive even the documents&settings local settings folder.
We have a few systems that will absolutely not work – All these systems were built by Dell. We require them to have at least Win7 Professional or Ultimate –
My question to you is – Does this work on certain versions (Service Packs) or certain versions of Windows 7
I don’t think there is a difference between service pack versions. Where the difference comes in is when the machine is first attached to the Network. Windows will ask you if it is a home, work, or public network. Depending on which one is picked will change firewall, and the token registry value
Is it possible to make this change for Win 7 system through Group Policy?
Yes, I think this article will walk you through it:
http://www.intelliadmin.com/index.php/2008/12/enable-file-and-printer-sharing-using-group-policy-2/
One thing it wont do is start remote registry and set it to automatic…you will still need to find other ways to do this.
You can accomplish this with our free tool, Network Administrator:
http://www.intelliadmin.com/index.php/network-administrator/
You are THE MAN. The registry key was what I needed to add.
Will the trial work? So far it has not.
Although it claims it has.
Do I need to purchase and register?
“Success”,”RTIWSLELM028″,”Starting…”
“Success”,”RTIWSLELM028″,”Operation completed successfully”
“Success”,”RTIWSLELM028″,”Operation completed successfully”
“Success”,”RTIWSLELM028″,”Operation completed successfully”
“Success”,”RTIWSLELM028″,”Operation completed successfully”
“Success”,”RTIWSLELM028″,”Operation completed successfully”
Sorry it’s the IE Automatic Install Blocker I’m trying to push to RTIWSLELM028.
Hi,
How are you determining that it failed?
Thanks,
Steve
Is there a way to do this directly from the command line on that remote machine?