Startup Scripts & Permissions
- From: markvr <markvanrossum@xxxxxxxxx>
- Date: Tue, 14 Aug 2007 02:49:30 -0700
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
.
- Follow-Ups:
- Re: Startup Scripts & Permissions
- From: Darren Mar-Elia
- Re: Startup Scripts & Permissions
- Prev by Date: Re: What is the best way to Restrict Access to Admin Tools
- Next by Date: Re: Group Policy vs. Login Scripts
- Previous by thread: Re: Problem configuring services via Group Policy.
- Next by thread: Re: Startup Scripts & Permissions
- Index(es):
Relevant Pages
|