Jump to content

Recommended Posts

Posted

I've just re-written a few logon scripts.....both a .bat and .vbs file.

 

The logon script applies perfect on my computer ONLY for some reason......but if i go to another pc or laptop nothing, I know this is a silly problem!!

 

any ideas?

Posted

Here we are, bog standard it is:

 

 

 

@echo off

Net Use I: \\shackleton\IT

Net Use H: \\shackleton\Home\%username%

Net Use Y: \\yoda\data

Net Use P: \\shackleton\ReceptionPlasma

Net Use S: \\skinnerssims\SIMS

Net Use G: \\shackleton\UTILS

Net Use M: \\shackleton\MediaShared

Posted

change it to, it should work then. You will need to use the full DNS name.

 

@echo off
Net Use I: \\shackleton.domain.local\IT
etc....

 

Another option would be to use the IP address instead of the server name.

Posted

you will now becuase of the trust i am in a forest with 10 domains and we have to do it.

 

you might also have to set forwarding DNS servers

Posted
change it to, it should work then. You will need to use the full DNS name.

 

@echo off
Net Use I: \\shackleton.domain.local\IT
etc....

 

Another option would be to use the IP address instead of the server name.

 

Nope, didnt work.

 

Ian.

Posted

Take the echo off, and run the script visibly on a workstation other than your own.

 

If your default dns suffix is set correctly you shouldn't need the full name.

Posted

I've gone onto a laptop, logged on as me..........

 

I run the batch locally and runs fine but still not applying when logging on

 

(and yes I have put it all in the AD and GP etc)

Posted

Have the drive letters already been assigned for something else on other machines? Maybe from an old script?

 

EDIT: Ignore me - updated whilst replying :p

Posted

Are you running more than 1 script at logon? I think you can change then to run syncronisly (spelling:confused: ) Have you got this in the user logon script or as a group policy in the Users OU?

 

I used to put mapped drives in the logon scripts rather than group policies. Have you tried applying it to the logon scripts to see if it makes a difference?

Posted
Is there anything particularly odd about your machine? Is it in a seperate OU, set to ignore inheritance of group policies or anything similar?
Posted

I would enable visible logon scripts

 

User > Admin Templates > System > Scripts

 

see what the script has to say about it.

 

I am having a similar issue when using Cisco VPN Client, I can connect and ping everything manually, but as soon as I ask a script to do it, it just provides me with Error 53 - Network path not found. Haven't found a fix but it is only effecting one laptop.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...