Monday, December 30, 2024

Win11 redirect standard user folders from OneDrive to local defaults

I just picked up a new Win11 laptop, much thanks to MS for artificially expiring my perfectly fine 15 year old Windows 10 machine, by dint of their decision to not provide security fixes beyond 10/2025.

I have had a night of pure torture, trying to craft something I can use out of what they have done to Windows. Boggles the mind.

For example, standard user folders like Desktop, Documents, and Pictures redirect to folders in OneDrive. Try to turn that off. Insane. After many hours I figured out a way to at least live with it for now.

Note that I have previously "converted" my login account to "local".

  • Uninstall OneDrive.

  • Go into File Explorer, into the pertinent folders in your user folder, right-click and choose Properties. Go to the Location tab. If it includes OneDrive, try to change the location back to default. If it fails, just cancel that particular one and continue. Then delete all the pertinent folders in the OneDrive folder. Close File Explorer.
  • Open Regedit, navigate to HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer. In "Shell Folders", delete just the phrase "OneDrive\" out of the content of any objects that contain it. In "User Shell Folders", change any reference to static paths containing "OneDrive" to "%USERPROFILE%\" (like the other objects there).
  • Shut down and restart (holding down the shift key to fully shut down).

This should result in the folders back to their default local locations, but you will still have a dangling OneDrive folder, hopefully with no pertinent folders in it. No guarantees and your mileage may vary!

I'd like to give credit where credit is due - 
https://support.microsoft.com/en-us/topic/operation-to-change-a-personal-folder-location-fails-in-windows-ffb95139-6dbb-821d-27ec-62c9aaccd720

Friday, December 20, 2024

AI today just makes me yawn. Wake me up when it can do this...

AI today just makes me yawn. Wake me up when it can do this…

Given a grocery list, location (here), a distance (20 miles), and a dollar figure ($10, explained later); figure out all the grocery stores in the area, then download each sales flyer for that week. Compare all the sales, intelligently matching like items with different quantities or descriptions, and also comparing with the regular posted prices. Output a plan of what I should buy at each store, keeping the number of stores I must visit as low as possible (the amount saved by adding a store must exceed the dollar figure mentioned above).