Making .exe from .class

Hi,
I have written a java application which makes use of many .class files. Now I want to club all the .class files into a single .exe files, so that when I double click the exe file, my application should run. I am using Windows with JVM installed. Can someone tell me how to do this? This is extremely urgent. Thanks a lot.

package all your classes with package statement and store in a folder with the name of that package
import those packaged files into your main program. ie..import Test.*;
create your mf file
Mainfest-Version: 1.0
Main-Class: (your main file) make sure you hit enter after this staement or you will get errors. save it as .mf.
@ prompt = jar cvfm yourprogram.jar Mainfest.mf yourclassname.class anypictures.whatever yourother classes/*.* yourOtherClasses/*.* and so on.
to test the program java -jar yourprogram.jar
did I leave anything out?

Similar Messages

  • Making exe from classes

    hi,
    we developed application using swing package. we want to make exe for windows and linux also. how can we do that. if anybody suggest me that would be helpful for me. now we have jbuilder also with us. just now we got it. i don't know much about it. will it be useful to generate exe.
    thanks in advance
    sriram

    Use the Advanced Search located in the top right hand corner of this page. This question has been asked and answered numerous times.

  • Making an exe from a bunch of classes

    Hello all
    Is it possible to make an exe from a bundle of classes? e.g. I have a couple of java classes one of which contains a main() function. I want to create an exe file with a simple GUI that accepts command line arguments and runs the program. If anyone can help me, please do.
    Thanks
    Gurpreet Singh

    http://www.google.com/search?hl=en&q=class+files+to+exe&btnG=Google+Search
    http://onesearch.sun.com/search/onesearch/index.jsp?qt=class+to+exe&subCat=&site=dev&dftab=&chooseCat=javaall&col=developer-forums

  • Facing problem in creating socket in a method from an already deployed application exe while same method is working from another exe from same environment from same location.

    Dll Created In: - MFC VC
    6.0
    Application Exe Developed In:
    - VC 6.0, C# and VB.net (Applications which are using dll)
    OS: - Windows XP sp2 32bit
    / Windows Server 2008 64 bit
    Problem: - Facing problem in creating socket
    in a method from an already deployed application exe while same method is working from another exe from same environment from same location.
    Description: - We have product component which
    has an exe component and from exe we invoke a method, which is defining in dll, and that dll is developed in MFC VC6.0. In the dll we have a method which downloads images from another system after making socket connection. But every time we are getting Error
    code 7, it is not giving desire result while same method is working from another exe from same environment from same location. And also me dll is deployed on many systems and giving proper output from same application.
    Already Attempt: - Because error is coming on
    client side so what we did, we created a driver in C# which invokes same method from same environment(on client machine) using same dll and we are astonished because it worked fine there.
    Kindly Suggest: -
    We are not able to figure out root cause because nothing is coming in windows event logs but what I did, for finding the problem line, I wrote logs on each line and found the exact line in application exe which is not working,
    actually  it is not executing Create () method,
    I will give snippet of the code for understanding the problem because we are not finding any kind solution for it.
    Kindly assist us in understanding and fixing this problem.
    Code Snippet: -
    Int Initialize (LPTSTR SiteAddress, short PortId)
    try
    CClientTSSocket *m_pJtsSockto;
    m_pJtsSockto = new CClientTSSocket;
    LONG lErr = m_pJtsSockto->ConnectTS(csIPAddress,PortId);
    ErrorLog (0, 0, "--------ConnectTS has been called ------------","" );
    catch(...)
    DWORD errorCode = GetLastError();
    CString errorMessage ;
    errorMessage.Format("%lu",errorCode);
    ErrorLog (0, 0, "Image System", (LPTSTR)(LPCTSTR)errorMessage);
    return  IS_ERR_WINDOWS;
    Note: -
    CClientTSSocket extends CAsyncSocket
     IS_ERR_WINDOWS is a macro error code which value I found 7.
    LONG ConnectTS(CString strIP, UINT n_Port)
    ErrorLog(0,0,"ConnectTS is calling Create [is going to call]","");
    if(!Create())
    ErrorLog(0,0,"ConnectTS is calling [Create not called successfully] ","");
     n_Err = GetLastError();
     ErrorLog(n_Err,0,"ConnectTS is calling1111111111111111Erorrrrrrrrrrrrr","");
    return NET_INIT;
    ErrorLog(0,0,"ConnectTS is calling2222222222222222222","");
    if(!AsyncSelect(0))
    n_Err = GetLastError();
    return NET_INIT;
    if(!Connect(strIP,n_Port))
    n_Err = GetLastError();
    ErrorLog(n_Err,0,"ConnectTS","");
    return SERVER_NOT_CONNECTED;
    Code description: -
    From
    int GETImage_MT() method we call Initialize() method and pass client machine IP and Port and there we call
    ConnectTS() method, In this method we Create() method and finally it returns the error code as mention in macro 7.
    Logs after running the program: -
    --------ConnectTS has been called ------------
    ConnectTS is calling Create [is going to call]
    Image System 
    0
    Note: - According to logs, problem is coming in Create method().
    Here 0 is errorMessage received in catch block. And from catch block it returns macro value 7. And when we run same method individually from same machine, same environment through same dll
    from different exe, it is working fine and we are facing any kind of problem. While same problem application was working properly earlier but now continuously it showing problem.
     Kindly assist us to resolve the issue.

    Pointer variable was already initialized; I have mention in code; kindly assist us.
    Dll Created In: - MFC VC 6.0
    Application Exe Developed In: - VC 6.0, C# and VB.net (Applications which are using dll)
    OS: - Windows XP sp2 32bit / Windows Server 2008 64 bit
    Problem: - Facing problem in creating socket
    in a method from an already deployed application exe while same method is working from another exe from same environment from same location.
    Description: - We have product component
    which has an exe component and from exe we invoke a method, which is defining in dll, and that dll is developed in MFC VC6.0. In the dll we have a method which downloads images from another system after making socket connection. But every time we are getting
    Error code 7, it is not giving desire result while same method is working from another exe from same environment from same location. And also me dll is deployed on many systems and giving proper output from same application.
    Already Attempt: - Because error is coming
    on client side so what we did, we created a driver in C# which invokes same method from same environment (on client machine) using same dll and we are astonished because it worked fine there.
    Kindly Suggest:
    - We are not able to figure out root cause because nothing is coming in windows event logs but what I did, for finding the problem line, I wrote logs on each line and found the exact line in application exe which is not
    working, actually it is not executing Create () method, I will give snippet of the code for understanding
    the problem because we are not finding any kind solution for it. Kindly assist us in understanding and fixing this problem.
    Code Snippet: -
    Int Initialize (LPTSTR SiteAddress, short PortId)
    try
    CClientTSSocket *m_pJtsSockto;
    m_pJtsSockto = new CClientTSSocket;
    LONG lErr = m_pJtsSockto->ConnectTS(csIPAddress,PortId);
    ErrorLog (0, 0, "--------ConnectTS has been called ------------","" );
    catch(...)
                       DWORD errorCode = GetLastError();
                       CString errorMessage ;
                       errorMessage.Format("%lu",errorCode);
                       ErrorLog (0, 0, "Image System", (LPTSTR)(LPCTSTR)errorMessage);
                       return  IS_ERR_WINDOWS;
    Note: - CClientTSSocket extends CAsyncSocket
     IS_ERR_WINDOWS is a macro error code which value I found 7.
    LONG ConnectTS(CString strIP, UINT n_Port)
              ErrorLog(0,0,"ConnectTS is calling Create [is going to call]","");
              if(!Create())
                       ErrorLog(0,0,"ConnectTS is calling [Create not called successfully] ","");
              n_Err = GetLastError();
              ErrorLog(n_Err,0,"ConnectTS is calling1111111111111111Erorrrrrrrrrrrrr","");
                      return NET_INIT;
              ErrorLog(0,0,"ConnectTS is calling2222222222222222222","");
              if(!AsyncSelect(0))
                       n_Err = GetLastError();
                       return NET_INIT;
              if(!Connect(strIP,n_Port))
                       n_Err = GetLastError();
                       ErrorLog(n_Err,0,"ConnectTS","");
                       return SERVER_NOT_CONNECTED;
    Code description: - From int GETImage_MT() method
    we call Initialize() method and pass client machine IP and Port and there we call ConnectTS() method, In
    this method we Create() method and finally it returns the error code as mention in macro 7.
    Logs after running the program: -
    --------ConnectTS has been called ------------
    ConnectTS is calling Create [is going to call]
    Image System  0
    Note: - According to logs, problem is coming in Create method(). Here
    0 is errorMessage received in catch block. And from catch block it returns macro value 7. And when we run same method individually from same machine, same environment through same dll from different exe, it is working fine and we are facing any kind of problem.
    While same problem application was working properly earlier but now continuously it showing problem.
     Kindly assist us to resolve the issue.

  • Came home from class to find several prblems with my Macbook Pro

    I want to start off by saying that over the weekend, I noticed that my light on my charger did not work any more, and it seems that the actual charger does not work any more either. It has been plugged in for a while but remains at 95%.
    Then today, I come home from classes, and notice my computer is making alot noise. It sounded like the fans were working really hard and every 30 seconds or so it would beep. I tried to shut it off but it quickly froze and eventually just seemed to shut off, although it was still making the noises. I unplugged the computer right away, but the sounds continued. Then I noticed that the headphone jack was shining a bright red light. I tried turning it back on from that point but it would not respond. Only when I removed the battery did it quit making noises.
    I put the battery back in and the noises started up again. I again tried to turn it on and the noises stopped and the computer started. It made sort of weird sound right when it turned on, but made the regular sound as Mac OSX was loading. I then noticed that my airport shortcut was not on the upper right. I opened internet connect and the option for "turn airport on" was darkened. I noticed the red light was still coming from the headphone jack, so I decided to check the sound. As I played music on iTunes, not a sound came from the speakers. I tried turning up the volume and I got the little symbol of the circle with a line through it came up (like on a no smoking sign). I plugged in my headphones and it worked, but when I unplugged them and plugged them back in, they did not work at all. There was a strange high pitched noise coming from under my keyboard at this point, so I quickly shut down the computer.
    When I turned it back on, I found that my Airport now worked. I still have the red light coming from the headphone jack, and I still can't get any sound, but there is no more high-pitched noises. The light on my charger now seems to work most of the time, but often flashes off and then back on. My battery still says 95%. It will not calculate the time until the battery is full though.
    So basically, I think that there must have been some freak accident that happened to my computer. All of these things seem unrelated, but it all happened at the same time. I really do not know much about computers - in fact I am not even sure what OS I have. I know I have Mac OS X, but I'm not sure which version. I got my Macbook Pro right after it came out and have downloaded all updates if that helps.
    Any idea as to what happened to my computer? What should I do? I was hoping to be able to email apple customer support or something, but I cannot even find how to do that. My phone support has run out, but I do have the repair service still. This is exactly mid-semester for me and I really can't afford to lose my computer! I'm sorry for the long post, but I wanted to describe everything in detail so that I could get the best responses. Any feedback at all will be appreciated, because as I said, I really do not know much about computers. (In terms of parts, how they run, etc.)
    Macbook Pro   Mac OS X (10.0.x)  

    I might be able to explain a coupe of the symptoms you mention.
    Firstly the 95% battery thing: this is expected. the way it works is that the charger does not keep plugging away when the battery is (effectively) fully charged. When the battery level drops below about 95% (say you it on battery for some time), then the charger will start working and try to take the battery back up to 100% again. However if you are between about 95% and 100%, then the charger will not work - hence the 'stable' display of 95%.
    The red light from the headphone socket is the optical digital audio connection. The socket can operate with both the optical and the 'old fashioned' stereo headphone plugs. The light is needed for the optical, and the side connectors for the stereo plug. If your system is working well, then the preferences panel will show the options come and go as you plug in the various types of plugs.
    I bought my MBP in May last year (shortly after they were released in Australia). If you bought the same thing as I did, then you should have OS X 10.4.8.
    When 'strange' things suddenly start happening, it may well be a hardware problem UNLESS you have applied a software update or installed some software just prior. If neither of these have happened, it may well be prudent to have the unit looked at by you local hardware repair place.
    Not really answering your basic questions, but I hope this helps.
    Susan

  • How to close Acrobat.exe from the task manager processes through plug-in?

    I have a plug-in in which we have a functionality of defining some keys and they are displayed as annotations on the PDF. Now, if the user defines such a key, an annot (i.e.a rectangular box) gets displayed on the PDF and if the user does not click custom menu say 'Close Key' then annot remains visible on the PDF.
    My problem is if in such a case i.e. the user has defined a key & if the user does not hit 'Close Key' and instead closes Acrobat by directly hitting close (i.e. [X] button at top right corner), then Acrobat exits; but the Acrobat.exe remains running in the Processes.
    If the user tries to open the same PDF again then a message pops up saying 'Cannot open file for viewing as its already in use...'.
    Note that any other PDF gets opened fine.
    Could somebody help me in giving me any ideas/suggestions on this? I want to exit the acrobat.exe from the processes so that the same PDF could get opened. As described above, the cause is the key (annot) was opened and user abrubtly exited Acrobat. Is there a way, that we could catch this Acrobat exit event in the plug-in? That way, I'd be able to clear off the annot (key) and then close acrobat.
    Please let me know asap.

    Hey, tnx for ur response! But, the issue is reproducible on Acrobat 7.0 Professional.
    I do have the 'WillClose' event registered in my plug-in. Below is the event that is wired up with 'WillClose' event:-
    static 
    ACCB1 void ACCB2 NotifyAVWillClose (AVDoc doc, void *clientData){
    UNREFERENCED_PARAMETER(clientData);
    UNREFERENCED_PARAMETER(doc);
    CloseTemplate(TRUE);
    The 'CloseTemplate' method performs the closing of the annotation, clearing of objects and deleting the PDFfile class pointer.
    And this all works fine with Acrobat.exe getting closed from the task manager processes in acrobat versions 8 & 9. However, in Acrobat 7.0, the process remains in the Task Manager.
    Could you suggest any ideas on what else needs to be implemented to end the process in Acrobat 7?
    Thanks!

  • Control a LabVIEW GUI exe from LabVIEW

    I have a vendor supplied LabVIEW.exe application, it's used to control a device that's part of an automated manufacturing process.   At present we need to manually run the exe from the control PC , read data, make a decision, then input a few values, button clicks etc.   I'd like to automate this step.  Without having the source code for the application, what options do I have for controlling this application from LabVIEW?
    I tried using System Exec.vi, but I got beat when I needed to right-click on a graph indicator to retrieve data.  LabVIEW applications don't accept SHIFT+f10 for right-click.
    What other methods can I use to communicate with this application?

    Dennis_Knutson wrote:
    On the other hand, if the specifications that you provided to the software vendor did not include these requirements, then the vendor would be quite reasonable in asking for additional money to make the changes. You should also have required that the source code be provided.
    Of course, this is true. I was making an assumption, that since the OP has experience in LabVIEW, these sort of things had already been taken into consideration by the buyer.
    Would source code normally be provided when someone purchases an EXE? If there are proprietary pieces in there (algorithms, etc.), I thought it would be more common for the vendor to just provide hooks to the control and data functions.
    Cameron
    To err is human, but to really foul it up requires a computer.
    The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
    Profanity is the one language all programmers know best.
    An expert is someone who has made all the possible mistakes.
    To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):
    LabVIEW Unit 1 - Getting Started
    Learn to Use LabVIEW with MyDAQ

  • Facing problem with running exe from my java code

    Hello,
    I have to run the exe from java code for which I m using Runtime and Process classes. The exe runs in the following way on command line
    C:/ myexe -j [now press enter]
    input sentence followed by ! [now press enter]
    And after this exe gives the output.
    So is there any way to achieve this programmatically in Java?
    Thanks in advance.
    Regards,

    I m confused .. how can i pass input to the Process through InputStream? I think it will need OutputStream for that.
    Here is my code...
    import java.io.*;
    class CallToExe
    static BufferedReader br;
    public static void main(String[] args)
    File F = new File("C:/Chasen.exe");
    try
    if( F.exists())
         System.out.println("Exe exists");
         Runtime rt = Runtime.getRuntime();
         Process proc = rt.exec("C:/chasen.exe");
         br = new BufferedReader(new InputStreamReader(in));
         int a = in.read();
         System.out.println(a);
         String res = br.readLine();
         System.out.println(res);     
         while(!res.equals(null))
         System.out.println(res);     
         res = br.readLine();
    proc.waitFor();
         proc.destroy();
    catch(NullPointerException npe)
         npe.printStackTrace();
    catch (Exception IOEx)
    IOEx.printStackTrace();
    But it doesnt work as my chasen.exe needs arguments from stdin.
    The way exe works is as follows.
    on command prompt>>
    C:/chasen.exe -j [ Need to press ENTER here]
    input statement . [ Need to press ENTER here too]
    Then output is displayed on command prompt which can be taken from InputStream of the process. But I m not able to properly run this exe itself with all the arguments frm Stdin

  • Win2000 NoClassDefFoundError running java.exe from DOS prompt

    I am using Windows 2000 with J2SE v 1.3.1_02 and have a problem when I run java.exe from the command line for classes that are defined to be in a package. I can both compile and run this program from the TextPad editor but when I run it from a DOS prompt I get the error "Exception in thread "main" java.lang.NoClassDefFoundError: MyClass"
    My CLASSPATH is set to D:\
    The files MyClass.java and MyClass.class are in the directory D:\MyProject
    here is the source:
    package MyProject;
    public class MyClass
         public static void main(String[] args)
              System.out.println("MyClass main");
    Note that if I comment out the package statement and add "." to CLASSPATH then it runs from the DOS prompt. Why does the program run from inside TextPad but not from the DOS prompt? Seems to be some type of bug in java.exe on Windows 2000 when the keyword package is used.

    It turns out that if you use the main method in a class that declares the package statement you need to use the fully qualified name to run the program. Using this statement works for this problem:
    java MyProject/MyClass
    the forward slash is required even though is a Windows system.

  • Call c++ program .exe from java

    Hello every body
    i have a problem while calling Hello.exe from java
    c++ code
    #include "stdafx.h"
    #include <iostream>
    # include <string>
    using namespace std;
    int main(int argc, char *argv[])
         int x;
         cout<<"Just test ";
    return 0;
    }java code:
    import java.io.IOException;
    public class runtime{
        public static void main(String[] args){
        try
        Process process = Runtime.getRuntime().exec("Hello.exe");
        }catch (IOException e)
         e.printStackTrace();
    }it display nothing!!

    alexxzius wrote:
    String line="";
    BufferedReader input =
    new BufferedReader
    (new InputStreamReader(process.getInputStream()));
    while ((line = input.readLine()) != null) {
    System.out.println(line);
    There is a danger of deadlock in this code. The OP should read the 4 sections of [http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html|http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html] and implement ALL the recommendations.

  • Create Executeable File From .class

    Hi All,
    I want to create executable file from .class. Is there any solution so that it should create only windows Dependent executable file so that it has to use windows DLL for all api calls.
    Regards
    Srikanth Addepalli

    What he is saying is you will want to make your
    .class -> .jar first. from here you can implement a
    variety of tools like
    http://www.excelsior-usa.com/articles/java-to-exe.html
    http://www.regexlab.com/en/jar2exe/
    http://jsmooth.sourceforge.net/
    Those are all free however this one isn't
    http://www.bestvistadownloads.com/software/t-free-jar2
    exe-standard-edition-download-lmdepovu.htmlThanks for Reply.
    But Every software you specified here is indirectly using the Java virtual Machine for execution.I need a software such a way that i should run without help of JVM.
    regards
    Srikanth Addepalli

  • Calling Exe from Servlet

    I need to call 1 exe from a servlet. I tried giving <FORM ACTION="Path for that Exe">
    But its not working. Can't I call exe or any other file other than .class file ?
    Help me out.

    I need to call 1 exe from a servlet. I tried giving
    <FORM ACTION="Path for that Exe">
    But its not working. Can't I call exe or any other
    file other than .class file ?
    Help me out.Here goes my Code
    import java.io.*;
    import java.util.Hashtable;
    import java.util.Date.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    * Date Servlet
    * This is a simple servlet to demonstrate server-side include
    * It returns a string representation of the current time. And also client IP and Name
    * @author
    * 16 Oct. 2003
    public class PrintDate extends HttpServlet{
         public void doGet(HttpServletRequest request, HttpServletResponse response)
              throws ServletException, IOException{
              response.setContentType("text/plain");
              PrintWriter out = response.getWriter();
              //ServletOutputStream out = response.getOutputStream();
              String host = request.getRemoteAddr();
              //out.println("I am printing the host:" + host);
              out.println("<HTML>");
              out.println("<HEAD></HEAD>");
              out.println("<BODY>");
              out.println("<FORM METHOD=get ACTION=/servlet/Kudremukh_pan>");
              out.println("<INPUT TYPE=text SIZE=15>");
              out.println("<INPUT TYPE=submit VALUE=submit>");
              out.println("</FORM></BODY></HTML>");

  • Report Generation - Build an exe from a PC with different Office Version

    Hi,
     I want to build an exe from a VI that uses Report Generation Toolkit. The application has to be deployed on several PCs that use Office 2000. During development phase I installed on my PC, Office 2000 and everything was ok. After I was done with it, I reinstalled Office 2007. So, the Report Generation Toolkit from my PC is for Office 2000 (it was installed when I had Office 2000 on my PC).
     These days I had to fix some bugs from my application, I made a new exe but the part that generates Word reports (using RGT) is not working anymore - I received that error with -35...9935 (or something like this).
     I tried to search for the problem and I found it: with exactly the same VI's (_Word Dynamic VIs.vi - for Office 2000) the invoke nodes from a PC with Office 2007 and a PC Office 2000 look different. For example in Word_Open_Document.vi, the invoke node Document is different for a PC with Office 2000 + RGT for 2000 and a PC with Office 2007 + RGT for Office 2000 (no mistake).
     So, I've tried to copy the VI's from a PC with Office 2000 + RGT 2000 to my PC but I cannot build it because I get the error: There are some errors in _Word Dynamic VIs.vi (the invoke nodes do not fit).
    Finally my question is: How can I build the exe on my PC: Office 2007 but with RGT for Office 2000??
    Thanks,
    Paul
    Solved!
    Go to Solution.

    Hi,
    Thank you for your advice. Can you please tell me what you want to say with the wrapper vi? I don't really understand what you mean.
    By the way, I solved the problem. I discovered that the Invoke Nodes are updated based on the Object Library for the ActiveX control (in this case the MS Office). The data types are store in the msword9.olb (version 9 - for office 2000 in Office folder) and msword.olb (version 12 - for office 2007 also in Office folder). I tried to register the msword9.olb (using the regsvr32.exe) but it doesn't work for olb files - I need the ocx or dll. But, if I replace the msword.olb from Office 2007 with msword9.olb from Office 2000 everything work.
    Ok, steps that have to be done:
    1. Install the RGT for Office 2000 on the PC
    2. DO NOT Change anything in _Word_Dynamic VIs.vi. When Office 2007 is installed the VI arrow should be broken (error in VI)
    3. Copy the msword9.olb from a system with Office 2000 (or your version) and copy it to your system with Office 2007 with the new name msword.olb. DO NOT FORGET to make a backup of the original MS Office 2007 file and to restore it at the end.
    4. After the new msword.olb is there, the _Word_Dynamic VIs.vi should have no error
    5. Build your exe application
    6. Restore the old msword.olb
    7. ENJOY your life !
    I hope this is useful also for somebody else.
    Paulie

  • How to start java.exe from a java program in windows ?

    Hi,
    I did like to know, if its possible to run java.exe from a java program on windows ? The java.exe should be visible from checking the processes that are currently running using the Task Manager on windows.

    Runtime.getRuntime().exec("java Sample");

  • Scanstate.exe from USMT 5.0 from Windows 8.1 ADK fails on Windows XP with "%1 is not a valid Win32 application"

    We started to test our Windows XP SP3 (32-bit) to Windows 7 migration zero-touch task sequence in ConfigMgr 2012 R2 and we can't get past the following error from the "Capture User State" step running on XP...
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    The task sequence execution engine failed executing the action (Capture User State) in the group (Capture Files and Settings) with the error code 2147942593
    Action output: ...  params successful
    Building USMT command successful
    Successfully connected to "\\JHQCM01.jhq.net\SMPSTOREE_FB121F31$\A1ADF87C012E6998B5753B112299BEE4F8868207FAE3D75671798DF6A7DD1A33"
    Executing command line: "C:\_SMSTaskSequence\Packages\JHQ0004E\x86\scanstate.exe" "\\JHQCM01.jhq.net\SMPSTOREE_FB121F31$\A1ADF87C012E6998B5753B112299BEE4F8868207FAE3D75671798DF6A7DD1A33"
    /o /localonly /encrypt /keyfile:*** /efs:copyraw /v:5 /vsc /l:"C:\WINDOWS\CCM\Logs\SMSTSLog\scanstate.log" /progress:"C:\WINDOWS\CCMLogs\SMSTSLog\scanstateprogress.log" /i:"C:\_SMSTaskSequence\Packages\JHQ0004E\x86\MigApp.xml"
    /i:"C:\_SMSTaskSequence\Packages\JHQ0004E\x86\MigDocs.xml" /i:"C:\_SMSTaskSequence\Packages\JHQ0004E\x86\MigExclusions.xml"  /uel:90 /ue:VM0142511382\* /configC:\_SMSTaskSequence\Packages\JHQ0004E\config.xml
    Invoking ReleaseSource on USMTPackagePath C:\_SMSTaskSequence\Packages\JHQ0004E
    OSDMigrateUserState finished: 0x800700c1
    CreateProcess failed. Code(0x800700C1)
    Command line execution failed (800700C1). The operating system reported error 2147942593: %1 is not a valid Win32 application.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    To troubleshoot, we tried running the x86 version of scanstate.exe (from USMT from the Windows 8.1 ADK) manually by just double clicking on it on a few Windows XP SP3 systems and we get a similar error as seen below...
    So, we thought maybe USMT from our Windows 8.1 ADK install maybe somehow corrupt, but downloading and installing it again results in the same error, so it does not seem to be a file corruption issue.   The x64 version of scanstate.exe works
    fine on 64-bit OS's, its just Windows XP SP3 (32-bit) we are seeing this error.
    Has anyone successfully using scanstate.exe from USMT 5.0 from the Windows 8.1 ADK successfully to capture user state from a Windows XP SP3 (32-bit) system?
    Regards,
    JJ

    Windows 8.1 ADK comes with a newer version of USMT (NOT 5.0) and crashes. I learned this today the hard way. I hope Windows 8.0 ADK's loadstate.exe works for restoring to a 8.1 machine.
    Yesterday i used Windows Easy Transfer to move from XP to 7, and then re-did the backup in 7 so it would be compatible with 8.1, and it only restores files, not settings.
    So i will test USMT 5.0 in this same scenario, because i have 30 machines to change to newer machines with 8.1

Maybe you are looking for

  • Kernel panic with 10.9.2

    My MBA crashes 3-4 times a day, esp when plugged in or our of external display. Pls help Anonymous UUID:       0C0756D4-6109-51DF-E422-80FCFDCD1353 Fri Mar 21 11:04:41 2014 panic(cpu 2 caller 0xffffff80040dbe2e): Kernel trap at 0xffffff7f85c66b91, ty

  • How to view all files / folders using a Jtree

    Hello, I am developing a 'windows explorer' type application and need to create a JTree which displays all files and folders on a local and remote PC in the same way that windows explorer works. Can anyone recommend a good way to read all files / fol

  • File System Repository Index

    Hi all, I´m trying to create an index wich data source is a file system repository (the file system is remote). Surfing trough help.sap i found this: http://help.sap.com/saphelp_nw04/helpdata/en/e3/92322ab24e11d5993800508b6b8b11/content.htm And then

  • Large Word document imported into Pages with "Section Break Problems"

    Hi there, I am importing a large Word document with many photos (>250 pages) into Pages. Now, the problem is that when using the "page thumbnail" window to the left it marks all my windows with a yellow border. This means that I can't duplicate singl

  • How to configure drop down menu in custom list

    Hi, I want to create custom list with 3 options. Active, Proposal and Completed. How can I create drop down menu like this (look at picture).