Posted February 7, 201411 yr hi everyone, my question is a little bit crazy but i'll try my best to clarify it (and BTW i wish Lego to answer it if possible), so when we use Wintoolkit there is those files added to different places in Windows folder like : "%windir%\System32\WinToolkitRunOnce.exe" ; "%windir%\System32\WinToolkitRunOnce.exe.config" ; "%windir%\System32\WinToolkit_RunOnceLog.txt" ; "%windir%\Prefetch\WINTOOLKITRUNONCE.EXE-*.pf" (Thank you mooms) and some others who knows...? so my questions is : 1. Is removing those files from install.wim (Offline) will make some problems in Windows 7 installation ?2. Then if the case how i can remove those files without creating problems in Windows 7 installation ? and thanks for your answers.
February 7, 201411 yr These files r from RO-Installer (WTK)If u remove, u just remove the RO-Installer.That thing installs some "not-integretable" updates and updates/installers they u have added.Without it, u not install these, nothing more, no problems in Windows 7 installation. Greez
February 7, 201411 yr If someone has a complete list of leftover files safe to delete, please post them here. I have already found 1 folder (containing drivers.log) and 4 files : "%windir%\WinToolkit""%windir%\System32\WinToolkitRunOnce.exe""%windir%\System32\WinToolkitRunOnce.exe.config""%windir%\System32\WinToolkit_RunOnceLog.txt"%windir%\Prefetch\WINTOOLKITRUNONCE.EXE-*.pf I have created a "cleanup" SFX (to run with withWinToolkitRunOnce) containing a batch file that will delete the files on next reboot (using RunOnce).This way the leftover files & folder are safely removed and you can check log before rebooting. The command executed:REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce /V Cleanup /D "CMD /C DEL %WINDIR%\system32\WinToolkit*.* & DEL %WINDIR%\Prefetch\*.pf & RMDIR /S /Q %windir%\WinToolkit"Here is the SFX: http://www.mediafire.com/download/9c5d6c02vtv6co5/SFX_Cleanup.exe
February 7, 201411 yr Yeah, was think its clean after first start and he mean install.wim.Thank you mooms, that would be nice to have a cleanup sfx.May move log to dekstop (option)? greez
February 7, 201411 yr Files will be deleted only on next reboot, so you can check logs and save them before deletion.
February 8, 201411 yr Compiled the batch file with bat to exe converter, now the executable is only 25 KB http://www.mediafire.com/download/yg5zbd2ffd5htpv/WTCleanup.exe
February 8, 201411 yr Ideally, I would think that this kind of thing should be included in Win Toolkit to clean up after itself Whether it should do so as a default is the question, I guess. Regarding logs, I would think that once everything is working correctly everyone would like it all cleaned up. What good is a bunch of logs that say "successful" after all? But as the user is learning how things work, those logs can be invaluable to help the user, or Lego, figure out what went wrong, so the user should keep all the logs they can until they are sure they have a successful methodology. Cheers and Regards
February 8, 201411 yr Yes, ideally WinToolkitRunOnce should delete itself once shut down.Note that my cleanup script will also clean Prefetch folder. (Obviously installers are only launched once by WinToolkitRunOnce , so Prefetch can be emptied).
February 21, 201411 yr REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce /V Cleanup /D "CMD /C DEL %WINDIR%\system32\WinToolkit*.* & RMDIR /S /Q %windir%\WinToolkit"The next version will add this automatically at the end of the installation process.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.