system
February 18, 2010, 1:04am
1
(imported topic written by macook91)
prefetch RunAsCurrentUser.exe sha1:5512ef51a98dff1aa910a8189a0361c161fa703f size:212992 http://software.bigfix.com/download/bes/util/RunAsCurrentUser-2.0.2.exe
wait __Download/RunAsCurrentUser.exe --w “Y:\AnyFolder\Any.exe”
Fixlet claims to have executed all lines of the script, but the EXE is never run. if you take the same “Y:\AnyFolder\Any.exe” and paste it into the run window, it works fine.
Y is a fileshare, and the current logged in user has permissions to the share.
BenKus
February 18, 2010, 1:31am
2
(imported comment written by BenKus)
Hmm… I am not sure if the Y: will be mapped properly… maybe try:
wait cmd.exe /C __Download/RunAsCurrentUser.exe --w “Y:\AnyFolder\Any.exe”
OR
wait __Download/RunAsCurrentUser.exe --w “\servername\AnyFolder\Any.exe”
Ben
system
February 18, 2010, 1:34am
3
(imported comment written by macook91)
Any reason why the existing syntax works on XP and not on 7? The drives all appear to be mapped properly. Changing the syntax would mean changing the syntax on 300+ fixlets.
BenKus
February 18, 2010, 11:02am
4
(imported comment written by BenKus)
I am not sure what changed in Win7… Which command worked for you in Win7?
Ben
system
February 19, 2010, 9:15pm
5
(imported comment written by SystemAdmin)
Anything similar to what I saw with user access control? Though I never did get around it.
http://forum.bigfix.com/viewtopic.php?id=2932
system
February 19, 2010, 11:00pm
6
(imported comment written by labuski91)
Ben Kus
Hmm… I am not sure if the Y: will be mapped properly… maybe try:
wait cmd.exe /C __Download/RunAsCurrentUser.exe --w “Y:\AnyFolder\Any.exe”
ive never got it to work that way ive always had to do
waithidden runascurrentuser.exe --w cmd.exe /c “calc.exe”