can anybody give me a hand? I know I might have to use "net use" to run it
under different credential. but I think if can run the script, I should have
no problem running the executable in the same folder.
Thanks.
khuizhang schrieb:
> I created a startup script in order to patch an application without user
> interaction and the scripts contains a UNC path. I can run it manually but
> when I applied it via GPO, it can not run the command with unc path. I have
> tried
> 1) give domain computer read&execute even full access to the GPO,the folder
> where executable resides
> 2) copy executable file directly into GPO scripts folder
> but no good.
Try "Authenticated Users" with at least "Read" and "Execute" permissions
- for testing is "Full Control" okay as well. Is there an entry in the
eventlog? Gets the policy applied?
cheers,
Florian
--
Microsoft MVP - Windows Server - Group Policy.
eMail: prename [at] frickelsoft [dot] net.
blog: http://www.frickelsoft.net/blog.
What is the startup script coded in? Is it a batch or VBS or etc.?
When you say you can run it manually do you mean the script or the patch?
hello..
think i would need some more info on what the script is trying to do
and what technology it uses. hopefully the answer will be simple
dave
Thanks.
oShell.run "update.exe /s" which is used to install the update silently.
khuizhang schrieb:
> There is no error event and the GPO get applied. the vbs file and exe file
> are in the same folder. both are running when startup. The problem is just
> one command line in vbs file which runs the external exe file:
>
> oShell.run "update.exe /s"
What if you provide the full path to the .exe file? Try "Everyone" "Full
Control" permission on that share and nfts - just for testing purposes.
If non of those things work - have you tried calling the exe from a .bat
or .cmd just to see whether the vbs is buggy in some way?
I believe you need the full path to the exe and not the relative path. The
script may be getting transfered to a temp location so to allow logon if a
DC is unavailable.
However, the file will not be getting transfered and will not be located in
that same directory. That's my theory anyway.