Re: Running a script in Windows2000 Server

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

From: Jeff Cochran (jeff.nospam_at_zina.com)
Date: 08/26/04


Date: Thu, 26 Aug 2004 17:51:11 GMT

On Thu, 26 Aug 2004 09:47:14 -0700, "DanInTexas"
<DanInTexas@discussions.microsoft.com> wrote:

>I am running Windows 2000 server from which this scrip t needs to be run. I
>have client machines installed with Windows XP. I have a script file and a
>database .mdb file in which I create all the user names.
>
>I write a batch file and place it in all the client systems under group
>policy/user configuration/windows settings/scripts/logon. Allong with the
>batch file I write a shuttdown.exe file I am recieving a (Loading script
>"\\cis236\storage\script\database.vbs" failed(The network path was not
>found.).) error.

The network path is not available to the user account running the
script at the time the script is run.

Jeff



Relevant Pages

  • Re: Importing Inventory
    ... >>how to update the inventory. ... >>batch file via a web interface and in that same PHP page executing sql ... >>to populate the database with the data from the batch file. ... Should I write a shell script to do it? ...
    (comp.lang.php)
  • Re: Login Script group membership
    ... Would it be more managable to write this as a vbs instead of a batch file? ... script, as not all o/s's can run a .vbs file directly as a logon script. ... - you'd need to write a wrapper function to invoke ifmember and return the ... In the general case a user can be a member of any number of ...
    (microsoft.public.windows.server.scripting)
  • Re: open password protected access database
    ... If MDB has a database password ... You must not pass username and password to a password-protected ... is not hard coded in the script where it can be compromised. ... or batch file is just going to send the password ...
    (microsoft.public.scripting.vbscript)
  • Re: Win 98 client WSH "Can not find script file"
    ... My theory is that the client unmaps z: before wscript ... more statements to the batch file after the VBScript program is called. ... >> REM ** Execute VBScript logon script program. ...
    (microsoft.public.windows.server.scripting)
  • Re: Command or setting to force monitor on?
    ... Keystrokes vbs script? ... But the same symptoms as without cscript, monitor not waking up, when I ... I set up a batch file containing the commands to first start IE, ... could move to the keystrokes command. ...
    (microsoft.public.windowsxp.general)