0xc0000142 issue?

M

Malvem

Hi all,
When I run "cmd.exe""ipconfig" or other command line execution file,
XPE system will pop-up a error message "The application failed to
initialize properly (0xc0000142)".
I try using Filemon,Regmon tools to check any file missing.
But after I add the related component,this error happen the same.
THE Filemon log is as follows:

7:52:51 AM ipconfig.exe:1316 OPEN C:\WINDOWS\Prefetch\IPCONFIG.EXE-
2395F30B.pf SUCCESS Options: Open Access: All 173

7:52:51 AM ipconfig.exe:1316 QUERY
INFORMATION C:\WINDOWS\Prefetch\IPCONFIG.EXE-2395F30B.pf SUCCESS
Length: 1894
174

7:52:51 AM ipconfig.exe:1316 READ
C:\WINDOWS\Prefetch\IPCONFIG.EXE-2395F30B.pf SUCCESS Offset: 0
Length: 1894 175

7:52:51 AM ipconfig.exe:1316 CLOSE C:\WINDOWS\Prefetch\IPCONFIG.EXE-2395F30B.pf SUCCESS
176

7:52:51 AM ipconfig.exe:1316 OPEN C:\Documents and
Settings\Administrator.OEM-Z3NS9GIGCFR SUCCESS Options: Open Directory
Access: Traverse 177

7:52:51 AM ipconfig.exe:1316 QUERY INFORMATION
C:\WINDOWS\System32\ipconfig.exe.Local FILE NOT FOUND Attributes:
Error

What's the problem??


Regards,
Malvem
 
K

KM

Malvem,

First thought that hit me - what account (account rights) you are logging in
on the target while executing cmd and/or ipconfig?Give it a try under the
Administrator account - does the problem persist?

KM
Hi all,
When I run "cmd.exe""ipconfig" or other command line execution file,
XPE system will pop-up a error message "The application failed to
initialize properly (0xc0000142)".
I try using Filemon,Regmon tools to check any file missing.
But after I add the related component,this error happen the same.
THE Filemon log is as follows:

7:52:51 AM ipconfig.exe:1316 OPEN C:\WINDOWS\Prefetch\IPCONFIG.EXE-
2395F30B.pf SUCCESS Options: Open Access: All 173

7:52:51 AM ipconfig.exe:1316 QUERY
INFORMATION C:\WINDOWS\Prefetch\IPCONFIG.EXE-2395F30B.pf SUCCESS
Length: 1894
174

7:52:51 AM ipconfig.exe:1316 READ
C:\WINDOWS\Prefetch\IPCONFIG.EXE-2395F30B.pf SUCCESS Offset: 0
Length: 1894 175

7:52:51 AM ipconfig.exe:1316 CLOSE
C:\WINDOWS\Prefetch\IPCONFIG.EXE-2395F30B.pf SUCCESS
 
K

KM

Malvem,

Forgot to mention. If it is not account permissions or ACL problem, use
Dependency Walker tool (http://www.dependencywalker.com/depends21_x86.zip)
to see if any dll's (static, dynamic dependencies) are missed for, say,
ipconfig.exe.
You don't have to run Depends.exe on the target but rather on your dev
machine (XP Pro?). Just point the tool to search for modules in your image
build directories (Options-->Configure Module Search Order ...).

Also check system, application and security logs (Event View) on the target
for any related errors.

KM
 
M

Malvem

Now I know how to solve it.
My image support Traditional Chinese language.
When I add "Fonts: Chinese (Traditional) bitmap & TrueType fonts" and
"Fonts: Chinese (Traditional)font substitutes" components at the same
time,I can't
execute cmd,ipconfig,net...etc.

But if I remove "Fonts: Chinese (Traditional)font substitutes",it can
work!
I don't know why.A bug? or any I miss?

Regards,
Malvem
 
K

KM

Malvem,

Wow, I would never thought ipconfig problems could be related to Fonts
included.
I don't know if it is a bug or not. Make sure it does not happen because of
some other component(s) (turn off Auto-Resolve dependencies and see what is
getting included).

Konstantin
 
M

Malvem

Dear Konstantin :

I try many times about this.It's my end result.If I add it,I can't run cmd.exe.
But when I disable this component,everything is fine.


Malvem
 
K

KM

Oh, so it is the CMD.exe that did not work with the Fonts included?
That would make more sense then.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top