General discussion

Locked

Login scripts in GPO dont run

By LincDK ·
We have a fair few machines in the organisation but one three recently built DELL machines the login script to map drives (a VBS script) wont map run. The MyDocument's Redirection via GPO works fine, manually running hte script via the SYSvol directory works fine.

There doesn't seem to be any errors in the Event log. It's got me stumped that.

Any ideas? Lots of points on this one because it's nailed me and my staff are laughing at me.heheh.

This conversation is currently closed to new comments.

9 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by Garret` In reply to Login scripts in GPO dont ...

Have you done any or all of these:

edit/create a .bat file in the folder C:\WINDOWS\SYSVOL\domain\scripts
add the line:
net use X: \\server\folder
save the .bat file
add the file name to the user's profiles under logon script
given that user correct permisson on the mapped folder

??

Collapse -

by LincDK In reply to

Poster rated this answer.

Collapse -

by Matt H In reply to Login scripts in GPO dont ...

I have a couple of vbs login scripts in the netlogon share of my DC, and are set to read-only. They run fine from a GPO and I can log into any PC on the WAN anywhere in the country and they run perfectly, and map drives to my servers here. Are you running AD or is it a local policy? Is it a permissions thing? Catches me out all the time.

Collapse -

by LincDK In reply to

Poster rated this answer.

Collapse -

by LincDK In reply to Login scripts in GPO dont ...

I tried the batch file in the script dir etc and that worked fine. That user is fine, but the others aren't.

Re the permissions. Only the PC has changed with at least one user. I rebuilt her another machine and that's when this started happening.

I dont want to manage the login scripts via the profile tab of the user account. So much easier via GPO.

Any other ideas?

Collapse -

by jon In reply to Login scripts in GPO dont ...

There should be a sysvol folder that's shared which is nested below the domain.com folder for your server's domain.

If you place the script in that folder and then apply the script within a GPO, you should be fine.

I'd be happy to give you my exact setup if you want to open a support incident at my website:

www.jongriffith.com/support

Collapse -

by LincDK In reply to

Poster rated this answer.

Collapse -

by LincDK In reply to Login scripts in GPO dont ...

I've found the solution and it wasn't where I thought it would be. Turns out it was simply network congestion. There was alot of interswitch traffic probably delaying responses from the file server and hence could not map the drives, but when I ran them manually later on they would work Ok.

Thanks for the ideas all.

Collapse -

by LincDK In reply to Login scripts in GPO dont ...

This question was closed by the author

Back to Windows Forum
9 total posts (Page 1 of 1)  

Related Discussions

Related Forums