Run as current user in Windows 7

(imported topic written by chuajocelyn91)

Hi

I need to run application from BigFix as current user.

I have tried the downloaded RunAsCurrentUser.exe on Windows XP and it works.

However, I am having troubles with Windows 7.

It keeps failing in Windows 7 environment.

Have anyone have any solution on running RunAsCurrentUser on Windows 7?

Thank you.

(imported comment written by doubleminus91)

I think UAC settings are going to play a big factor here. Maybe try adjusting those and experimenting?

(imported comment written by tgladden91)

I am trying to us runascurrentuser to execute a VB script that will move the computer account from one OU to a different OU. The Fixlet/action script will execute in Windows XP but

does not execute in Windows 7 (32 or 64 bit). I do two things in the action:

waithidden RunAsCurrentUser.exe --w --q cmd.exe /c cscript c:\windows\MoveToOU-test.vbs

move “c:\windows\MoveToOU-test.vbs” “c:\windows\MoveToOU-test.vbs.old”

Both the VB script and the runascurrentuser EXE are already on the system in the c:\windows folder. The first line of is not doing anything. The second line does execute and copied

the vb script to .old What am I missing?