How to remove OneDrive from Windows via DISM

Published on:

|

Categories: , , ,

|

Modified Date:

In this video, we will see two method to remove OneDrive from Windows via DISM. I will be using a Windows 11 ISO image file in this example, but the technique is the same whether you use a Windows 10 ISO image.



Commands:
Dism /Get-WimInfo /WimFile:C:\Win11_ISO\Sources\install.wim
Dism /Mount-Wim /WimFile:C:\Win11_ISO\Sources\install.wim /index:6 /MountDir:C:\Mount
Dism /Unmount-Image /MountDir:C:\mount /Commit
reg unload HKLM\Offline



Chapters:
0:00 Intro
0:23 Method 1: Mount ISO to Remove OneDrive Using DISM
6:04 Method 2: Edit ISO Registry Hive to Remove OneDrive Using DISM
10:52 End screen




What you will learn:
1. How to modify an ISO file using a tool in Windows called DISM (Deployment Image Servicing and Management)
2. How to modify the default Windows install image
3. How to access the Windows install image and remove the OneDriveSetup preloaded in the disk image to prevent it from auto installing during Windows setup
4. Method 1: Mount ISO to Remove OneDrive Using DISM
a. How To mount a Windows ISO image
b. How to check what editions are included in the disk image
c. How to Mount the image of your preferred Windows edition using its index number
d. How to Unmount the offline image and commit (save) changes
5. Method 2: Edit ISO Registry Hive to Remove OneDrive Using DISM
a. How to edit the offline registry hive by importing it to a temporary hive in the host registry
b. How to import the HKLM\Software hive from the offline registry to a temporary hive called Offline in the host registry
c. How to delete the Run OneDriveSetup key
d. How to unload the temporary hive
6. How to completely uninstall OneDrive on Windows 11


























Song: Dennis Kumar – Carry Me Away (Vlog No Copyright Music)
Music provided by Vlog No Copyright Music.
Video Link: https://youtu.be/TErzcuVUb4U

Song: Del – L.o.v.e (Vlog No Copyright Music)
Music provided by Vlog No Copyright Music.
Video Link: https://youtu.be/55AIbfZkfhw

Song: MELURAN – Skyline (Vlog No Copyright Music)
Music provided by Vlog No Copyright Music.
Video Link: https://youtu.be/mUAYt-e_kM4

#computereverywhere #howtoremove #onedrive #windows #deployment #image #servicing #management

Leave a Reply

Your email address will not be published. Required fields are marked *