I have a question about *.CPL files and BES. As just one example, when I run “ncpa.cpl” which is Network Connections in the windows RUN box it works just fine. When I run it in the action debugger, the window for Network Connections comes up fine. When I put that same action in a task and try to run it, nothing happens and I get a “Completed” status.
With the testing I have done it almost looks like these control panel applets cannot be run with SYSTEM? Has anyone messed around with these?
Have you tried runascurrentuser.exe? It’s a GUI tool, so there’s no need to use it unless there’s a current user. You can use group membership to make sure it’s someone that’s capable of doing something with it too.
I was thinking of using a script that calls PSEXEC first, runs a cmd window with credentials and then runs a command of your choosing within the elevated window. I’ll see about the PSEXEC script and will post my results.
I can’t get this working… I have a batch file that works just fine if I run it with my doubleclick, or in the action debugger. The batch file runs PSEXEC, calls a command window with an elevated user account, and then runs the timedate.cpl file. It works just fine!
When I put it in a task it does nothing. I am at a loss here. Ultimately I am trying to get command like the following 2 into a task so that I can change time zones in BigFix!
RunDLL32.exe shell32.dll,Control_RunDLL %SystemRoot%\system32\TIMEDATE.cpl,/Z US Eastern Standard Time
RunDLL32.exe shell32.dll,Control_RunDLL timedate.cpl,/Z Central Standard Time