ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Change Local Admin Pwd?

    IT Discussion
    9
    31
    776
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      manxam @siringo
      last edited by

      @siringo : If you have teamviewer, why not run this from the command line backend?

      net user adminUserName password
      

      You only have approximately 20 computers so it shouldn't take more than a few minutes.

      If you have to create a new admin account :

      net user adminUserName password /add
      net localgroup adaministrators adminUserName /add
      
      J siringoS 2 Replies Last reply Reply Quote 0
      • J
        JasGot @siringo
        last edited by

        @siringo said in Change Local Admin Pwd?:

        I ran that on one of the remote PCs and yes it did prompt for a password. Was that what you were after?

        Did you give it the password? Did it correctly respond with the os?

        1 Reply Last reply Reply Quote 0
        • J
          JasGot @manxam
          last edited by

          @manxam said in Change Local Admin Pwd?:

          @siringo : If you have teamviewer, why not run this from the command line backend?

          net user adminUserName password
          

          You only have approximately 20 computers so it shouldn't take more than a few minutes.

          If you have to create a new admin account :

          net user adminUserName password /add
          net localgroup adaministrators adminUserName /add
          

          This will do it.

          1 Reply Last reply Reply Quote 0
          • siringoS
            siringo @manxam
            last edited by

            @manxam said in Change Local Admin Pwd?:

            @siringo : If you have teamviewer, why not run this from the command line backend?

            net user adminUserName password
            

            You only have approximately 20 computers so it shouldn't take more than a few minutes.

            If you have to create a new admin account :

            net user adminUserName password /add
            net localgroup adaministrators adminUserName /add
            

            Sorry, what's the command line backend? I'm running TV v10. AFAIK I have to log into each PC, run CMD type in the command and log off.

            I was hoping for something a little less laborious.

            J M 2 Replies Last reply Reply Quote 0
            • J
              JasGot @siringo
              last edited by

              @siringo said in Change Local Admin Pwd?:

              Sorry, what's the command line backend?

              If you are more familiar with GPO, set a STARTUP script (Not a logon script) (startup and shutdown scripts run with system privileges) to run those two commands: net user and net localgroup, then reboot (or wait for reboot) the PC.

              siringoS 1 Reply Last reply Reply Quote 0
              • siringoS
                siringo @JasGot
                last edited by

                Thanks for the help fellas, I'll throw some brain power behind it and see what I end up with.

                1 Reply Last reply Reply Quote 0
                • M
                  manxam @siringo
                  last edited by

                  @siringo said in Change Local Admin Pwd?:

                  I was hoping for something a little less laborious.

                  Most RMMs have the ability to run a command without logging into the GUI. I haven't used TV but just assumed that it would offer this as well. I could be wrong...

                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @manxam
                    last edited by

                    @manxam said in Change Local Admin Pwd?:

                    @siringo said in Change Local Admin Pwd?:

                    I was hoping for something a little less laborious.

                    Most RMMs have the ability to run a command without logging into the GUI. I haven't used TV but just assumed that it would offer this as well. I could be wrong...

                    AFAIK it doesn't, but it might. ScreenConnect, MeshCentral, Salt, etc. all do.

                    1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller
                      last edited by

                      That's one of the most important features of tools like that. We use it as much as the remote screen access.

                      M 1 Reply Last reply Reply Quote 1
                      • M
                        manxam @scottalanmiller
                        last edited by

                        @scottalanmiller said in Change Local Admin Pwd?:

                        That's one of the most important features of tools like that. We use it as much as the remote screen access.

                        Agreed!

                        1 Reply Last reply Reply Quote 0
                        • Emad RE
                          Emad R @siringo
                          last edited by Emad R

                          @siringo

                          saltstack, best CM with windows support

                          siringoS 1 Reply Last reply Reply Quote 0
                          • siringoS
                            siringo @Emad R
                            last edited by

                            @Emad-R said in Change Local Admin Pwd?:

                            @siringo

                            saltstack, best CM with windows support

                            just spent 6 seconds looking at the web site, looks too complex for my needs. Too many big scarey buzzwords.

                            JaredBuschJ scottalanmillerS black3dynamiteB 3 Replies Last reply Reply Quote 0
                            • JaredBuschJ
                              JaredBusch @siringo
                              last edited by

                              @siringo said in Change Local Admin Pwd?:

                              @Emad-R said in Change Local Admin Pwd?:

                              @siringo

                              saltstack, best CM with windows support

                              just spent 6 seconds looking at the web site, looks too complex for my needs. Too many big scarey buzzwords.

                              https://www.mangolassi.it/topic/19681/creating-a-salt-master-on-fedora-30

                              1 Reply Last reply Reply Quote 1
                              • scottalanmillerS
                                scottalanmiller @siringo
                                last edited by

                                @siringo said in Change Local Admin Pwd?:

                                @Emad-R said in Change Local Admin Pwd?:

                                @siringo

                                saltstack, best CM with windows support

                                just spent 6 seconds looking at the web site, looks too complex for my needs. Too many big scarey buzzwords.

                                SS can do a lot. It can also be a simple way to run remote commands 🙂

                                1 Reply Last reply Reply Quote 0
                                • wrx7mW
                                  wrx7m
                                  last edited by wrx7m

                                  Can you use the netuser command via bat file, deployed using group policy startup script?
                                  87a3817a-2c8e-44cf-814f-be50e34bbd4f-image.png

                                  J 1 Reply Last reply Reply Quote 0
                                  • J
                                    JasGot @wrx7m
                                    last edited by

                                    @wrx7m said in Change Local Admin Pwd?:

                                    Can you use the netuser command via bat file, deployed using group policy startup script?
                                    87a3817a-2c8e-44cf-814f-be50e34bbd4f-image.png

                                    That looks familiar.

                                    1 Reply Last reply Reply Quote 0
                                    • Emad RE
                                      Emad R @siringo
                                      last edited by

                                      @siringo

                                      I felt the same at SS, but do you want to always look for tools or do you want one tool that can do everything, think about that and listen to this while you do

                                      Youtube Video

                                      1 Reply Last reply Reply Quote 0
                                      • black3dynamiteB
                                        black3dynamite @siringo
                                        last edited by black3dynamite

                                        @siringo said in Change Local Admin Pwd?:

                                        @Emad-R said in Change Local Admin Pwd?:

                                        @siringo

                                        saltstack, best CM with windows support

                                        just spent 6 seconds looking at the web site, looks too complex for my needs. Too many big scarey buzzwords.

                                        After you have installed and configured the initial setup for the salt-master and salt-minion its somewhat pretty straight forward.

                                        Create your adminuserpass.ps1 file in /srv/salt/ with something like this within the file

                                        $AdminPlainPass = "Whos-Your-Daddy1"
                                        $AdminSecurePass = $AdminPlainPass | ConvertTo-SecureString -AsPlainText -Force
                                        
                                        Set-LocalUser -Name 'adminuser' -Password $AdminSecurePass
                                        

                                        Create your adminuserpass.sls file in /srv/salt/ with something like this within the file

                                        adminuserpass:
                                          cmd.script:
                                            - source: salt://adminuserpass.ps1
                                            - shell: powershell
                                            - env:
                                              - ExecutionPolicy: "bypass"
                                        

                                        Run the salt command with something like this.

                                        salt 'saltminion-host' state.apply adminuserpass
                                        siringoS 1 Reply Last reply Reply Quote 2
                                        • siringoS
                                          siringo @black3dynamite
                                          last edited by

                                          Hey thanks for all the help everyone, it is greatly appreciated.

                                          I've decided to go with LAPS as this is part of an overall 'let's tighten up security' project I've got going and my thoughts were, you can't go wrong if you go with the Vendor's recommendation.

                                          I'm distributing the LAPS client software via Startup GPO which is working well ATM. Half way through the setup, but have stopped coz the weekend started.

                                          I'll take a look at Salt as I need to broaden my horizons.

                                          Thanks again folks.

                                          F 1 Reply Last reply Reply Quote 2
                                          • F
                                            flaxking @siringo
                                            last edited by flaxking

                                            @siringo said in Change Local Admin Pwd?:

                                            Hey thanks for all the help everyone, it is greatly appreciated.

                                            I've decided to go with LAPS as this is part of an overall 'let's tighten up security' project I've got going and my thoughts were, you can't go wrong if you go with the Vendor's recommendation.

                                            I'm distributing the LAPS client software via Startup GPO which is working well ATM. Half way through the setup, but have stopped coz the weekend started.

                                            I'll take a look at Salt as I need to broaden my horizons.

                                            Thanks again folks.

                                            Fyi, to deploy to clients you just need to copy the dll and register it with regsvr32. But good thing you're not trying to deploy it with GP's software installation features.

                                            M siringoS 2 Replies Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post