Windows 10: Editing Setupcomplete.cmd

Discus and support Editing Setupcomplete.cmd in Windows 10 Drivers and Hardware to solve the problem; Hello. Is it possible to make 2 separate setupcomplete.cmd files that will run simultaneously in the Oem folder.? I'm waiting for your help. IN TWO... Discussion in 'Windows 10 Drivers and Hardware' started by eskehacettepe, Jan 21, 2021.

  1. Editing Setupcomplete.cmd


    Hello. Is it possible to make 2 separate setupcomplete.cmd files that will run simultaneously in the Oem folder.? I'm waiting for your help.

    IN TWO SETUPCOMPLETE.CMD CONTENTS LIKE I WANT TO DO THE FOLLOWING WINDOWS 7 AND WINDOWS 10 MULTİBOOT SYSTEM WHICH I WANT TO SET UP THE PROGRAMS AND LICENSE PROCESSING ACCORDING TO IT. INSTALLATION IS COMPLETE NOT COMPLETE AUTOMATICALLY DONE.

    in this way;
    $ oem $ / $$ / Setup / scripts / setupcomplete.cmd
    $ oem $ / $$ / Setup / scripts / setupcomplete1.cmd


    ...... Contents (Setupcomplete.cmd)

    REM Check Windows Version
    give | findstr / i "6 \ .1 \." > nul
    IF% ERRORLEVEL% EQU 0 goto ver_Win7

    give | findstr / i "6 \ .3 \." > nul
    IF% ERRORLEVEL% EQU 0 goto ver_Win8

    give | findstr / i "10 \ .0 \." > nul
    IF% ERRORLEVEL% EQU 0 goto ver_Win10

    goto warn_and_exit

    : ver_Win10
    : COMMAND THAT WILL WORK IN WINDOWS 10
    KMS.cmd / q
    goto end

    : ver_Win7
    : COMMAND TO WORK IN WINDOWS 7
    Kur7.exe
    exit


    ....... CONTENTS; (setupcomplete1.cmd)

    @ECHO OFF
    @ColOR 1c

    title CrazyChat
    setlocal EnableExtensions
    setlocal EnableDelayedExpansion
    fltmc> nul 2> & 1 || (
    echo Set UAC = CreateObject ^ ("Shell.Application" ^)> "% temp% \ getadmin.vbs"
    echo UAC.ShellExecute "% ~ fs0", "", "", "runas", 1 >> "% temp% \ getadmin.vbs"
    "% temp% \ getadmin.vbs"
    del / f / q "% temp% \ getadmin.vbs"> nul 2> & 1
    exit / b
    )
    pushd "% ~ dp0"
    dism / online / add-package /PackagePath:"%~dp0x.cmd "
    start / wait "app" "% ~ dp0x.cmd"
    set / a KEYNUM = 1
    SET KEY = HKLM \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ RunOnceEx
    REG ADD% KEY% / V TITLE / D "Loading Your Windows Programs ..." / f
    FOR %% i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %% i: \ software (for / f "delims =" %% z in ('dir / b %% i: \ software \ *. Exe') do (
    call: RunOnceEx
    REG ADD% KEY% \ CrazyChat! KEYNUM! / VE / D "%% ~ nz" / f
    REG ADD% KEY% \ CrazyChat! KEYNUM! / V 1 / D "%% i: \ software \ %% z" / f
    ))
    RMDIR / S / Q "% ~ dp0"
    exit

    : RunOnceEx
    I agree with set / a KEYNUM =! KEYNUM!
    del / q / f "% 0" chrome winrar zoom adobe kmspico office 2010 x64 vlc com player I want setupcomplete.cmd how can I call it to auto install after installation

    :)
     
    eskehacettepe, Jan 21, 2021
    #1
  2. Petr N. Win User

    Install appxbundle in the past setupcomplete doesn't work.

    Hi,

    I trying install appxbundle (Bang & Olufsen SW, HP Elitebook 830G6 https://ftp.hp.com/pub/softpaq/sp102001-102500/sp102373.exe) in setupcomplete to new notebook but with error, instalation appx works. We have CA Softvare delivery.

    In the setupcomplete section, I run the ps script, which installs drivers according to individual HW models. New control SW from manufacturers is implemented via appx applications. So I run this command in the script:

    dism.exe /online /Add-ProvisionedAppxPackage /PackagePath:c:\oeminst\drvinst\audio\HSA\e46fdfa61fa64aef8827f91530aa3245.appxbundle /Region=“all“ /skiplicense /DependencyPackagePath:c:\oeminst\drvinst\audio\HSA\Microsoft.VCLibs.140.00_14.0.27323.0_x64__8wekyb3d8bbwe.appx
    2>&1|Write-Host


    It should to install the sound card control application.

    If I run this command under the logged in user, the command will passtrue, but not during the installation in the setupcomplete section.

    Error message:

    Deployment Image Servicing and Management tool

    Version: 10.0.18362.1

    Image Version: 10.0.18363.836

    Error: 1168

    Element not found.

    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

    DISM LOG (onedrive): Microsoft OneDrive - Access files anywhere. Create docs with free Office Online.

    Can anyone help me, please?
     
    Petr N., Jan 21, 2021
    #2
  3. Windows and CMD- renaming a file in CMD

    Steps I've done

    Here what happens


    • turn on PC

    • start windows

    • get blue screen ( message NTFS file)

    • it reboots returns to diagnosing PC

    • Diagnose and repair fails

    • I move to advance options

    • will not reset windows , I click on CMD

    things I've tried
    commands:

    reagentc /disable

    reagentc /enable

    *************************FAILED
    not recognized
    **********************************

    Please advise


     
    RandallBrock, Jan 21, 2021
    #3
  4. ram93 Win User

    Editing Setupcomplete.cmd

    laptop doesnt boot automatically

    This is what happened.

    1. Did a repair install and later disabled hibertnate in CMD.
    2. Enabled legacy option ROM in BIOS.
    3. After a few times startup ( i used the system in such mode for 5 days), changed boot option back to default.
    4. Vola!! It boots automatically to win10 without any keypress. Tested it with many starts to confirm the same.
    5. Re-enabled hibernate option using CMD and later selected Fast Startup.
    6. System booted normally, without the need for any keypress.

    I do not know exactly whether such steps resolved the problem or what else happened, hence cannot suggest above steps.

    Many thanks to all members who helped to troubleshoot problems.
     
    ram93, Jan 21, 2021
    #4
Thema:

Editing Setupcomplete.cmd

Loading...
  1. Editing Setupcomplete.cmd - Similar Threads - Editing Setupcomplete cmd

  2. CMD

    in Windows 10 Software and Apps
    CMD: What is this Powerpoint.Show.12 and Powerpoint.Show.8? https://answers.microsoft.com/en-us/windows/forum/all/cmd/52f31d3d-8a89-4dcd-98dd-52873694a055
  3. CMD

    in Windows 10 Software and Apps
    CMD: I want to get details about a specific windows update in cmd. So, I ran this command: wmic>qfe find "KB no."But I am getting this output: 'PWhere' expression for the alias undefined.Please help me solve this error....
  4. CMD

    in Windows 10 Gaming
    CMD: I want to stop Windows Firewall using CMD in windows 10. I typed this command: net stop "Windows Defender Firewall". But it shows that: The requested pause, continue, or stop is not valid for this service. More help is available by typing NET HELPMSG 2191....
  5. Re-edit via cmd prompt

    in Windows 10 Gaming
    Re-edit via cmd prompt: What do I type in the reg edit via cmd prompt to remove write protection from my drive? Can you type in what you want me to type please so I can copy it. https://answers.microsoft.com/en-us/windows/forum/all/re-edit-via-cmd-prompt/7956fe11-e7d8-4dba-868d-cc6e462b4735
  6. Re-edit via cmd prompt

    in Windows 10 Software and Apps
    Re-edit via cmd prompt: What do I type in the reg edit via cmd prompt to remove write protection from my drive? Can you type in what you want me to type please so I can copy it. https://answers.microsoft.com/en-us/windows/forum/all/re-edit-via-cmd-prompt/7956fe11-e7d8-4dba-868d-cc6e462b4735
  7. Re-edit via cmd prompt

    in Windows 10 Installation and Upgrade
    Re-edit via cmd prompt: What do I type in the reg edit via cmd prompt to remove write protection from my drive? Can you type in what you want me to type please so I can copy it. https://answers.microsoft.com/en-us/windows/forum/all/re-edit-via-cmd-prompt/7956fe11-e7d8-4dba-868d-cc6e462b4735
  8. Editing registry data value with CMD

    in Windows 10 Support
    Editing registry data value with CMD: hey all , i need to edit a registry value data without overwriting the previous one , i just want to add a string for example and not to change the entire value , and it needs to be we the command prompt , i hope i was clear with my question ill appreciate any help 173859
  9. Is there a way to edit local group policy from cmd

    in Windows 10 Ask Insider
    Is there a way to edit local group policy from cmd: I tried editing the local group policy from gui , now i trying to automate using a script . submitted by /u/the_oddsaint [link] [comments] https://www.reddit.com/r/Windows10/comments/ldciap/is_there_a_way_to_edit_local_group_policy_from_cmd/
  10. Install appxbundle in the past setupcomplete doesn't work.

    in Windows 10 Installation and Upgrade
    Install appxbundle in the past setupcomplete doesn't work.: Hi, I trying install appxbundle Bang & Olufsen SW, HP Elitebook 830G6 https://ftp.hp.com/pub/softpaq/sp102001-102500/sp102373.exe in setupcomplete to new notebook but with error, instalation appx works. We have CA Softvare delivery. In the setupcomplete section, I run the...

Users found this page by searching for:

  1. setupcomplete cmd maker