PC Review
Forums
Newsgroups
Windows XP
Windows XP Embedded
0xc0000142 issue?
Forums
Newsgroups
Windows XP
Windows XP Embedded
0xc0000142 issue?
![]() |
0xc0000142 issue? |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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 |
|
|
|
#2 |
|
Guest
Posts: n/a
|
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 |
|
|
|
#3 |
|
Guest
Posts: n/a
|
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 > > |
|
|
|
#4 |
|
Guest
Posts: n/a
|
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 > |
|
|
|
#5 |
|
Guest
Posts: n/a
|
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 > > |
|
|
|
#6 |
|
Guest
Posts: n/a
|
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 > > > > |
|
|
|
#7 |
|
Guest
Posts: n/a
|
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 > > > > > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

