Re: basic .bat script problem running on 2003 server

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance




"tech-pete" <tech-pete@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7CAF9AE0-9CB1-4373-AD17-08AA085F001B@xxxxxxxxxxxxxxxx
> I have a basic script that we use and it only runs part of it and then a
> message "Batch file missing". If I run the script from the run command on
a
> 98/ME machine from the 2003 server the script runs fine. Only at login is
> when the problem occurs.
> Script:
> net time \\servername /set /yes
> net use * /delete /y (after this line is when we get batch file missing)
> net use z: \\servername\x /y
> net use y: \\servername\x /y
> net use w: \\servername\x /y
> net use v: \\servername\x /y
> net use s: \\servername\x /y
> etc. up to k
>
> We are trying to control all the mapped drives as we migrate to a full
> native 2003 domain, for all our XPpro, 98 & ME machines. XPpro sometimes
> runs the script but sometimes does not run it. thanks.

Where is the script located, and what mechanism is used to cause it to be
invoked? If the script is run from whatever share is mapped to drive "Z:",
for example, you should expect a problem when that drive letter is remapped
elsewhere.

/Al


.



Relevant Pages

  • Re: List users mapped drives on a remote PC
    ... Scott McWilliams wrote: ... > mapped drives remotely. ... but I can't find any reliable listing of the current mapped drives ... I have built my script around ...
    (microsoft.public.scripting.vbscript)
  • Re: Script initiate a drive connection?
    ... Network & Software Integration ... Dim objWMI, objPing, colPings, ServerOnline, Result ... in a script the double click on a disconnected drive. ... automatically connect map drives on boot up.) ...
    (microsoft.public.windows.server.scripting)
  • Re: Script initiate a drive connection?
    ... I tried this script and received an error "The NTVDM CPU has ... Dim objWMI, objPing, colPings, ServerOnline, Result ... Network & Software Integration ... automatically connect map drives on boot up.) ...
    (microsoft.public.windows.server.scripting)
  • Re: ubuntu-users Digest, Vol 54, Issue 174
    ... For a specific usb drive I instead want a script to run (to run ... folks: random vnc attempts ... the security updates to get into the system to fiddle with rootkits. ...
    (Ubuntu)
  • Re: mapped drives and desktop shortcut all a group of users
    ... I added the logon script in the user config area of the default domain GPO ... I updated group policy on the DC and the workstation I was working on ... As mapped drives are generally profile specific, ...
    (microsoft.public.windows.server.active_directory)