-
Posts
-
By Brian Miller · Posted
AMAZON needs to take total accountability for this. -
By binaryzero · Posted
Server Summit had a heap of announcements, ADCS changes are baller. -
By Max Norris · Posted
Nice, hope they *finally* fixed the issue with the NTFS driver where the system would completely brick during large file copies using the built in driver. It's been broken for years requiring me to use the older, slower, NTFS-3G FUSE driver. -
By hellowalkman · Posted
Windows 11 KB5094126 BSODing, freezing, forcing BitLocker lockout, breaks OneDrive, and more by Sayan Sen Microsoft released Windows 11 KB5094126 and KB5093998 last week as the latest Patch Tuesday updates. Following that the company also published the accompanying dynamic updates under KB5094149, KB5095971, and KB5094156. While Microsoft has so far not acknowledged any major problems with the release, some users online are running into problems. These range from OneDrive and Dropbox access issues, BitLocker recovery lockouts, to blue screens and BSODs. The most common one seems to be happening with HP systems wherein affected users say they hit 0xc0430001 BSOD (blue screen of death) error code after the KB5094126 update. We wonder if this could be related to the recent bug we covered on HP devices wherein the ongoing Secure Boot certificate updates are leading to similar issues. While we are not certain, users affected by this issue likely need to ensure that the boot.stl file is included on the installation media (such as a USB installer or ISO), if the above-mentioned dynamic updates are deployed. If this file is missing, computers may fail to boot from the installation media and could display the error 0xc0430001. This STL file is used by Secure Boot to verify that the boot files are trusted, so it must match the same Windows version and system architecture. To ensure the file is included, Microsoft recommends using the Update WinPE script, which automatically updates the image and handles the required files. Alternatively, you can manually copy the boot.stl file from the Windows\Boot\EFI folder on a Windows device and place it in the matching folder on your installation media before deploying the updated image. Aside from blue screening some users also note their systems have been freezing following the update. This could be happening to Lenovo PCs specifically. In the case of the OneDrive and Dropbox access issues, a user figured out that there could be a conflict with UAC. He explained: "Okay, so I did some digging, and in our environment KB5094126 breaks OneDrive and Dropbox in Explorer. I went through all our GPOs and found out that the combination of disabling UAC and having my user being a local admin breaks OneDrive in Explorer. ... If I enable UAC again, then it works, even with KB5094126 still installed." Hopefully, Microsoft will look into these issues. Source: Microsoft forum (link1, link2, link3, link4), Reddit (link1, link2, link3, link4) -
By rseiler · Posted
It is when it's a desktop in my house though for a PC that's lightly used and not really important when it is. If it was a laptop, it would be a different story. The real solution is varied and begins starting at post #22 in that thread.
-
-
Recent Achievements
-
Jeroen Wilms earned a badge
Week One Done
-
rolfus earned a badge
Week One Done
-
Leroy Jethro Gibbs earned a badge
One Month Later
-
flexorcist earned a badge
Conversation Starter
-
AndreaB earned a badge
One Month Later
-
-
Popular Contributors
-
Tell a friend
Question
BGM
Hi,
I have a batch file that runs each day and downloads about 20 .zip files from a network share to a server which then extracts them.. before continuing with other bits and bobs
the copying is carried out by ROBOCOPY, and the extraction done by 7zip
this was all working fine til yesterday when i realised my process was falling over every time. Turns out one of the .zip files was corrupt and when it tried to extract the batch file just bombs out
7zip has a file integrity check option but i cant for life of me figure out how to get the result of this check into something like an IF THEN ELSE execute the extract part
options i have considered:
1. only copy correct files with robocopy (cant work out how to check integrity, or even if its possible)
2. do a crc on the files - not really useful as i dont know what the results should be
3. use the 7zip t flag in some manner - 7z.exe t filename.zip and generate an ERRORLEVEL in the batch... bit lost on this one??????
5. batch file try-catch 'hack' - ok i was desperate at this point... :)
can anyone figure out a clever method of making this work? i will be eternally grateful because its starting to really **** me off... :p
perhaps i could run a check, output the successful results to a file and then only extract the filenames that are contained in that file??
thanks all
a frustrated chris :|
Link to comment
https://www.neowin.net/forum/topic/622510-7zip-in-a-batch-file/Share on other sites
5 answers to this question
Recommended Posts