To prevent its use as a production operating system, Windows PE automatically stops running the shell and restarts after 72 hours of continuous use. This period is not configurable. When Windows PE reboots, all changes are lost, including changes to drivers, drive letters, and the Windows PE registry. In general, use the latest version of WinPE to deploy Windows. What's new in WinPE. Network drivers: Initializing and adding drivers Debug apps. Yes, you're right.
When I used this I did not quote the path to my application. Please have a look at my revised answer. Thanks to Patrick Cuff for improving my answer. I'm still new to SO and did not realize until now that enough reputation would allow you to edit other people's posts Create a. Works fine for me. For me it needed to start with WScript. CreateObject "Wscript.
Patrick Cuff This worked for me. Without the exit command the terminal stayed aliva — Viorel Mirea. Great tip. It works with batch files that are running a java program also. Josy Josy 89 1 1 silver badge 1 1 bronze badge. This worked excellent for me however all I had to do was save start javaw mainClass into my.
Implemented similar solution. Looks like this question is good place to post it as additional answer. Cheers — Alex. Which is exactly what we want. Egoadsr Egoadsr 41 3 3 bronze badges. This is the best answer! Oskar Duveborn Oskar Duveborn 2, 16 16 silver badges 20 20 bronze badges. Therefore, the console handle for the application is not set. This flag is ignored if the application is not a console application Here is a link to hide-winconsole-window executable using this method and source code.
Alex Alex 2, 4 4 gold badges 22 22 silver badges 27 27 bronze badges. You can create a VBS script that will force the window to be hidden. Put your commands in winpeshl. Then the command prompt won't be displayed.
Tripredacus Posted April 17, Posted April 17, Hi friends, Ive googled a lot and i found a program called cmdow. This is what i have done to hide the command prompt: Firstly, while creating the winPE image you gotta put this program which is hardly 40kb into the system32 directory. IcemanND Posted April 18, Posted April 18, Tripredacus Posted April 18, Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community.
Register a new account. Sign in Already have an account? If we run a batch file by starting it manually, we usually don't mind seeing the "black square" of the console window. If, on the other hand, we run a batch file scheduled, or remotely, we often would prefer not to see the "black square" at all. The most simple solution is to run the batch file minimized. The batch file will still be visible in the task bar while running. For batch file started by a shortcut, this may be "sufficiently hidden".
0コメント