• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

RunAs command under admin

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    RunAs command under admin

    Option explicit
    dim oShell
    set oShell= Wscript.CreateObject("WScript.Shell")
    oShell.Run "runas /user:administrator ""CrossLoop.exe"""
    WScript.Sleep 100
    oShell.Sendkeys "password~"
    Wscript.Quit
    In XP Home I'm trying to get crossloop running on a user level account as admin by using a VBS script - this returns 'cannot load xml file' although the script is in the shared crossloop folder. Dya think it's an environmental variable that needs defining?

    If I manually click the crossloop icon and do a RunAs from the user desktop everything works fine
    How fortunate for governments that the people they administer don't think

    #2
    Originally posted by Troll View Post
    In XP Home I'm trying to get crossloop running on a user level account as admin by using a VBS script - this returns 'cannot load xml file' although the script is in the shared crossloop folder. Dya think it's an environmental variable that needs defining?

    If I manually click the crossloop icon and do a RunAs from the user desktop everything works fine
    crossloop sucks anyway.

    Comment


      #3
      Originally posted by 2uk View Post
      crossloop sucks anyway.
      Any alternative with encryption?
      How fortunate for governments that the people they administer don't think

      Comment


        #4
        Originally posted by Troll View Post
        Any alternative with encryption?
        Logmein - free , screens come faster, if it doesn't have encryption use windows IPsec.

        Comment


          #5
          Originally posted by 2uk View Post
          Logmein - free , screens come faster, if it doesn't have encryption use windows IPsec.
          Hmmm that looks interesting - thanks I'll look into it some more
          How fortunate for governments that the people they administer don't think

          Comment

          Working...
          X