Not able to simulate Ctrl+Alt+Delete to open the task manager

Apr 10, 2014 at 4:52 AM
Hi,

I am trying to open the windows task manager using the input simulator but it is not yielding any result.
I tried with the follwing code:

InputSimulator.SimulateKeyDown(VirtualKeyCode.CONTROL);
InputSimulator.SimulateKeyDown(VirtualKeyCode.MENU);
InputSimulator.SimulateKeyPress(VirtualKeyCode.DELETE);
InputSimulator.SimulateKeyUp(VirtualKeyCode.MENU);
InputSimulator.SimulateKeyUp(VirtualKeyCode.CONTROL);

But it does not open the Task manager.
Please help me out.

Thanks is advance