Question : Drive mapping script

Hi there
My 'scripting guy' has become victim to the swine flu which has left me single handily deploying a domain.

I'd be utterly grateful if someone could help me compose a script, ideally dos command based/batch script that will query the logging on user's user name in Active Directory and will map the h: to that user's private area.

i.e. jsmith logs on script runs in Windows xp and \\servername\users\jmsith is mapped accordingly where ever the user logs on.

I'm partial to kix too but unfamiliar.

Detailed instructions would be utterly appreciated.

Kind regards
Gene Hunt

Answer : Drive mapping script

Assuming that the user logs on to Windows with the same credentials as AD has for that user, then you have created the script almost yourself.

In a batch file:

NET USE H: \\servername\users\jsmith

Hope that helps. ... Thinkpads_User
Random Solutions  
 
programming4us programming4us