Change computer description remotely


  1. Posts : 4
    Windows 10 x64 Ent
       #1

    Change computer description remotely


    Hi!

    Is there a way to change a PC description running windows 10 remotely ? We have a domain environment with multiple workstations and we would like to change their description without the need of physically accessing the PC. Is there maybe a way using CMD, Powershell or something similar ?

    Looking forward for you replays!
    Jaka Kebe
      My Computer


  2. Posts : 17,661
    Windows 10 Pro
       #2

    Three short commands in PowerShell, can be run one by one manually or put in a script:

    Code:
    $PC = Get-WmiObject -class Win32_OperatingSystem -computername "COMPUTER_NAME"
    $PC.Description = "new computer description"
    $PC.Put()

    Change computer description remotely-image.png
    (Click to enlarge.)
    Last edited by Kari; 26 Oct 2016 at 15:19.
      My Computer


  3. Posts : 4
    Windows 10 x64 Ent
    Thread Starter
       #3

    Tnx for the solution! Do you know what could be the problem if i keep on getting the error »RPC not reachable« ?
      My Computer


  4. Posts : 17,661
    Windows 10 Pro
       #4

    JakaK said:
    Tnx for the solution! Do you know what could be the problem if i keep on getting the error »RPC not reachable« ?
    Server inbound RPC? See this Microsoft TechNet article: Step 4: Allowing Inbound Network Traffic that Uses Dynamic RPC

    Check also that WMI (Windows Management Instrumentation) rules are set (allowed) in firewall:

    Change computer description remotely-image.png
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 19:11.
Find Us




Windows 10 Forums