roy1984 Posted February 26, 2006 Posted February 26, 2006 my REG command having this problemlastly my REG command is version 3.0now i copy the REG commad that is version 5.2 and the advapi32.dll from windows server 2003but the command appear the problem like the picturei run the current command from a dot bat filein 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 postin windows server 2003 --REG command version 5.2Registry Editior 5.2REG IMPORT D:\*.reg (wildcast)----- it workedBut in windows xp pro ---REG command version 5.2 copied from windows server 2003 with the dllRegistry Editor 5.1REG IMPORT D:\*.reg Error: Invalid File Format
cluberti Posted February 26, 2006 Posted February 26, 2006 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now