Forum Replies Created

Viewing 0 reply threads
  • Author
    Posts
    • #1328949
      Mark
      Participant
      Member Points: 692
      Rank: 2

      @paolo @mkanakos How to remotely execute the commands in a secure way from one server onto another server which are not on same domain as well as on same domain ?

      I have Windows 2003 and 2008 servers to deal with.

    • #1373430
      Mark
      Participant
      Member Points: 692
      Rank: 2

      @michael – I am not trying to add an AD user. I am trying to create new user and add the user to the Administrators group.

    • #1355610
      Mark
      Participant
      Member Points: 692
      Rank: 2

      I am trying to register multiple Windows 2016 servers with WSUS. I am unable to register the Windows 2016 servers with WSUS and install patches with the help of WSUS.

    • #1331667
      Mark
      Participant
      Member Points: 692
      Rank: 2

      @figueroa2david @michael-pietroforte Here in this command, for /f “tokens=1,2 delims=,” %f in (computerlist.txt) do psexec -h \\%f -u <username> -p <password> net user <username> %g /add /description “local user or whatever text”

      <username> and <password> are still given as plain text in the above command even though the computer and passwords are given in computerlist.txt, how can we give without plain-text ?

      I would like to eliminate all the plain-text passwords in my psexec commands.

      Please elaborate.

    • #1326336
      Mark
      Participant
      Member Points: 692
      Rank: 2

      @mkanakos @michael-pietroforte @paolo The user I am trying to create is not an AD user. I have to create a new user and add the user to local administrators group

Viewing 0 reply threads
© 4sysops 2006 - 2023

CONTACT US

Please ask IT administration questions in the forums. Any other messages are welcome.

Sending

Log in with your credentials

or    

Forgot your details?

Create Account