Re: Startup Script from AD policy

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



david carvalho wrote:

> Hi!
> I'm writing a simple script under some "OU" policy, computer
> configuration\windows settings\scripts
> it runs ok when it's just to write something on screen for example. The
> problem is tha I want to run an executable (when the machine starts up,
> not
> when users log in), and I can't place the executable on the same folder as
> the script so I can access it. I get a permission denied. So I put the
> executable on the NETLOGON folder. But I guess that this folder is only
> accessible after some domain user logs on. I get the same problem when
> putting the executable under a shared folder with read/write permissions
> for
> everyone.
> How can I force the workstations to execute this remote file ?
> thanks !
> david

Startup scripts run with System permissions on the local machine and with
the permissions of the computer object in the domain. When I need to allow a
startup script access to a shared folder, I grant permissions to the "Domain
Computers" group.

--
Richard
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net


.



Relevant Pages

  • Re: Startup Script from AD policy
    ... and I can't place the executable on the same folder ... >>> permissions ... >>> How can I force the workstations to execute this remote file? ... >> Microsoft MVP Scripting and ADSI ...
    (microsoft.public.windows.server.scripting)
  • Re: "Recovered Files" Always in Trash
    ... What the script did was to set the permissions correctly on your invisible ... Temporary Items folder. ... Thanks for the advice and the script. ...
    (microsoft.public.mac.office.word)
  • Re: Who buys/uses BASIC?
    ... I am talking about file permissions. ... It is possible to have execute permission without read. ... this with a script, because the script must be readable ... As far as I know, an interpreted bytecoded program is a script, from the point ...
    (comp.lang.basic.misc)
  • Problem Creating HomeDirectories and Permissions using VBScript
    ... and assigning permissions to it in a VBScript script. ... it creates the setting for the folder inside the ...
    (microsoft.public.win2000.active_directory)
  • Re: Logon Script Elevated Privileges
    ... script within the GPO if you want, such as selecting from between user ... I'm using XCacls.vbs to create the permissions structure. ... the root folder to create the folder, ...
    (microsoft.public.windows.group_policy)