Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Importing Win2k Regitry File

0 views
Skip to first unread message

Eric Ouvrie

unread,
Dec 8, 2000, 9:33:56 AM12/8/00
to
Hi,

In NwAdmn32 (executed from Public\Win32), I would like
to import a registry file (.REG) in an App object.
I made this file with the REGEDIT of Win2000.
NwAdmn32 returns :
"the file <filename> is an invalid registry file."
This procedure works fine with Win98 workstation.

Is there any snapin missing ?
Is there another method ?

Server : Nw4.11(SP9) Zen2(SP1 ; Pt3a)
W/S : Win2000 - client 4.8


Craig Wilson

unread,
Dec 8, 2000, 10:06:11 AM12/8/00
to
This fix should be simple.

Change the first line of the reg file from

"Windows Registry Editor Version 5.00"

to

"REGEDIT4"


Eric Ouvrie wrote:

--
Craig Wilson
CNE3, 4, 5 - MCSE - CCNA
NSC Volunteer Sysop (http://support.novell.com/forums/)

Home Page - http://www.ithowto.com


Eric Ouvrie

unread,
Dec 8, 2000, 11:32:57 AM12/8/00
to
> Change the first line of the reg file from
> "Windows Registry Editor Version 5.00"
> to
> "REGEDIT4"

Sorry, it did not work.
The curious thing is, after the error message, the .REG file
remains opened/locked until exiting Nwadmn32.

Eric.


Craig Wilson

unread,
Dec 12, 2000, 2:03:06 PM12/12/00
to
I'm not sure what to say.

I was able to duplicate your initial problem, but was able to resolve it
by changing this line.

Could you perhaps post your REG File here so I can test it here?

Eric Ouvrie wrote:

--

Eric Ouvrie

unread,
Dec 14, 2000, 9:39:28 AM12/14/00
to
I sent my .reg file to Craig and he gave me the answer.

FYI, my file was not a pure ASCII file. It was coded with UNICODE.

To resolve the problem, I opened it with Word and save it again as text file.

Thank you Craig.


0 new messages