Re: Group Policy to call a batch file



Howdie!

NNJ schrieb:
I have an OU called TEST
--- Computer
--- User

I tried linking the policy to the TEST OU and it did not execute. The batch file is linked to the User Configuration\Logon. I then tried linking it to the COMPUTER OU and it did not execute on that computer no matter who the user is. I linked it to the User OU and it executed only for that user who was in the user OU.

You need to asure that objects have sufficient access rights to the share. "Authenticated Users" should have "Read" permissions - check that.

If you run the script as a logon script, remember that it will be executed in the user's context. If the user hasn't got the right to install the software (which is the fact if he/she is not local administrator) you need to come up with something else.

When executed as computer startup script, it will run in the SYSTEM context.

Having said that - what is the error you get? Any entries in the event log?

Since it's not a MSI package, have you thought about a ZAP installation?
http://support.microsoft.com/kb/231747 - it surely has a lot of limitations and I don't like it personally, but maybe it something you can get away with it.

cheers,

Florian
--
Microsoft MVP - Windows Server - Group Policy.
eMail: prename [at] frickelsoft [dot] net.
blog: http://www.frickelsoft.net/blog.
.



Relevant Pages

  • Re: Executing a script with administrative rights in a user enviroment
    ... execute the script with a group policy in the startup of the system... ... computer policy startup policy ...
    (microsoft.public.windows.server.scripting)
  • Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps
    ... partition, and AT THE SAME TIME want stuff to execute from there (being ... IMHO there should be some policy that can be achieved. ... suggests that there is no strict policy at all any more. ...
    (Linux-Kernel)
  • Re: Rule No fire
    ... > .Net document type of your schema that the rules will execute on. ... > are able to select your message as a parameter for the policy you are ... >>the orchestration is executed, the polict is loaded but no rule is fired ...
    (microsoft.public.biztalk.server)
  • Re: Preventing users installing programms...?
    ... Anyhow see the link below for the policy I was mentioning. ... To restrict users from running specific Windows programs on a standalone Windows ... >>can change permissions back to allow execute. ...
    (microsoft.public.win2000.security)
  • RE: Windows Security Templates
    ... Try exec.vbs from the Windows 2000 resource kit. ... >Is there a way to execute a script across the entire domain ... >Policy to apply them. ...
    (Security-Basics)