Discussion Locked

Home Directory mapping %username%$

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

When making bulk changes to user accounts in USER MANAGER in NT, to map home directories. I made the following changes U: \\192.168.7.200\%username%$ the share does not map at login.

However if I change the home directory path to U: \\192.168.7.200\joeblogs$ the share mapps fine. I believe there may be an issue in having $ signs straight after a %username%.

Please help

4 replies

by justin james

I could see that being a MAJOR problem. The dollar sign indicates a share that should be hidden from share browsing. There is no reasonable need to hide your shares 99% of the time, especially since the share names are so easily guessed in this case. Dump the dollarsign on the share, you will be much happier.

by allthegoodnamesweregone

for something like home directories, there really isn't a need to make it a hidden share. if everybody has one, everybody knows it, nothing worthy of hiding.

with that said, if you want to further test your theory that the $ after the variable causes a problem, try mapping that drive from a command line using the variable and see what it does.

by neo

1. Click on Start -> Run
2. Type GPEDIT.msc and press
3. Navigate to Computer Configuration -> Administrative templates -> System -> Logon
4. Configure the policy ?Always wait for the network at computer startup and logon? as ?Enabled?, as shown in this picture below:
5. Make sure that this policy is not also configured as a global policy and set to ?Disabled?, as the global policy will override the local one we are setting up.
6. Restart the machine and try to reproduce the problem.

http://search.technet.microsoft.com/search/default.aspx?__VIEWSTATE=&query=%22Always+wait+for+the+network+at+computer+startup+and+logon%22&siteid=1&tab=0&__EVENTVALIDATION=%2FwEWAwLj6ZGYAwLM2NutCQLz7vjkDfpIJoIZt96jNZ3QwUQNLlvEAAos

http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=111153&site_id=1#import

http://mcpmag.com/features/article.asp?EditorialsID=309

by rob miners

is how i used to add users. yes.txt contains y

@echo on
net user %1 %2 /add /fullname:"%3 %4 %5" /comment:"Student user" /homedir:%LOGONSERVER%\%1$ /profilepath:%LOGONSERVER%\Prof_NT$\students\%1 /scriptpath:Student.bat

net group "Domain Students" %1 /add /Domain

md %LOGONSERVER%\prof_95$\students\%1

cacls %LOGONSERVER%\prof_95$\students\%1 /T /G "Administrators":F %1:F

This discussion is closed to new replies.