r/sysadmin
•
u/HJForsythe
•
Jul 19 '24
•
1
1
7
6
1
General Discussion Fix the Crowdstrike boot loop/BSOD automatically
UPDATE 7/21/2024
Microsoft releases tool very late to help.
WHAT ABOUT BITLOCKER?!?!?
Ive answered this 500x in comments...
Can easily be modified to work on bitlocker. WinPE can do it. You just need a way to map the serialnumber to the bitlocker key and unlock it before you delete the file.
/r/crowdstrike wouldnt let me post this, I guess because its too useful.
I fixed the July 19th 2024 issue on 1100 machines in 30 minutes using the following steps.
I modified our standard WinPE image file (from the ADK) to make it delete the file 'C:\Windows\System32\drivers\CrowdStrike\C-00000291*.sys' using the following steps.
If you don't already have the appropriate ADK for your environment download it. The only problem with using a bare WinPE image is it may not have the drivers. Another caveat is that this most likely will not work on systems with encrypted filesystems.
Mount the WinPE file with Wimlib or using Microsoft's own tools, although Microsoft's tools are way clunkier and primative.
Edit startnet.cmd and add:
del C:\Windows\System32\drivers\CrowdStrike\C-00000291*.sys
exit
to it.
Save startnet.cmd [note the C:\ might be different for you on your systems but it worked fine on all of mine]
Unmount the WinPE image
Copy the WinPE image to either your PXE server or to a USB drive of some kind and make it BOOTABLE using Rufus or whatever you want.
Boot the impacted system.
Hope this helps someone. Would appreciate upvotes because this solution would save people from having to work all weekend and also if it's automatic it's less prone to fat fingering.
Also I am pretty sure that Crowdstrike couldve made this change automatically undoable by just using the WinRE partition.
@tremens suggested that this step might help with bitlocker in WinPE 'manage-bde -unlock X: -recoverypassword <recovery key>' should work in WinPE.
Idea for MSFT:::
Yeah. Microsoft might want to add "Azure Network Booting" as a service to Azure. Seems like at a minimum having a PRE-OS rescue environment that IT folks can use to RDP, remote powershell (whatever) would be way more useful than whatever that Recall feature was intended to do at least for orgs like yours that are dispersed.
They could probably even make "Azure Net Boot" be a standard UEFI boot option so that the user doesnt have to type in a URL in a UEFI shell.
They boot it from that in an f12/f11 boot menu, it goes out to like https://azure.com/whatever?device-id=UUID if the system has a profile boot whatever if not just boot normally and that UEFI boot option could probably be controlled in GPO.
By the way if microsoft steals this idea my retirement isnt fully funded and im 45. lol :) hit me upppp.
View all comments
Show parent comment
13
u/TopHat84 Jul 19 '24 edited Jul 19 '24
It's a LAPS solution, that flies in a lot of places because it's easily rotated. You're aware what LAPS is ...right?
I'm not saying it's definitively the 100% best solution, but for endpoint users who are getting BSOD, can't use remote support, can't have automated scripts pushed down due to control systems not checking in properly it's a pretty good solution.
Edit: You're only 3 contributions to this community are "don't worry about workstations being locked", moving away from your city, and purging emails. You sure you don't belong in r/techsupport ?