Computing.Net > Forums > Windows XP > Login Script amendment for file map

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Login Script amendment for file map

Reply to Message Icon

Name: Celia
Date: December 12, 2007 at 03:47:17 Pacific
OS: Windows XP
CPU/Ram: Intel and 512Mb
Product: HP
Comment:

HI - I need help. I am trying to amend our login script so that when users log on a drive will be mapped for them. I also need to add a username and password into the script to allow them access.

Although the users are part of the same company, they are set up on a different domain, so this is why I need a password authenticating them.
I have found the .bat file I need to amend and I have made sure that all the users profiles have this in already!! I just need to amend it!!

Please can someone help!! Any help would be great!



Sponsored Link
Ads by Google

Response Number 1
Name: wanderer
Date: December 12, 2007 at 08:02:37 Pacific
Reply:

Start by explaining the different domains. Are they in the same Forest?

Imagine the power if you knew how to internet search


0

Response Number 2
Name: Celia
Date: December 12, 2007 at 09:13:10 Pacific
Reply:

HI

It is a bit of a strange set up.

We have 3 domains, not in the same forest. then we have branches outside the domain that are set up with local accounts but connect in through vpn connection. So for the domain I need to map the drive onto, they connect to us through vpn, but apart from that we don't have them in the same AD forest, so their user details are sat on a different server in the branch and we do not see their address book from our site.

Hope this helps a bit!!

Cheers


0

Response Number 3
Name: tonysathre
Date: December 12, 2007 at 14:26:52 Pacific
Reply:

Make sure to enable "Allow cross-forest user policy and roaming user profiles" via a GPO on both domains.

I'm confused as to what you need help with. The script itself, or getting the script to execute across forests.

"Computer security." — Oxymoron


0

Response Number 4
Name: Celia
Date: December 13, 2007 at 04:45:16 Pacific
Reply:

Firstly i was wanting to amend the script on the server which the users connect to, which will map the relevant drive for them when they log on, I also need to put in there the username and password from our site to allow them to authenticate.

I have mapped manual drives at the moment and used one of our usernames from this site and this works fine until they log off, So I need something that will map the drive and keep the password authenticated everyday!

Cheers!


0

Response Number 5
Name: tonysathre
Date: December 13, 2007 at 05:16:29 Pacific
Reply:

If your having problems keeping the drive mapped, and your using net use to map the drive, add the /persistent:yes switch to your script, which is equivalent to checking Reconnect at logon in the GUI.

"I also need to put in there the username and password from our site to allow them to authenticate."

The only way that would work, is if all your users used the same username and password.

Unfortunately there is no %password% variable like there is for the username (%username%).

Just curious, have you created a cross-forest two way trust?

"Computer security." — Oxymoron


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: Login Script amendment for file map

Login Scripts www.computing.net/answers/windows-xp/login-scripts/29201.html

XP Pro fails to run login scripts www.computing.net/answers/windows-xp/xp-pro-fails-to-run-login-scripts/65701.html

Windows XP and User Login Script www.computing.net/answers/windows-xp/windows-xp-and-user-login-script/147046.html