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

0xc0000142 issue?

81 views
Skip to first unread message

Malvem

unread,
Jul 1, 2004, 3:11:42 AM7/1/04
to
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

KM

unread,
Jul 1, 2004, 3:38:48 AM7/1/04
to
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

KM

unread,
Jul 1, 2004, 3:47:38 AM7/1/04
to
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

Malvem

unread,
Jul 12, 2004, 6:30:47 AM7/12/04
to
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

"KM" <konstmor@nospam_yahoo.com> wrote in message news:<#ZmHw#zXEHA...@TK2MSFTNGP10.phx.gbl>...

KM

unread,
Jul 12, 2004, 11:48:42 AM7/12/04
to
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

Malvem

unread,
Jul 12, 2004, 9:54:05 PM7/12/04
to
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


"KM" <konstmor@nospam_yahoo.com> wrote in message news:<#ZYg0eCa...@tk2msftngp13.phx.gbl>...

KM

unread,
Jul 13, 2004, 12:03:32 AM7/13/04
to
Oh, so it is the CMD.exe that did not work with the Fonts included?
That would make more sense then.


--
Regards,
KM, BSquare Corp.

0 new messages