question

Richkm-1820 avatar image
0 Votes"
Richkm-1820 asked Richkm-1820 edited

need rename computer without providing account credentail on script

Hello,
I have to rename a domain join computer without providing any credential in script like any password.
how to do it.
please guide

Thanks

windows-server-powershellpower-query-not-supported
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ClementBETACORNE avatar image
0 Votes"
ClementBETACORNE answered Richkm-1820 edited

Hello,

Technically as far as I know you will need some sort of credential (Encrypted or not) in order to rename your domain join computer :

  • Local admin right on the computer

  • Write all properties on the computer object in active directory (To simplify)

Do you have at least the option to use encrypted credential ?

Regards,


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

if there is no other way then can try with encrypted password , can't ask anyone to provide their password as plain.
later will try deploy script from MEM.

0 Votes 0 ·