Startup Scripts & Permissions



I am trying to run a vbs script as a startup script to install some
software but am having a few problems with permissions.

The share where the script is located has read, list and execute
permssions to "Everyone"

Sometimes on reboot the script doesn't run at all, and the event log
has the error:
Event Type: Error
Event Source: UserInit
Event Category: None
Event ID: 1000
Date: 14/08/2007
Time: 10:45:38
User: N/A
Computer: BFAC-DSK005
Description:
Could not execute the following script \\server\LogonScripts\vnc
\install_vnc.vbs. Access is denied.


Othertimes the script runs, but generates a "permssion denied" error
MsgBox when it tries to run the install .exe off the same share. I've
tried this both off the share in SYSVOL and off another network share
on a file server.
The relevant line it errors on is:
objWshShell.Run(strInstallPath & strVNCMSI & strVNCSwitches)

Does anyone have any ideas why this could be? I'm puzzled why
the .exe won't run at all, and why the whole script runs about 50% of
the time.

I've tried adding sleep statements incase it was trying to run before
the networking was fully up, but they made no difference.

Cheers!
mark

.



Relevant Pages

  • Re: Deploying Office 07 with Group Policy
    ... computer I tested it on took 30 minutes to install. ... the following script to the Computer Startup Script. ... REM Get ProductName from the Office product's core Setup.xml file. ... REM Set ConfigFile to the configuration file to be used for deployment REM ...
    (microsoft.public.office.setup)
  • Re: [opensuse] Editting PATH variable
    ... SuSEconfig script ... ... not knowing what you options you used to install ... If your unfamiliar with Bash a good book is 'Learning the Bash Shell' by ... For Java use editing the PATH variable is NOT required... ...
    (SuSE)
  • Re: KB911280 update problem
    ... Microsoft is working on an amended patch which will address this issue. ... Microsoft advises anyone affected by this to not install the patch and to ... That script is broken by the patch. ... He said he could not write a bug report ...
    (microsoft.public.windowsupdate)
  • help with a home network jumpstart
    ... I have the blade running BIND 8 to serve DNS to the home network. ... Here's the output of the boot net - install: ... Using RPC Bootparams for network configuration information. ... Using begin script: install_begin ...
    (SunManagers)
  • Re: trusted sites
    ... Script Debugging Problem ... checks whether the browser can handle Shockwave Flash so I suspect there may ... There is good information concerning all aspects of the Java situation here: ... Sun also offers an automatic download and install of the 1.4 Java plug-in ...
    (microsoft.public.windows.inetexplorer.ie6.browser)