Link to home
Start Free TrialLog in
Avatar of dougdog
dougdog

asked on

quickly publish a mapped drive to all my windows 7 computers

running on a sbs 2003 server
just installed a new file share on a new 2012 member server
i need to push out this mapped drive to all my clients who are windows 7
i tried a vb script and a login.bat file  but drives dont map
they will however map when script is run manually
i have read that this is because of uac
and a reg key will fix it
however i dont have time to push out reg keys etc
i need to publish this mapped drive asap
Avatar of PowerEdgeTech
PowerEdgeTech
Flag of United States of America image

Have you tried pushing it via Group Policy:  User Configuration, Preferences, Windows Settings, Drive Maps?  This is how I map all shared drives on our network.  No scripts required.
Avatar of dougdog
dougdog

ASKER

You cant do that when using 2003
Avatar of dougdog

ASKER

THAT IS ONLY AVAILABLE IN 2008
It does work from 2003, but you have to edit the GPO using RSAT installed on a Windows 7 workstation.  The drive maps also do NOT work for users that are local administrators on the computers.
Avatar of dougdog

ASKER

All my users are local admins
Is there no other way
ASKER CERTIFIED SOLUTION
Avatar of PowerEdgeTech
PowerEdgeTech
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 dougdog

ASKER

Crazy that this is so easy in xp but not win 7
I can't think of another way ... like I said, I've always done it using GP.

You could tweak the GPO one time to change all users to non-admins, add the mapped drive, then tweak GPO to revert users to admin ... admittedly, not very forward thinking ... just trying to think of alternatives ... you might as well push the registry edit as do this.

Or you could try wrapping your script in an MSI package for deployment through GP ... I haven't tried this, so I don't know what you'd be in for.