This driving me a bit crazy because I’ve done another script using this method and it worked fine (I’ve since removed that script) and yet this one doesn’t work.
The problem is this…I’ve created an incredibly simple one line script that makes use of the NET USE command to create a drive share on server that is on the same domain as the PDC.
Just as text books have it I dropped my 1kb “XDRIVE.BAT” file in the C:\Winnt\System32\Repl\Import\Scripts location.
Through user profiles optionof the User Manager for Domains feature I typed in XDRIVE.BAT as the logon script to execute.
I’m not using system policies at the moment..there are no home directories either.
Not that any of that should matter, but just proving how simple the setup is right now.
This is a new server that just took over as PDC, if that has anything to do with anything.
I don’t see how though, since it views the NETBIOS names correctly and has no problem browsing or sending files accross the network to ANY of our servers.
I’m totally doing this on the experience of how I’ve done my last script , which let me remind everyone, worked fine.
So why isn’t this one working?
Btw, when you test the script find (execute the .bat file locally) it works like it should and creates the drive share. Its just not executing when a user logs on to the domain.
Its nerve wracking, because I know I’ve done the same procedure before on our OLD NT 3.51 PDC and it worked first time through.
I even double checked that I’m following protocol with where I saved my .bat file and how I entered it in the user account…everything is in line with what Microsoft help suggests.
Any advice?
Btw, the point of the script is to create a shared drive connection on each users system so they have a network backup point to dump certain files to.
later.