add prompt for user id and password RRS feed

  • General discussion

  • hi, out IT support manager wants our frontline support staff to run this little script to help troubleshoot end user issues. where can we add a prompt for userid and password

     sub shell(cmd)
        ' Run a command as if you were running from the command line
        dim objShell
        Set objShell = WScript.CreateObject( "WScript.Shell" )
        Set objShell = Nothing
    end sub

    shell "resmon.exe"
    • Changed type Bill_Stewart Friday, July 7, 2017 7:01 PM
    • Moved by Bill_Stewart Friday, July 7, 2017 7:01 PM Unanswerable drive-by question
    Thursday, June 1, 2017 5:09 PM

All replies

  • Why do you need the script? Just run resmon.exe directly.

    -- Bill Stewart [Bill_Stewart]

    Thursday, June 1, 2017 5:50 PM
  • our support staff are using landesk to take over a client workstation which is logged in as a normal user, so they have no access to run resmon, which is locked down for admins only.

    There are times that processes will conflict with our main business application from running. Lync has been the latest one. 

     If Lync is running it will block our business app sometimes. Ending task on lync and the hung business app processes lets the program start normally. Without being able to do that, the user needs to reboot and hope it does not happen again

    Thursday, June 1, 2017 6:14 PM
  • Asking for a username and password in a script doesn't seem to have anything to do with your scenario.

    Try to describe in plain language what the problem is. Don't describe an attempted solution.

    -- Bill Stewart [Bill_Stewart]

    Thursday, June 1, 2017 7:53 PM