Jump to content

[help] reg command need help


Recommended Posts

Posted

post-26120-1140950030_thumb.png

my REG command having this problem

lastly my REG command is version 3.0

now i copy the REG commad that is version 5.2 and the advapi32.dll from windows server 2003

but the command appear the problem like the picture

i run the current command from a dot bat file

in my bat file shown as below

--------------------------------------

REG IMPORT D:\run.reg

--------------------------------------

When i press the batch file it show the problem like the picture that i post

in windows server 2003 --REG command version 5.2

Registry Editior 5.2

REG IMPORT D:\*.reg (wildcast)----- it worked

But in windows xp pro ---REG command version 5.2 copied from windows server 2003 with the dll

Registry Editor 5.1

REG IMPORT D:\*.reg Error: Invalid File Format


Posted

The error is actually coming from both advapi32.dll and rundll32.dll. I usually only see these errors when one of these two files are not registered correctly, or weren't updated correctly in the last update that touched these files (either a hotfix or service pack installation), meaning mismatched files. It would be prudent to run sfc /scannow to make sure all of your dllcache and system files are of the proper versions, then visit Windows Update and reinstall any hotfixes listed there. That should resolve the issue.

Also, copying the files from a Windows 2003 machine to an XP machine will not work.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...