User Tools

Site Tools


microsoft:desktop:win_10:compname_fake

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

microsoft:desktop:win_10:compname_fake [2020/03/25 12:31] – created rpleckomicrosoft: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 //.cmd// file with following content
   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 "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.1585139513.txt.gz · Last modified: 2020/03/25 12:31 by rplecko