PC Review Forums Newsgroups Windows XP Windows XP Embedded 0xc0000142 issue?

Reply

0xc0000142 issue?

 
Thread Tools Rate Thread
Old 01-07-2004, 08:11 AM   #1
Malvem
Guest
 
Posts: n/a
Default 0xc0000142 issue?


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
  Reply With Quote
Old 01-07-2004, 08:38 AM   #2
KM
Guest
 
Posts: n/a
Default Re: 0xc0000142 issue?

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
> 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



  Reply With Quote
Old 01-07-2004, 08:47 AM   #3
KM
Guest
 
Posts: n/a
Default Re: 0xc0000142 issue?

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,
>
> 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
> > 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

>
>



  Reply With Quote
Old 12-07-2004, 11:30 AM   #4
Malvem
Guest
 
Posts: n/a
Default Re: 0xc0000142 issue?

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.1144@TK2MSFTNGP10.phx.gbl>...
> 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
>

  Reply With Quote
Old 12-07-2004, 04:48 PM   #5
KM
Guest
 
Posts: n/a
Default Re: 0xc0000142 issue?

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

> 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.1144@TK2MSFTNGP10.phx.gbl>...
> > 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
> >



  Reply With Quote
Old 13-07-2004, 02:54 AM   #6
Malvem
Guest
 
Posts: n/a
Default Re: 0xc0000142 issue?

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:<#ZYg0eCaEHA.3596@tk2msftngp13.phx.gbl>...
> 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
>
> > 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
> >
> >

  Reply With Quote
Old 13-07-2004, 05:03 AM   #7
KM
Guest
 
Posts: n/a
Default Re: 0xc0000142 issue?

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.

> 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:<#ZYg0eCaEHA.3596@tk2msftngp13.phx.gbl>...
> > 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
> >
> > > 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
> > >
> > >



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off