Jump to content

Ulaiphur

Member
  • Posts

    80
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Romania

Posts posted by Ulaiphur

  1. WinNTSetup_x64.exe NT6 -oem:"OEM\8-abc\$OEM$" -source:Images\8.1-x64-install-abc.wim -WimIndex:1 -syspart:D: -tempdrive:E: -unattend:"Unattend\8-autounattend-abc.xml" -Sysletter:C -setup -reboot

    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.

  2. 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.

  3. 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.

  4. 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?

  5. 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.

    BOOT .ETL

  6. 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?

  7. 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

  8. 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

  9. 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.

  10. 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.

  11. 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 :eof

    And what you were missing is:

    LARGE NUMBERS BATCH

    See if it helps.

  12. 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 :eof

  13. 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_wimmount

    Then it removes the folowing services using sc.exe delete:

    wimfltr
    wimmount

    And finally removes the folowing from system32:

    WimFltr.sys
    wimmount.sys
    wimserv.exe

    I 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?

  14. 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.

×
×
  • Create New...