Psexec execution related concern RRS feed

  • Question

  • Hi Team,

    We are facing below concern with Psexec execution at clinet side,

    1. Suppose domain name has an alias (i.e. abc-test for, in command line it has "" which causing the issue. 
    2. Special characters ( ) : , " ' \ { }  in service user account password causing issue while running psexe command.

    Can any one have solution on how to deal with this sepcal character if it comes in domain name or password ?

    As this is at client end, we may not ask them to update any settings.



    Friday, November 13, 2020 10:44 AM

All replies

  •  which causing the issue. 

    What is the issue? What error do you get?

    Put the password in quotes.    "pass-word"

    Friday, November 13, 2020 1:49 PM
  • Also, for point 1 why cannot you use the standard syntax Domain\user.. may be the old domain name doesn't contain special characters..

    for the password I always thought that psexec rely on the Operating system to handle special characters in password and it doesn't perform any check on the characters content.. so, what is the error? and can you please provide steps to repro? Including OS versions in use..



    Sunday, November 15, 2020 8:53 AM
  • Using DomainNETBiosName\UserName is the best option for PSExac
    Thursday, November 26, 2020 10:11 AM