Solved

Using REG.exe and failed import

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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.
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
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…
The viewer will learn how to dynamically set the form action using jQuery.

705 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

17 Experts available now in Live!

Get 1:1 Help Now