microsoft:desktop:win_10:compname_fake
Differences
This shows you the differences between two versions of the page.
| microsoft:desktop:win_10:compname_fake [2020/03/25 12:31] – created rplecko | microsoft:desktop:win_10:compname_fake [2020/03/25 12:35] (current) – rplecko | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| When connecting to RDP, you can fake your computername if needed | When connecting to RDP, you can fake your computername if needed | ||
| - | Create .cmd file with following content | + | Create |
| reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName /v ComputerName /t REG_SZ /d %1 | 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 " | ||
| + | If you don't want to wait for restart you can start " | ||
microsoft/desktop/win_10/compname_fake.1585139513.txt.gz · Last modified: 2020/03/25 12:31 by rplecko
