Make Windows less terrible. (Removing OneDrive from WIM)

  • DNS Benchmark v2 is Finished and Available!
    Guest:
    That's right. It took an entire year, but the result far more accurate and feature laden than we originally planned. The world now has a universal, multi-protocol, super-accurate, DNS resolver performance-measuring tool. This major second version is not free. But the deal is, purchase it once for $9.95 and you own it — and it's entire future — without ever being asked to pay anything more. For an overview list of features and more, please see The DNS Benchmark page at GRC. If you decide to make it your own, thanks in advance. It's a piece of work I'm proud to offer for sale. And if you should have any questions, many of the people who have been using and testing it throughout the past year often hang out here.
    /Steve.
  • Be sure to checkout “Tips & Tricks”
    Dear Guest Visitor → Once you register and log-in please checkout the “Tips & Tricks” page for some very handy tips!

    /Steve.
  • BootAble – FreeDOS boot testing freeware

    To obtain direct, low-level access to a system's mass storage drives, SpinRite runs under a GRC-customized version of FreeDOS which has been modified to add compatibility with all file systems. In order to run SpinRite it must first be possible to boot FreeDOS.

    GRC's “BootAble” freeware allows anyone to easily create BIOS-bootable media in order to workout and confirm the details of getting a machine to boot FreeDOS through a BIOS. Once the means of doing that has been determined, the media created by SpinRite can be booted and run in the same way.

    The participants here, who have taken the time to share their knowledge and experience, their successes and some frustrations with booting their computers into FreeDOS, have created a valuable knowledgebase which will benefit everyone who follows.

    You may click on the image to the right to obtain your own copy of BootAble. Then use the knowledge and experience documented here to boot your computer(s) into FreeDOS. And please do not hesitate to ask questions – nowhere else can better answers be found.

    (You may permanently close this reminder with the 'X' in the upper right.)

coffeeprogrammer

Well-known member
Jul 19, 2021
232
20
So I am spending my Saturday creating a clean Windows 10 installer. I bought PowerIso because it seems to do a good job with its built in DISM tool. One thing that the user interface does not do is let me remove OneDrive, but I did figure it out by searching the internet. When you have a WIM image mounted you can load a registry hive and modify it, the screen shot below shows how to disable OneDrive at first Windows login. (just delete that OneDriveSetup)

1721501576530.png


One thing I don’t get is that on the computer I am doing this, the operating system is Windows 11 Professional that I bought as retail at best buy and in the screen shot below it shows the “Cloud Edition” thing, man I hate that.
1721501631388.png


One thing I am not sure of is how to edit group policy of a WIM image, maybe just applying reg files, I think group policy is really just applying registry changes under the hood.

When Steve talks about all the AI crap that is going to end up in Windows, I really hope they make it easily removable, then people like me who do not want it, can get rid of it.
 

Attachments

  • 1721501597890.png
    1721501597890.png
    63.6 KB · Views: 271
While it may be [temporarily] more annoying, all I do is use the "Add & Remove Programs" feature of Windows to remove OneDrive as soon as I log in for the first time. (Granted I have very limited experience with Windows 11, so I am mostly speaking from experience with Windows 10.) It used to be if you did this (in earlier versions of Windows 10) that it would come back during the next upgrade... but this seems to have eventually stopped happening... but that may also be tied to the settings I set in Group Policy.

I haven't tried this personally, but there are ISOs known as Tiny10 and Tiny11 as well as this script to build you own: https://github.com/ntdevlabs/tiny11builder
 
While it may be [temporarily] more annoying, all I do is use the "Add & Remove Programs" feature of Windows to remove OneDrive as soon as I log in for the first time. (Granted I have very limited experience with Windows 11, so I am mostly speaking from experience with Windows 10.) It used to be if you did this (in earlier versions of Windows 10) that it would come back during the next upgrade... but this seems to have eventually stopped happening... but that may also be tied to the settings I set in Group Policy.

I haven't tried this personally, but there are ISOs known as Tiny10 and Tiny11 as well as this script to build you own: https://github.com/ntdevlabs/tiny11builde
I am not sure if this will keep over updates, but I will find out, I am poking around in the registry, I am wondering if this one might be a good one to change
I am wondering if Microsoft documents these keys or if end users just have to figure it out.
1721502754465.png
 
While it may be [temporarily] more annoying, all I do is use the "Add & Remove Programs" feature of Windows to remove OneDrive as soon as I log in for the first time. (Granted I have very limited experience with Windows 11, so I am mostly speaking from experience with Windows 10.) It used to be if you did this (in earlier versions of Windows 10) that it would come back during the next upgrade... but this seems to have eventually stopped happening... but that may also be tied to the settings I set in Group Policy.

I haven't tried this personally, but there are ISOs known as Tiny10 and Tiny11 as well as this script to build you own: https://github.com/ntdevlabs/tiny11builder
O, that is a cool link, I use stuff like that on GitHub to figure out what works and does not. It is a good source of ideas, I don't normally just run it however.