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
Solved

Get the whole registry of a remote machine

Posted on 2007-08-11
1
215 Views
Last Modified: 2010-03-05
Hi,

Is there a software to get the remote registry edit it and upload it back for the changes.

Regards
Sharath
0
Comment
Question by:bsharath
1 Comment
 
LVL 26

Accepted Solution

by:
farhankazi earned 500 total points
ID: 19676921
Third party software:
http://www.emco.is/registry_merge/features.html

:: ================
:: READ THIS FIRST
:: ================
:: * To run this script you must have domain administrators rights.
:: * This script require "PSExec.exe" file (comes with PSTools) on C: drive root
:: * This script require "Computers.txt" file on C: drive root from where it will pick computer names.
:: * You need to set 'RegFile' variable's value inside the script
::    Like:
::             SET RegFile=C:\IESettings.reg   <-- registry file
::    WARNING:  Registry file should be in proper format.  
::    WARNING:  If you set this file incorrectly, you may cause serious problems that may require you to reinstall your operating system
::   For more info visit: http://support.microsoft.com/kb/310516
:: * Successful run will generate "C:\RegImportRpt.txt" file on C: drive root.
:: * Copy and Paste following script into notepad and save it with any name having .cmd extension.
:: Batch Script Start

@Echo Off
SETLOCAL
SET RegFile=C:\IESettings.reg

IF NOT EXIST C:\Computers.txt Goto ShowErr
FOR %%R IN (C:\Computers.txt) Do IF %%~zR EQU 0 Goto ShowErr
IF NOT EXIST %RegFile% ( Echo Can not find %RegFile% file. && Goto :EndScript)

IF EXIST C:\RegImportRpt.txt DEL /F /Q C:\RegImportRpt.txt
FOR %%F IN (%RegFile%) DO SET RegFName=%%~nF%%~xF

FOR /F %%c IN ('Type C:\Computers.txt') Do (
    Echo Processing: %%c
      PING -n 1 -w 800 %%c|Find /I "TTL" >NUL
      IF NOT ErrorLevel 1 (
            Echo Importing Regintry on: %%c >>C:\RegImportRpt.txt
            Copy /Y %RegFile% \\%%c\C$\ >>C:\RegImportRpt.txt
            PSExec \\%%c -s -i Regedit /S C:\%RegFName%
            DEL /Q /F \\%%c\C$\%RegFName%
      )ELSE (Echo %%c: Not able to connect >>C:\RegImportRpt.txt)
)      

Goto EndScript
:ShowErr
Echo "C:\Computers.txt" file does not exist or file is empty!
:EndScript
ENDLOCAL
:: Batch Script End
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
*** Hardware Malfunction Dell T610 7 112
upgrade Vcenter to V6 10 95
Move SQL 2005 Express to Server 2012R2 19 142
Windows Server 2012 R2 -- "RemoteApps" CAL cost ? 2 56
This is my 3rd article on SCCM in recent weeks, the 1st (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2008/A_4466-A-beginners-guide-to-installing-SCCM2007-on-Windows-2008-R2-Server.html) dealing with installat…
INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

839 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