Solved

Remote Change SRV Comment with Powershell

Posted on 2013-01-02
2
835 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
2 Comments
 
LVL 80

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

Don't miss ATEN at NAB Show April 24-27!

Visit ATEN at NAB Show to learn how our "Seamlessly Entertaining" solutions deliver fast, precise video streaming without delays for the broadcasting and media environment. ATEN will showcase its 16x16 Modular Matrix Switch (VM1600) and KVM Over IP Solution (KE6900 series).

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sonicwall one way trust 2 61
Hidden network 2 39
AD Design Best Practices 6 32
WDS can't PXE boot 3 26
Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

685 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