Sie sind auf Seite 1von 3

Everyday Nerd

Just your everyday nerd

Windows 7 Enable $admin share


Posted on August 20, 2009 by Nerd

So Ive been running Windows 7 RTM for a while now, and really liking it. There are a few gotchas, and the $admin share is one of them. Out of the box, Windows 7 (and Windows Vista) disabled File and Printer sharing, as well as the $admin share. Normally, in the home environment, the $admin share is not needed, but in the corporate world, its used quite regularly, especially with tools like psexec, IntelliAdmin tools, and certain software deployments. This is how to enable the $admin share in Windows 7: First, Folder and Printer Sharing must be enabled. Open the Control Panel, and select Network and Internet. Then click on Network and Sharing Center.

Look to the left side of the Network and Sharing Center, and click on Change advanced sharing settings.

In the new window, you can change each networks sharing settings (Home, Public, and Work/Domain). Expand the profile you want to modify, and click on File and Printer Sharing

Save your changes. Next (I know, I wish it was just that easy) you have to add a registry key. Open Regedit, navigate to HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System create a new DWORD: LocalAccountTokenFilterPolicy with the Value of 1

Reboot. You can now access the $admin share remotely. Related posts: 1. Edit File Types in Windows Vista

2. Windows 7 Super Admin folder 3. Windows 7 Remote Server Admin Tools Beta released (RSAT) 4. Easy hyperlink trick for Windows (Even if it has a space in the UNC path) 5. Windows Home Server
This entry was posted in 7, Fix, How To, Microsoft, Remote Access, Tip, Windows. Bookmark the permalink.

8 Responses to Windows 7 Enable $admin share


Perry says:
August 20, 2009 at 7:47 pm

Although this procedure works for allowing admin shares, it is not secure. Admin shares are supposed to allow access to administrators of the domain or local machine. This configuration as explained here allows everyone and anyone to access the shares.

Nerd says:
August 21, 2009 at 6:16 am

@Perry I couldnt agree more. I only posted because someone asked me how to enable it. This should only be done if absolutely needed, and not on a large scale for sure!

bogsheet says:
April 12, 2010 at 7:17 pm

wat are you on about perry this does not enable admin shares for non-admin accounts. it is therefore not the security risk that you imply either.

Perry says:
September 8, 2010 at 8:22 pm

If you are logged in as an Administrator on machine 1 and try to access machine 2 through admin shares it allows access even if the UserName and password dont match. The proper operation is only if you are logged in as an administrator with the same credentials should access be allowed otherwise you should be chalenged with a credential dialog. This does not occur thus it is a security problem. Does anyone have a solution so Admin shares work properly?

Pingback: Ku pamici: Wczenie udziaw administracyjnych w Windows 7 notepad of Karol Stilger

Chris says:
April 18, 2011 at 1:33 pm

@Perry you are still incorrect. The LocalAccountTokenFilterPolicy setting is only disabling user account control for remote connections. With that policy set to 1, remote users will still be prompted for credentials and will only have administrative rights if the credentials provided have local administrative rights on the computer. Normal users will not automatically be granted admin rights and the only way you will not be prompted for credentials is if you are logged in as an account that has the exact same username and password on a remote machine. http://support.microsoft.com/kb/951016

Windows Tech says:


September 14, 2011 at 5:11 pm

Thanks for the post. I was missing the last step with adding DWORD: LocalAccountTokenFilterPolicy

Joe says:
September 30, 2011 at 3:53 pm

Chris is correct. This is indeed secure. In fact, the admin$ and c$ shares used to be enabled by default up through Windows XP, including Windows NT, Server 2000, and 2003.

2011 - Everyday Nerd

Proudly powered by WordPress. 2010 Weaver by WPWeaver.info

Das könnte Ihnen auch gefallen