microsoft:desktop:win_10:compname_fake
Temporary ComputerName Fake
When connecting to RDP, you can fake your computername if needed
Create .cmd file with following content
reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName /v ComputerName /t REG_SZ /d %1
Name the file CompName.cmd and start it from CLI with ComputerName parameter
CompName PC-01
…and computer will temporary (until restart) be renamed to “PC-01”. If you don't want to wait for restart you can start “CompName again and set your original computer name back.
microsoft/desktop/win_10/compname_fake.txt · Last modified: 2020/03/25 12:35 by rplecko
