For a basic scenario where users are unwilling or unable to navigate to the Onedrive folder in their profile, the following script will ensure all users on a given machine get their Onedrive profile folder mapped to the O: drive, it auto-installs as scheduled task at logon.
![](https://www.lieben.nu/liebensraum/wp-content/uploads/2023/07/image.png)