Re: Startup Scripts & Permissions
- From: "Darren Mar-Elia" <dmanonymous@xxxxxxxxxxxxx>
- Date: Tue, 14 Aug 2007 09:02:26 -0700
On thing I would try right off the bat is to grant the "Domain Computers" group Read access to the share and the files under it, as opposed to Everyone. In other cases where this issue has come up, that has helped.
Darren
---
Darren Mar-Elia
MS-MVP-Windows Server--Group Policy
Script Group Policy Settings with the GPExpert Scripting Toolkit for PowerShell!
Find out more at http://www.sdmsoftware.com/products2.php
Visit the GPOGUY: http://www.gpoguy.com -- The Windows Group Policy Information Hub:
FAQs, Training Videos, Whitepapers and Utilities for all things Group
Policy-related
---
"markvr" <markvanrossum@xxxxxxxxx> wrote in message news:1187084970.294756.203900@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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: markvr
- Re: Startup Scripts & Permissions
- References:
- Startup Scripts & Permissions
- From: markvr
- Startup Scripts & Permissions
- Prev by Date: Re: Run GPO on Workstations but not Servers
- Next by Date: Re: Problem configuring services via Group Policy.
- Previous by thread: Startup Scripts & Permissions
- Next by thread: Re: Startup Scripts & Permissions
- Index(es):
Relevant Pages
|