Trying to restrict some share access on a simple network I made a syntax error or two, and googled net share and hidden share. This sort of thing came up many times:
"to create a hidden share enter...
net share concfgC:\ /GRANT:username, FULL
" ...and was touted as a hack! and totally mischievous stuff.
Well, I thought you created "hidden shares" by using sharename$.... and so the cmd would be...
net share hideyhole$=D:\secretstuff /GRANT:username, FULL
-which, of course, works. And looks silly, and isn't very hidden.
The first cmd just throws, obviously, syntax error. So what is this concfg thing? It's variously in posts also as concfg and concfg". Also, C:\ will already be shared as C$, so that also won't run.
What's going on? Oh, I don't need help on the initial thing, creating the restricted share.
Recommended Answers
Jump to PostYou are correct in that appending $ to the share name makes it a hidden share, however all shares are by definition restricted, it's just a matter of to what degree. You control
- who has access to the share
- what access rights they have
If you want to assign …
Jump to PostTechnically, the default hidden shares are known as administrative shares. I used to do development/support for the system operators in our control centre (Manitoba Hydro). Because I was a sysadmin with complete access I would always use the admin shares to access their computers from my desk.
If the share …
Jump to PostI disagree. By your scenario anyone who is not in Sales will have full permission. That includes the right to modify existing permissions. Not a good idea because then you have to keep track of who you don't want to have access and that's a lot more difficult then granting …
All 9 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.