Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Using REG.exe and failed import

Posted on 2013-02-07
5
Medium Priority
?
415 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 1500 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
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.
Suggested Courses

926 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