I'm facing a frustrating issue after migrating a VHD from a Hyper-V VM to a physical machine. I've usually done this without problems, but on my last two migrations, all the MSC files in the system32 directory (as well as some EXE and DLL files) seem to have inherited the 'mark of the web.' This means I can't open any of the configuration utilities. I can unlock the files if I copy them out, but I still can't launch them or copy them back to system32. I've tried several fixes, including using PowerShell, running SFC, and even turning off Windows Defender and the firewall, but nothing has worked so far. We're operating on a Windows Server with an Active Directory domain, and I've already attempted reconnecting to the domain. I've made some updates regarding my troubleshooting attempts, and it seems the problem might be related to the VHD being flagged as well. If anyone has insights or similar experiences, I'd love to hear your thoughts!
2 Answers
It sounds like a real headache! From what you've described, it might be due to recent changes in Windows 11 regarding MOTW handling. Have you checked the Alternate Data Streams (ADS) for those files to see their original source? It could help pinpoint the issue. Also, you mentioned that renaming the machine had inconsistent results, which might suggest the machine name is being tracked somehow.
It might just be a bad migration or even a permissions issue. Have you tried extracting a fresh copy of your VHD to a different location? It can help determine if the problem is with the original VHD or the physical machine itself. I know it sounds tedious, but sometimes a clean start really is the easiest fix!
Good idea! I hadn’t thought of trying a fresh copy like that. I'll give it a shot!

I actually ran into similar problems after Windows updates. Sometimes it's weird bugs that crop up after migration, so you're not totally alone in this!