Re: Mapping network devices
- From: "Richard Mueller" <rlmueller-NOSPAM@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 19 Jan 2006 13:47:41 -0600
david carvalho wrote:
> Hi !
> I'm writing a startup script to map network drive and execute a file
> there,
> on the Group Policy refering to machines.
> First, I've tried everything to avoid using a username and password on the
> script,
> but without this I can't access. It's not a permissions issue. I've tried
> "everyone" with full control, on the same folder wich I use for software
> instalation via software policy (wich works fine by the way). I gave
> domain
> computers access to this folder, but no result. What's the difference
> between
> the account used by software policy and for startup scripts ? Can I avoid
> this ?
> The other problem, is that I teste in a domain workstation with local
> administrator login. I run the vbs with no problem, but when I reboot the
> machine for testing the appliance of the policy, I get the 80070520
> error,
> because I don't have a session initiated yet (of course not ! I want to
> run
> this before any logon?
> Can anyone help me out ?
> Thanks
> David Carvalho
Hi,
Startup scripts run with System permissions on the local computer, and the
permissions of the computer object in the domain. I grant the group "Domain
Computers" permission to read/write in a shared folder and this allows my
StartUp script to write to a log file in the shared folder. You would need
to grant Read & Execute to allow a Startup script to run a program in the
share. I don't know why this doesn't work for you.
--
Richard
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
.
- Follow-Ups:
- Re: Mapping network devices
- From: david carvalho
- Re: Mapping network devices
- Prev by Date: Re: Does JScript equal Javascript??
- Next by Date: Re: Sample Script for Group Accounts??
- Previous by thread: Re: Searching AD
- Next by thread: Re: Mapping network devices
- Index(es):
Relevant Pages
|