Boot Windows adding a local drive pointing to SHarepoint Online Folder
So, in my case need to do a .bat file with the following command
net use x: \\microsoft-my.sharepoint.com@SSL\DavWWWRoot\personal\oscarmh_microsoft_com /persistent:yes
Then regedit
well we need to use the variable %username% like in net use x: \\microsoft-my.sharepoint.com@SSL\DavWWWRoot\personal\%username%_microsoft_com /persistent:yes
The beauty of that is that I can access the hidden part of my onedrive
Navigate to the "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run" key. Right-click the whitespace in the center details pane and select "New" then "String Value." Enter "map drive" for the name and enter "mapdrive.bat" for the value. Click "OK" to save your settings.
Read more : https://www.ehow.com/how_6835491_map-drive-windows-startup.html
Navigate to the "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run" key. Right-click the whitespace in the center details pane and select "New" then "String Value." Enter "map drive" for the name and enter "mapdrive.bat" for the value. Click "OK" to save your settings
Read more : https://www.ehow.com/how_6835491_map-drive-windows-startup.html
Navigate to the "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run" key. Right-click the whitespace in the center details pane and select "New" then "String Value." Enter "map drive" for the name and enter "mapdrive.bat" for the value. Click "OK" to save your settings
Read more : https://www.ehow.com/how_6835491_map-drive-windows-startup.html