Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Get the whole registry of a remote machine

Posted on 2007-08-11
1
Medium Priority
?
222 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
[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
1 Comment
 
LVL 26

Accepted Solution

by:
Farhan Kazi earned 2000 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Many admins will agree: WSUS is is a nice invention but using it on the client side when updating a newly installed computer is still time consuming as you have to do several reboots and furthermore, the procedure of installing updates, rebooting an…
Know what services you can and cannot, should and should not combine on your server.
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…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

661 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