Solved

Using REG.exe and failed import

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
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.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

777 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