Solved

Using REG.exe and failed import

Posted on 2013-02-07
5
392 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
  • 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

This article will show, step by step, how to integrate R code into a R Sweave document
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
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…

863 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now