locked
how to unlock the remote machine using vbscript?????? RRS feed

  • Question

  •  

    Hi,

     

     

    we have written the following script to Lock the Local system

     

    CONST APPLICATION_NAME = "C:\WINDOWS\system32\Notepad.exe"
     
    Set objShell = CreateObject("Wscript.Shell")
     
    'Start application
    objShell.Run APPLICATION_NAME
     
    'Lock computer
    objShell.Run "%windir%\System32\rundll32.exe user32.dll,LockWorkStation"
     
    'End of loadAppAndLock.vbs

     

     

     

     

    Any one who can tell what to write in order to unlock the same machine. Or is there any means to achieve the Remote machine Unlocking when the script is running from the Local.

    Monday, July 7, 2008 12:12 PM

Answers

  • Hi,

     

    This forum is focus on the Windows Vista issues, and we are not the best resource to discuss this programming question. It is recommended that you post this question on MSDN forums. Thank you for your understanding.

     

    For your convenience:

     

    Software Development for Windows Vista

    http://forums.microsoft.com/MSDN/default.aspx?ForumGroupID=24&SiteID=1

     

    Wednesday, July 9, 2008 7:39 AM
    Moderator
  • Hi,

    sorry but it's not possible by using vbscript.

     

    Forget about Sendkeys("%^+{DEL}") etc.

    Wednesday, July 9, 2008 11:06 AM

All replies

  • Hi,

     

    This forum is focus on the Windows Vista issues, and we are not the best resource to discuss this programming question. It is recommended that you post this question on MSDN forums. Thank you for your understanding.

     

    For your convenience:

     

    Software Development for Windows Vista

    http://forums.microsoft.com/MSDN/default.aspx?ForumGroupID=24&SiteID=1

     

    Wednesday, July 9, 2008 7:39 AM
    Moderator
  • Hi,

    sorry but it's not possible by using vbscript.

     

    Forget about Sendkeys("%^+{DEL}") etc.

    Wednesday, July 9, 2008 11:06 AM