Solved

Using REG.exe and failed import

Posted on 2013-02-07
5
407 Views
Last Modified: 2013-02-11
I'm using the following to modify the ntuser.dat of the default user:

1. Backup C:\Documents and Settings\Default User\ntuser.dat
2. Reg load HKU\ZZZ "C:\Documents and Settings\Default User\ntuser.dat"
3. Reg Import c:\test.reg
4. Reg unload HKU\ZZZ

However when it's loaded and I have done the import, I cannot see the key in regedit, any ideas ?

This is using Windows XP Professional
0
Comment
Question by:ndr-itsolutions
[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
  • 3
  • 2
5 Comments
 
LVL 3

Expert Comment

by:xavixsb
ID: 38865195
Hello,
the data You want to import from test.reg, point to the key HKU\ZZZ?
0
 

Author Comment

by:ndr-itsolutions
ID: 38865297
Yes
0
 
LVL 3

Expert Comment

by:xavixsb
ID: 38865318
Can you post a part of test.reg for testing?
0
 

Author Comment

by:ndr-itsolutions
ID: 38865328
[HKU\ZZZ\Software\Microsoft\Office\Excel\AddIns\S1.ExcelAddIn]
"CommandLineSafe"=dword:00000001
"Description"="S1.ExcelAddIn"
"FriendlyName"="S1 Add-In 4.3 for Microsoft Office"
"LoadBehavior"=dword:00000003
"Manifest"="C:\\Program Files\\S1\\Add-InForMicrosoftOffice\\4.3\\S1.dll.manifest"

Open in new window

0
 
LVL 3

Accepted Solution

by:
xavixsb earned 500 total points
ID: 38868437
Hello
when I load HKU\ZZZ the key OFFICE does not appear, althought it was in HKEY_USERS\.default.

I import test.reg and put correctly in HKU\ZZZ changing in test.reg HCU by HKEY_USERS.

When I  unload ZZZ and load again, the change remains.

Remenber that test.reg should begin with

Windows Registry Editor Version 5.00

at first line (in XP, other versions can change number)
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
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…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…

728 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