Re: Group Policy to call a batch file
- From: "Florian Frommherz [MVP]" <florian@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 05 Aug 2007 18:16:19 +0200
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.
.
- Follow-Ups:
- Re: Group Policy to call a batch file
- From: NNJ
- Re: Group Policy to call a batch file
- References:
- Group Policy to call a batch file
- From: NNJ
- Group Policy to call a batch file
- Prev by Date: Group Policy to call a batch file
- Next by Date: Re: Group Policy to call a batch file
- Previous by thread: Group Policy to call a batch file
- Next by thread: Re: Group Policy to call a batch file
- Index(es):
Relevant Pages
|