Link to home
Start Free TrialLog in
Avatar of AKTII
AKTII

asked on

Login script - Windows 2012 Std

Hello all,

for some reason i am unable to get the login script working on users login to map shared drives. I've put the .bat file in a correct path and users have rights to the shares. I am able to map the drives manually by running the .bat file but not via the login script.

Ideally we would like to avoid using the group policy but just wanted to know if there's something we are doing wrong. It worked fine on server 2003 but not loading on 2012.

Please advice.

Many thanks,
Avatar of Trent Smith
Trent Smith
Flag of United States of America image

Can you post the login file?

net use * /Delete (will delete all network drives)
net use S \\Server\Share (will map the S drive to specified location)

For more information check out this site.
http://www.howtogeek.com/118452/how-to-map-network-drives-from-the-command-prompt-in-windows/
SOLUTION
Avatar of pjam
pjam
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AKTII
AKTII

ASKER

contents in the file as follows:

@ECHO OFF
NET USE H: /delete
NET USE H: "\\FILE01\Projects" /persistent:yes
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial