Solved

Remote Change SRV Comment with Powershell

Posted on 2013-01-02
2
852 Views
Last Modified: 2013-01-07
I would like to be able to change the SRV Comment(Computer Description) on remote computers (Win7 AND XP) using powershell. I have built several scripts, but either it only works locally OR I need to install a plug-in(PSRemoteRegistry) that is only effective againt Windows 7 Machines.
Can anyone help me with the best course of action for this?
Here are some links I have been using to reference:

http://www.computerperformance.co.uk/powershell/powershell-change-computer-description-registry.htm#PowerShell_Task_2:_To_View_Computer_Descriptions_on_Network

http://blogs.technet.com/b/heyscriptingguy/archive/2012/03/16/use-powershell-to-edit-the-registry-on-remote-computers.aspx
0
Comment
Question by:ProUAdmin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 82

Accepted Solution

by:
David Johnson, CD, MVP earned 500 total points
ID: 38739469
1. remote registry needs to be enabled
2. You need to run the script using the proper user account that has permissions to the remote registry
3. PSRemoteRegistry only needs to be loaded on the machine that is running the script and not on the client machines and only if you are using powershell 3.0.

A simple way of testing if you have the right user account permissions is to load regedit on the machine that you want to run the registry change script.. and then connect to the remote machine and see if you can access the key. It needs to be a local administrator account
0
 

Author Comment

by:ProUAdmin
ID: 38751742
Thank you very much, this has helped me a great deal.
0

Featured Post

Plug and play, no additional software required!

The ATEN UE3310 USB3.1 Gen1 Extender Cable allows users to extend the distance between the computer and USB devices up to 10 m (33 ft). The UE3310 is a high-quality, cost-effective solution for professional environments such as hospitals, factories and business facilities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
Make the most of your online learning experience.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Suggested Courses
Course of the Month5 days, 17 hours left to enroll

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question