Recently I was trying to change the name of a lot of computers remotely. It took me a while to find a command that worked properly on windows 10. This command below is the one that worked for me.
- Open command prompt (I did this remotely via an RMM solution)
- Run the command WMIC computersystem where caption=’currentname’ rename ‘newname’
- You should see “Method Execution successful”