Logon Script not working-HELP!

  • Thread starter Thread starter OregonSteve
  • Start date Start date
O

OregonSteve

Greetings-

W2Ksp2; Testing logon scripts.

I've created a new GPO called Logon Scripts. I've created a script file
called 'tscript1.bat' I've linked it to an OU called "IS" which in turn has
a sub-OU called "users" in which there is the user object that I'm using for
testing.

I've added the logon script under User Configuration-->Windows
Settings-->Scripts-->Logon. I've also enabled the setting to make the logon
script visible.

Script is simple: net use t:\\testserver\test_vol1\sharename

I've ran 'GPupdate' from the workstation, rebooted, looged off/on, but I
don't see anything on the workstation to indicate that the script has been
ran.

I've done an RSOP and it shows that the Logon Script policy/settings are
being read.

When I try to map on the workstation from a command prompt, I get: System
error 67 has occured. The network name cannot be found.

I've run 'nslookup' and it does return the correct IP when I submit the
server name.

Thanx
OregonSteve
 
Greetings-

Thanks for the reply... my colleague fijured it out for me. I had the
syntax wrong for the mapping. I'm used to NetWare where you need to list
\\server\volume\folder In W2K/AD with a share, there's no need to list the
volume, just \\server\share.

Now my challenge is to figure out how to use IFmember in a "parent" script
file to map based on Security Group membership, using "child" script files.
I can't figure out where to put the "child" scripts or the syntax to point
to them from the "parent".

Thanx
OregonSteve


Victor H. Briseno said:
It sounds like the script is running but returning an error. Where did you
store the script? Inside the gpo? If not, log in as the user which is
expecting the policy and run the bat file using the path used in the gpo
setting and very the script runs.

--
===================
Victor H. Briseno [MSFT]
===================
This posting is provided "AS IS" with no warranties, and confers no rights.
OregonSteve said:
Greetings-

W2Ksp2; Testing logon scripts.

I've created a new GPO called Logon Scripts. I've created a script file
called 'tscript1.bat' I've linked it to an OU called "IS" which in turn has
a sub-OU called "users" in which there is the user object that I'm using for
testing.

I've added the logon script under User Configuration-->Windows
Settings-->Scripts-->Logon. I've also enabled the setting to make the logon
script visible.

Script is simple: net use t:\\testserver\test_vol1\sharename

I've ran 'GPupdate' from the workstation, rebooted, looged off/on, but I
don't see anything on the workstation to indicate that the script has been
ran.

I've done an RSOP and it shows that the Logon Script policy/settings are
being read.

When I try to map on the workstation from a command prompt, I get: System
error 67 has occured. The network name cannot be found.

I've run 'nslookup' and it does return the correct IP when I submit the
server name.

Thanx
OregonSteve
 
Back
Top