Friday, July 13, 2012

Granting access to admin$

Recently Microsoft has been taking security serious (well, they are at least trying). For those of you who have installed Exchange 2010 you know what I'm talking about. Previously when installing Windows (or Exchange) everything was wide open. Pretty much an "enable everything, close it later if you don't want it" type of mentality. Lately they have been closing or disabling services, not installing all components unless needed and turning on all software firewalls.

Recently I was installing software from a server that needed to connect to the admin$ share on a computer and install components. So i did my usual:

net share admin$ /users:5


I was able to connect but couldn't make a directory. After looking at the help I needed to add the admin$ share using this command:

net share admin$ /users:5 /grant:username,full


username being either a local or domain username. If using a domain username make sure to put the domain name followed by a backslash and then the username (ie, contesto\bsmith)

No comments:

Post a Comment

Error 1312 when adding ssl cert

 If you get an error when using netsh to add a cert thumbprint, make sure you have a private key attached to the cert. Also, make sure the c...