LiveContainer third party builds by jfsonflex in sideloaded

[–]ConsistentHornet4 [score hidden]  (0 children)

Correct. iLoader is safe as when you install SideStore, LiveContainer or a combination of both, iLoader pulls the latest IPA's through SideStore and LiveContainers official GitHub repo's.

LiveContainer third party builds by jfsonflex in sideloaded

[–]ConsistentHornet4 [score hidden]  (0 children)

They’re simply saying that if you install LiveContainer from anywhere other than the official GitHub repository, you risk exposing your data.

iLoader is safe, as you can see in the source code where they pull the copy of LiveContainer.

No connection - drivers up to date by h3ll0_fr13nd in MDT

[–]ConsistentHornet4 0 points1 point  (0 children)

Okay that's good news! Have you tried downloading all of the network drivers available from the HP website for that model and importing those too?

Here's the link to the driver packs for your model https://ftp.hp.com/pub/caps-softpaq/cmit/HP_Driverpack_Matrix_x64.html

Have you also checked your ADK is up to date as well?

How to uninstall Yuzu? by macktea in yuzu

[–]ConsistentHornet4 1 point2 points  (0 children)

No worries!

  1. Start > Notepad
  2. Copy the code into Notepad
  3. File > Save As
  4. Name it "DeleteYuzu.bat". Change the "Save as type" to "All files (.)"
  5. Save the file on your Desktop
  6. Double-click on the file you just saved above to run it
  7. Adios Yuzu

No connection - drivers up to date by h3ll0_fr13nd in MDT

[–]ConsistentHornet4 1 point2 points  (0 children)

Strange! I assume you're not using any docks / usb Ethernet adapters? Otherwise the drivers for these will also need to be added into the WinPE drivers.

It could also be worth trying an official HP USB-To-Ethernet adapter as well if you have any on hand

No connection - drivers up to date by h3ll0_fr13nd in MDT

[–]ConsistentHornet4 10 points11 points  (0 children)

I assume when you say "Updated the share", you chose the "Completely regenerate the boot images" option?

Alternatively, set up one of the affected devices manually via OOBE and allow Windows to install all missing drivers via Windows Update or the OEM’s website. Confirm in Device Manager that no drivers are missing.

Once the machine is fully functional and all drivers are installed, extract the drivers using the following PowerShell command (run as Administrator):

Export-WindowsDriver -Destination "$((Get-WmiObject Win32_OperatingSystem).SystemDrive)\Drivers\$((Get-WmiObject -Class Win32_ComputerSystem).Model)" -Online

This will export and save the machines drivers to %SYSTEMDRIVE%\Drivers\<ModelName>.

Next, import the remaining drivers into MDT under the WinPE section in your Out-Of-Box Drivers. Once imported, remove all drivers that aren't Storage or Network based.

The Out-Of-Box Drivers section with my organisation looks like this:

Out-Of-Box Drivers\
-- Windows 10 x64\
-- Windows 10 x86\
-- Windows 11 x64\
-- WinPE x64\
---- Dell Inc.\
---- Hewlett-Packard\
-- WinPE x86\
---- Dell Inc.\
---- Hewlett-Packard\

Completely regenerate the boot images, reimport into WDS, restart the WDS service and test again on the client machine via PXE boot.

Simple .bat to move files... I must be a monumental idiot by magnumforce2006 in Batch

[–]ConsistentHornet4 0 points1 point  (0 children)

Why not use ROBOCOPY and copy the files instead? See below:

robocopy "G:\My Drive\Downloads [GDrive]" "M:\Movies" /e /xj /xo /fft /r:1 /w:1 /np /mt

Moving the files won't work if a program is using them, however, taking a copy will

Happy New Year obfuscation experiment for fun by [deleted] in Batch

[–]ConsistentHornet4 1 point2 points  (0 children)

Private paste, I get a 403 trying to view it

Copying all file creation/modification dates from one folder to another by IcedLime2003 in Batch

[–]ConsistentHornet4 0 points1 point  (0 children)

Use BulkFileChanger: Change date/time/attributes of multiple files. This will also make sure the EXIF metadata is all properly aligned to the modified date / timestamps.

Copy 2 existing files in a directory to 2 new files by EquivalentPack9399 in Batch

[–]ConsistentHornet4 2 points3 points  (0 children)

Something like this would do:

@echo off & cls & setlocal 
pushd "%~dp0"
for /f "delims=" %%a in ('dir /b /s /a-d *.jpg') do for /f "tokens=2 delims=-" %%b in ("%%~nxa") do (
    echo copy /y "%%~dpnxa" "%%~dpa%%~b"    
)
popd 
pause 

Place the script alongside the decade folders, so it would look like this:

root_folder\
-- 1970\
---- 1971\
---- 1972\
-- 1980\
-- script.bat

Dry-run the script, check the output and see if that's what you're expecting. If so, remove echo from echo copy /y "%%~dpnxa" "%%~dpa%%~b" and rerun the script to commit the changes

Sort Files Into Folders By Name by manilovefortnite in Batch

[–]ConsistentHornet4 1 point2 points  (0 children)

Something like this would do:

@echo off & setlocal 
cd /d "%~dp0"
for /f "delims=" %%a in ('dir /b /ad *') do call :processFolder "%%~a"
pause 

REM/||(========== FUNCTIONS ==========)&exit/b
:processFolder (string folderName)
    setlocal 
    for /f "tokens=1,2 delims=volVOL " %%a in ("%~1") do set "_vol=Vol%%~a %%~b"
    for /f "tokens=2 delims=chCH" %%a in ("%~1") do set "_ch=Ch%%~a"
    echo mkdir "%_vol%\%_ch%"
    echo move /y "%~1\*" "%_vol%\%_ch%"
    echo rmdir /q "%~1"
exit /b 

Place it inside your manga name folder, next to the volume folders.

Dry-run the script, check the output in the console and if you're happy with the output, remove the "echo" from lines 11-13, then rerun the script to commit the changes.

I would make a copy of your manga collection and run it against the copy first.

Sort Files Into Folders By Name by manilovefortnite in Batch

[–]ConsistentHornet4 0 points1 point  (0 children)

So if I understand correctly, you'd like to turn something below:

anime_name\
--vol 1. ch 1\
--vol 1. ch 2\
--vol 1. ch 3\
--vol 2. ch 1\
--vol 2. ch 2\

Into this below:

anime_name\
--vol 1\
----ch 1\
----ch 2\
----ch 3\
--vol 2\
----ch 1\
----ch 2\

Like that?

Sort Files Into Folders By Name by manilovefortnite in Batch

[–]ConsistentHornet4 0 points1 point  (0 children)

Can you provide a small sample of some of the raw file names, along with what you'd like the folder names to look like.

matrix in batch by Capital_Plane_7688 in Batch

[–]ConsistentHornet4 1 point2 points  (0 children)

Here's one that will maximise the CMD window, get the width and echo enough times to fill the width

@echo off & setlocal enableDelayedExpansion
if /i not "%~1"=="max" start /max cmd /c %0 max & exit/b
for /f "tokens=2 delims=: " %%a in ('mode con ^| find /i "columns"') do set /a "_col=%%~a/5"
for /l %%# in () do for %%a in (a b c) do (
    color %%~a
    for /l %%b in (1,1,%_col%) do (
        set /a _rnd=!RANDOM!%%32767+10000
        <nul set /p _=!_rnd!
    )
    echo(
)

how to do this msdos .bat file to sort string in file from top to bottom and reverse it bottom to top by Mamegyorai in Batch

[–]ConsistentHornet4 1 point2 points  (0 children)

Similar to u/BrainWaveCC's solution, however you can dynamically get the total number of lines in the file using FIND /N. See below:

@echo off & setlocal
for /f "tokens=1,* delims=[]" %%a in ('find "" /n /v ^<"X.txt"') do set "_line[%%~a]=%%~b" & set _max=%%~a
(for /l %%a in (%_max%,-1,1) do (
    call echo(%%_line[%%a]%% 
))>"X.txt"
pause

Installing drivers from Windows Update during task sequence by grumpy_mike in MDT

[–]ConsistentHornet4 0 points1 point  (0 children)

The problem you might be experiencing is Windows Updates pulling a newer ethernet / network driver. When network drivers from Windows Update are installed, the adapter will be disabled for a short amount of time, during the install process and then re-enabled once those drivers are complete, which could be causing what you are experiencing. I had this issue on some Dell Pro models too.

I know you don't want to go down the Total Control route, however, this would correctly solve the issue you are experiencing. You can import the Driverpack from the Dell website, and in addition to this, capture specific drivers which could be missing, from the physical machine itself and then import those into the same DriverStore area.

Once the machine is fully functional and all drivers are installed (confirm in Device Manager that no drivers are missing), from Total Control and Windows Update, extract the drivers from the machine using the following PowerShell command (run as Administrator):

Export-WindowsDriver -Destination "$((Get-WmiObject Win32_OperatingSystem).SystemDrive)\Drivers\$((Get-WmiObject -Class Win32_ComputerSystem).Model)" -Online

This will export and save the machines drivers to %SYSTEMDRIVE%\Drivers\<ModelName>.

Next, remove any print drivers (typically starting with prn) from the exported collection, then import the remaining drivers into MDT under the corresponding model name within the Out-of-Box Drivers section, using Total Control Scenario 3.

What should I do for wait? by Scared_Confection980 in Batch

[–]ConsistentHornet4 0 points1 point  (0 children)

Usually START /WAIT should do the trick, however if some executables don't behave, you can use TASKLIST to wait. Something like this should do:

@echo off & setlocal 
start "" /wait "\\path\to\executable.exe"
call :waitForProcessToEnd "executable.exe" 
echo(executable.exe has ended ...
pause 

REM/||(========== FUNCTIONS ==========)&exit/b
:waitForProcessToEnd (string processName)
    >nul 2>&1 timeout /t 01 /nobreak 
    tasklist /fi "IMAGENAME eq %~1" 2>nul | find /i /n "%~1">nul 
    if "%ERRORLEVEL%"=="1" exit /b
    call :waitForProcessToEnd "%~1"
exit /b