Simple RunAsCurrentUser.exe Fixlet Not working in Windows 7

(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.

(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

(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.

(imported comment written by BenKus)

I am not sure what changed in Win7… Which command worked for you in Win7?

Ben

(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

(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”