Ulaiphur
Content Type
Profiles
Forums
Events
Posts posted by Ulaiphur
-
-
If I'm using the command line, will the drives defined in -syspart and -tempdrive be formatted automatically?
0 -
And is there a way to specify the OEM folder manually? By command line or .ini file?
By the way, this little program is extremely useful and well written. Thanks on behalf of myself and all who uses it.
0 -
I'm not using the entire iso content, just the vim file.
Say I have the win8.wim file inside WinNTSetup folder. Where do I create the $OEM$ folder?
0 -
Can you add support for SetupComplete.cmd? Just like unattend.xml.
Also, you mentioned somewhere in this thread of support for OEM folders. Does it apply to Windows Vista and above?
If not, could it be implemented?
0 -
I was thinking about using events but none of them specify when the desktop is fully loaded.
You can put in a generic waiting process or have it wait until a certain process exists.I already did that today. It works but it is not a very clean approach; not native if you will.
Thanks for your help.
0 -
Happy holidays to all members!
I want to create a task in Task Scheduler that will allow me to start a program after windows is fully loaded (everything, including desktop).
Right now I am using At Log on as the event but the application starts before the desktop ie. I am seeing the application immediately after the wallpaper is shown.
I want to load after windows fully loads and not before.
How can this be done?
Thanks for any help you can provide.
0 -
In theory, the registry is just like an ordinary database that once data is entered in it, it doesn't fully remove it. As time goes by it increases its size over and over again. My logic states that even if you remove invalid data from the registry, its size will NOT decrease. So , now we are dealing with two issues: size increase and fragmentation.
How do we overcome this? How we correctly optimize the registry? I'm fed up with crap shareware applications that don't do a **** thing.
Please do not suggest potentially dangerous applications such as: tune-up, acelogix etc. They don't work and will never do.
0 -
<pnpObject name="mssmbios" type="Driver" activity="Load" startTime="6321" endTime="7560" duration="1239" prePendTime="1239" />
Any idea as to what this does? It's the only one that takes up this amount of time to load.
Thanks.
0 -
Could the cause be daemon tools? I have one device loaded.
If it's my lite-on writer I don't know what to do with it. It shows no signs of usage (no sounds, lights nothing) in the booting procedures.
//LE:
New test with daemon tools devices removed:
- - <phase name="systemStart" startTime="4319" endTime="7672" duration="3353">
[b] <pnpObject name="mssmbios" type="Driver" activity="Load" startTime="6321" endTime="7560" duration="1239" prePendTime="1239" /> [/b]
[b] <pnpObject name="rdbss" type="Driver" activity="Load" startTime="5246" endTime="6155" duration="909" prePendTime="909" /> [/b]
<pnpObject name="cdrom" type="Driver" activity="Load" startTime="4320" endTime="4732" duration="411" prePendTime="411" />
<pnpObject name="Null" type="Driver" activity="Load" startTime="4732" endTime="5075" duration="342" prePendTime="342" />
<pnpObject name="nsiproxy" type="Driver" activity="Load" startTime="6155" endTime="6321" duration="165" prePendTime="165" />
<pnpObject name="CSC" type="Driver" activity="Load" startTime="7584" endTime="7636" duration="51" prePendTime="51" />
<pnpObject name="VgaSave" type="Driver" activity="Load" startTime="5076" endTime="5117" duration="41" prePendTime="41" />
<pnpObject name="AFD" type="Driver" activity="Load" startTime="5148" endTime="5178" duration="30" prePendTime="30" />
<pnpObject name="blbdrive" type="Driver" activity="Load" startTime="7644" endTime="7672" duration="28" prePendTime="28" />
<pnpObject name="discache" type="Driver" activity="Load" startTime="7560" endTime="7584" duration="24" prePendTime="24" />
<pnpObject name="TermDD" type="Driver" activity="Load" startTime="5230" endTime="5246" duration="15" prePendTime="15" />
<pnpObject name="ws2ifsl" type="Driver" activity="Load" startTime="5182" endTime="5197" duration="15" prePendTime="15" />
<pnpObject name="NetBIOS" type="Driver" activity="Load" startTime="5200" endTime="5214" duration="14" prePendTime="14" />
<pnpObject name="RDPREFMP" type="Driver" activity="Load" startTime="5121" endTime="5135" duration="14" prePendTime="14" />
<pnpObject name="Wanarpv6" type="Driver" activity="Load" startTime="5216" endTime="5230" duration="13" prePendTime="13" />Thanks for your help so far. Any ideas on what to do next?
0 -
Here it is: BOOT
0 -
I have a dvd write Lite-On but I'm using windows default drivers for it (ie haven't installed any 3rd party utils from liteon).
I've installed a driver for my usb mouse that changed the polling rate above it's limit. For this I also have enabled Test Mode and it seems that this was the culprit. I have disabled it now and PreSMSS is 13 seconds. Is this normal?
0 -
Hi,
I'm fairly new here and would like to learn diagnosing windows boot time. I understood most of what you've written (very well written, by the way) and would just like someone to confirm of what I think is the cause here.
I'm having a slow time in PreSMSS which is 29327. I don't what is the normal value of it but it boots a lot slower than before.
I've look in the .xml file and found that: HID\VID_1BCF+PID_000A+Col01\6+3a19b3c5+0+0000 which is HID-compliant mouse is the cluprit but may also be others.
Please check for any other anomalies that it may contain.
Thank you for the guide, help and especially time.
0 -
I'm using an unattended sheet in order to install windows 8. I'm fairly new in unattended procedures ans was wondering if I could integrate in my sheet a way to launch a batch in order to create partitions.
Here is my unattended sheet:
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE">
<component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<UserData>
<ProductKey>
<WillShowUI>OnError</WillShowUI>
<Key></Key>
</ProductKey>
<AcceptEula>true</AcceptEula>
<FullName></FullName>
<Organization></Organization>
</UserData>
</component>
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SetupUILanguage>
<UILanguage>en-US</UILanguage>
</SetupUILanguage>
<InputLocale>0409:00000409</InputLocale>
<UserLocale>en-US</UserLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ComputerName></ComputerName>
<RegisteredOwner></RegisteredOwner>
<RegisteredOrganization></RegisteredOrganization>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
</OOBE>
<TimeZone>GTB Standard Time</TimeZone>
</component>
</settings>
</unattend>Is it possible to do it this way?
0 -
Try changing the vlite's temporary directory and try again. Did you make a wimfltr\x64 directory inside vlite's main folder? You need to use wimfltr 1.1 x64 to work correctly.
0 -
Thanks for the help guys. I'll try them ASAP.
@Kullenen_Ask
But I am curious as to where do I find the "HKEY_LOCAL_MACHINE\SOFTWARE_00\Microsoft\Windows NT\CurrentVersion" key. Is it in the SOFTWARE hive of the boot pe image?
@JFX
What is the "-boot" parameter? I haven't been able to find any information about it.
LE: It works with the -boot parameter
0 -
First I captured the boot pe image with this command:
imagex /capture H:\s2 H:\s1\sources\bootpe.wim "Microsoft Windows PE (x86)" "Microsoft Windows PE (x86)" /boot /compress maximum /verify /norpfix
Then, I captured the boot setup image with this command:
imagex /capture H:\s2 H:\s1\sources\bootsetup.wim "Microsoft Windows Setup (x86)" "Microsoft Windows Setup (x86)" /compress maximum /verify /norpfix
At finally I exported bootsetup.wim to bootpe.wim:
imagex /export H:\s1\sources\bootsetup.wim 1 H:\s1\sources\bootpe.wim "Microsoft Windows Setup (x86)" /compress maximum
0 -
I applied boot pe and boot setup. Captured them using the options: compress /maximum /verify and /norpfix. I also added the /boot parameter for the boot pe image.
And I'm getting the error:
"Windows pe cannot start because the actual SYSTEMROOT directory (x:windows) is different from the configured one (X:$windows.~bt\windows).
Please help.
Thank you.
0 -
Based on the guide from dead0: TOPIC and the batches (ideas) from TOPIC, I've managed to make an all-in-one sollution for:
1. integrating updates
2. dism/vlite/batch removal
3. integrating the product key
4. merging multiple vim's in one
5. others: check batch.
I;ve written everything from scratch but I can't figure out where it fails. There's always seem to be something small and, as soon as I fix it, another bug appears. I don;t have the time to debug it any longer and it's a shame because it's nearly perfect for what dead0 and others are doing manually. Perhaps someone might take the project further. Make it even better maybe...
You have the main batch attached as a .txt file. The whole package is about 190M.
0 -
I think I found what your looking for
@echo off
setlocal enabledelayedexpansion
call :checkdiskspace
echo %_tgbytes%
pause
:checkdiskspace
for /f "tokens=2 delims=:" %%a in ('fsutil volume diskfree h:^|findstr /ir [0-9]*') do set _tbytes=%%a
set _tbytes=%_tbytes: =%
for /f %%a in ('str_math.bat %_tbytes% / 1073741824') do set _tgbytes=%%a
for /f "tokens=1 delims=." %%a in ("%_tgbytes%") do set _tgbytes=%%a
goto :eofAnd what you were missing is:
See if it helps.
0 -
I must admit I didd't study your code much but I have a code of my own which I use from time to time
It works with the folowing parameters:
%1 - drive path [ letter:\ ]
%2 - size (in gb) to check against
:checkds
for /f "tokens=4,5 delims= " %%a in ('defrag.exe /a %1^|findstr.exe /r "Free"') do (
set _unit=%%b
set _fspace=%%a
)
for /f "tokens=1 delims=." %%a in ("%_fspace%") do (set _sspace=%%a)
if "%_unit%" equ "GB" (
call :checkds_checksize %2
) else (
echo "The available hard disk space is insufficient."
)
goto :eof
:checkds_checksize
if %_sspace% lss %1 (
echo "The available hard disk space is insufficient."
)
goto :eof0 -
I'm building myself a lite windows 7 and I don't when to integrate the updates (msu files). After I remove the packages with dism or before?
Thanks and forgive me if this was already answered.
0 -
Well, I need to do all my edits with 2.0 but vlite only works with 1.1 so I'll need to switch. Not to mention that some packages on 7 will not be visible if i'm using 1.1
0 -
I don't know if this is the correct sub-forum for this so please don't bite my head off.
I'm working on a batch file that will need to switch between imagex 2.0 and 1.1. It does that by first uninstalling the previous version (whichever it may be) by removing the following keys from HLKM:
wimfltr
legacy_wimfltr
wimmount
legacy_wimmountThen it removes the folowing services using sc.exe delete:
wimfltr
wimmountAnd finally removes the folowing from system32:
WimFltr.sys
wimmount.sys
wimserv.exeI left the wimgapi.dll unchanged in the system32 folder.
And finally installs imagex by running the below command:
[b]InfDefaultInstall.exe "full_path\wimfltr.inf" or InfDefaultInstall.exe "full_path\wimmount.inf"[/b]
The problem is that, it always gives me a pop-up saying it imagex cannot be installed.
Restarting does not help me because everything is automated and cannot be interrupted. But it does help.
I know the two services depend on fltmgr.sys. Should it be stoped before installing?
What are the correct steps in switching versions (remove old ver. install new.) without restarting?
0 -
Hi guys. I know that all dvds contain multiple versions of windows inside install.wim and that they are all optimized by hardlinks for saving space. What I'm interesed is how to do the same for an install.wim containing both x86 and x64 versions? Some files in the x86 image match the x64 one and could be setup some hardlinks in order to save some megabytes.
0
WinNTSetup v5.3.4
in Install Windows from USB
Posted · Edited by AlexCeed
I used the command exactly like above and it doesn't work. It doesn't copy any files to the install location.
All the paths above are relative to WinNTSetup_x64.exe.