Announcement

Collapse
No announcement yet.

Logon As Utility

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

  • Logon As Utility

    Does anyone know of a way to setup a Utility that will allow me to enter a Machine ID and have it log me on as Administrator? I am looking for this mainly for our Help Desk since they have access to the Admin Password rather than having to find the Machine in the list and then logon as.

  • #2
    Re: Logon As Utility

    I am not sure this is what you want, but you could setup a batch file with the command:

    net use \\%E%\ipc$ /user:administrator *

    When you invoke the tool, Hyena will replace the %E%, and the batch file will prompt for the password. This is all that is needed to "Logon" to a remote computer
    Kevin Stanush
    SystemTools Software Inc.

    Comment


    • #3
      Re: Logon As Utility

      That is mostly what I am looking for, but would you be able to set that to prompt and add a user as admin to that machine within the utility?

      <div class="ubbcode-block"><div class="ubbcode-header">Quote:</div><div class="ubbcode-body">Originally posted by kstanush:
      <span style="font-weight: bold">I am not sure this is what you want, but you could setup a batch file with the command:

      net use \\%E%\ipc$ /user:administrator *

      When you invoke the tool, Hyena will replace the %E%, and the batch file will prompt for the password. This is all that is needed to "Logon" to a remote computer</span></div></div>

      Comment


      • #4
        Re: Logon As Utility

        If you could find a tool to add a user to a group from a command line, then you could add that to the batch file. But, how about just adding all Help Desk to the local administrators group on all machines ? Since they have the password, they have this right anyway, but if you add them upfront, then things would be more transparent. Hyena's More Functions->Add member to Local Group function can be used to do this for any number of selected computers.

        Let us know if you need more help on how to do this.
        Kevin Stanush
        SystemTools Software Inc.

        Comment


        • #5
          Re: Logon As Utility

          What I am really trying to do is make it so if we role out a new machine or someone needs to use a new Win2000 machine, we could use this Utility to Add them as an Administrator to that machine by just running the Utility.

          Also, with the PCInfo Utility where you can query a machine for it's information, we have to first logon to the machine as Admin and then run the Utility. Any ideas?

          <div class="ubbcode-block"><div class="ubbcode-header">Quote:</div><div class="ubbcode-body">Originally posted by kstanush:
          <span style="font-weight: bold">If you could find a tool to add a user to a group from a command line, then you could add that to the batch file. But, how about just adding all Help Desk to the local administrators group on all machines ? Since they have the password, they have this right anyway, but if you add them upfront, then things would be more transparent. Hyena's More Functions->Add member to Local Group function can be used to do this for any number of selected computers.

          Let us know if you need more help on how to do this.</span></div></div>

          Comment


          • #6
            Re: Logon As Utility

            There is probably a Resource Kit utility to add a user to a group, but I know you can do it with NTSec from:
            www.pedestalsoftware.com
            Kevin Stanush
            SystemTools Software Inc.

            Comment


            • #7
              Re: Logon As Utility

              cusrmgr.exe is the Windows 2000 resource kit utility you are looking for. Syntax is below.

              C:\>cusrmgr
              CUsrMgr Ver 1.0 Jan98 by G.Zanzen (c) MCS Central Europe
              Sets a random password to a user
              usage: -u UserName [-m \\MachineName] \\ default LocalMachine
              Resetting Password Function
              -p Set to a random password
              -P xxx Sets password to xxx
              User Functions
              -r xxx Renames user to xxx
              -d xxx deletes user xxx
              Group Functions
              -rlg xxx yyy Renames local group xxx to yyy
              -rgg xxx yyy Renames global group xxx to yyy
              -alg xxx Add user (-u UserName) to local group xxx
              -agg xxx Add user (-u UserName) to global group xxx
              -dlg xxx deletes user (-u UserName) from local group xxx
              -dgg xxx deletes user (-u UserName) from global group xxx
              SetProperties Functions
              -c xxx sets Comment to xxx
              -f xxx sets Full Name to xxx
              -U xxx sets UserProfile to xxx
              -n xxx sets LogonScript to xxx
              -h xxx sets HomeDir to xxx

              -H x sets HomeDirDrive to x

              +s xxxx sets property xxxx
              -s xxxx resets property xxxx
              where xxxx can be any of the following properties:
              MustChangePassword
              CanNotChangePassword
              PasswordNeverExpires
              AccountDisabled
              AccountLockout
              RASUser
              returns 0 on success

              Comment

              Working...
              X
              😀
              🥰
              🤢
              😎
              😡
              👍
              👎