Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

gpo/login script problem

Status
Not open for further replies.

stangdude

IS-IT--Management
Feb 13, 2007
10
US
I have my login script run during my gpo processing. For some users it seems to work fine but not for my accounting users. Below is the script
\\fco-s001\sysvol\fco.com\scripts\pushprinterconnections.exe

rem ******mappings for accounting****************************

ifmember "fco accounting"

if not errorlevel 1 goto domain admin

net use w: \\fco-s001\apps\peachw

net use v: \\fco-s001\quickbooks

rem ****** drive mappings for administrators*********************

:Domain Admin

ifmember "domain admins"

if not errorlevel 1 goto common

net use s: \\fco-s001\d$

:common

net use x: \\fco-s001\fco\fco-users\%username%

net use y: \\fco-s001\fco\fco-apps

net use z: \\fco-s001\fco\fco-company

:END

Exit

I don’t receive any errors anywhere in log files or anywhere else I have seen.

Here are the things I have tried in order to solve this.
1. Enabled port fast on the switches.
2. Enabled slow ling processing.
3. Set dns to static entry.
Any help would be great.
 
is there a firewall in between?

_________________________________
IBM CP, MCP 2000, E60 driver ;-)
 
I'd go the systematic troubleshooting approach myself. What do the problem users all have in common?

Copy the login script locally onto the users' PCs, then run (double click) the script while logged in as the user.

The idea here being, let's rule out the GPO side of things first.

If the script runs properly, when not launching via the GPO, the script itself isn't your problem etc..

Is it possible that the GPO isn't getting applied to the accounting users, because they're all members of a windows global group that doesn't have access to the GPO?
 
go figure it runs fine when it is local. That gpo is only applied to that ou and they have group member ship to three groups, domain users, fco, and fco accounting. So they should only get the default domain policy which just sets password length and autolock. The other policy is what maps the drives and pushes printers. Goofy thing is they get two of the five mappings.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top