Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Wednesday, October 19, 2016 10:31 AM
Hi
I'd like to save our users from the OneDrive Setup Screen after they log in to a new Client Computer.
Actually I do not want to prevent the usage of OneDrive nor prevent OneDrive from running after start up at all.
I just do not want our users to get this setup prompt if OneDrive is not yet configured on their Client computer.
We do have the use case, that users log in to a shared Computers. So I don't want to ask them to configure OneDrive on such a shared Client Computer untill it is realy needed. If it is needed they should be able to do so.
All replies (10)
Wednesday, October 19, 2016 2:21 PM âś…Answered
Unfortunatly the following Script did not work out, because there is no such key in the default users registry that could be deleted.
reg load "hku\Default" "C:\Users\Default\NTUSER.DAT"
reg delete HKU\default\software\Microsoft\Windows\CurrentVersion\Run /v OneDrive /f
reg unload "hku\Default"
Instead of this there is the following registry key "OneDriveSetup" set:
If I delete this key out of the Default users registry, OneDrive is not going to get installed at all.
Edit:
I ended up with the following script sequence running during the initial client setup.:
reg load "hku\Default" "C:\Users\Default\NTUSER.DAT"
reg delete HKU\default\software\Microsoft\Windows\CurrentVersion\Run /v OneDriveSetup /f
reg add HKU\default\software\Microsoft\Windows\CurrentVersion\Run /v OneDriveSetup /t REG_SZ /d "C:\Windows\SysWOW64\OneDriveSetup.exe /silent" /f
reg unload "hku\Default"
This should still run OneDriveSetup.exe at first logon but in Silent Mode. Result should be, that OneDrive is Installed, but user is not prompted to sign in to OneDrive if not needed.
Wednesday, October 19, 2016 10:36 AM
Hello
This OneDrive setting will add (checked) or remove (unchecked) the OneDrive string value in the registry key below.
You can modify this registry value.
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Data value:
"C:\Users\your user name>\AppData\Local\Microsoft\OneDrive\OneDrive.exe" /background
later push this registry to all users(Active setup)
Regards, Regin Ravi
Wednesday, October 19, 2016 10:54 AM
Hello
Thanks for the fast Reply.
The mentioned Registry Key is already set.
Still the first pop-up after log in is the OneDrive Setup prompt.
Any way to prevent this popup after log in?
Wednesday, October 19, 2016 10:59 AM
Hello
Thanks for the fast Reply.The mentioned Registry Key is already set.
Still the first pop-up after log in is the OneDrive Setup prompt.Any way to prevent this popup after log in?
![]()
Remove this setting?
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help.
Wednesday, October 19, 2016 11:57 AM
Good Point.
But how?
If I remove the mentioned registry setting by GPO, users won't be able to change the OneDrive start up settings afterwards, if they like to configure their OneDrive Account and have OneDrive started at each Login. This setting gets overwritten/removed by the GPO then, right?.
So, I m going try to run the following script during initial client setup:
reg load "hku\Default" "C:\Users\Default\NTUSER.DAT"
reg delete HKU\default\software\Microsoft\Windows\CurrentVersion\Run /v OneDrive /f
reg unload "hku\Default"
Edit:
Unfortunatly this script did not work out.
Wednesday, October 19, 2016 1:19 PM
Hello,
Can this trick help you?
http://www.eightforums.com/tutorials/24860-onedrive-desktop-app-allow-prevent-start-sign.html
Regards.
Microsoft MVP (Windows and Devices for IT)
Windows Insider MVP
Windows Help & Support [www.kapilarya.com]
Wednesday, October 19, 2016 1:32 PM
Hello,
Can this trick help you?
http://www.eightforums.com/tutorials/24860-onedrive-desktop-app-allow-prevent-start-sign.html
Regards.
Microsoft MVP (Windows and Devices for IT)
Windows Insider MVP
Windows Help & Support [www.kapilarya.com]
No, unfortunatly not.
I want to preset this setting, so On Drive is not starting up the first time a user logs in to a client machine.
Afterwards the user should be free to define whatever start up setting of OneDrive he prefers.
Wednesday, October 19, 2016 3:31 PM
Thanks for the update on issue. So the objecting is achieved with the script and you're satisfied with results?
Microsoft MVP (Windows and Devices for IT)
Windows Insider MVP
Windows Help & Support [www.kapilarya.com]
Wednesday, October 19, 2016 3:39 PM
Yes, I just tested it and running the script serves exactly my needs..
OneDrive is installed, but not started, so there are no pop-ups untill the user decieds to start one drive manually.
Tuesday, July 9, 2019 11:00 PM
The answer to this post was way back 2016. Is there a better way to manage this Welcome Screen now it is 2019? I don't want users to get prompted for this Welcome Screen. I want the users to login automatically without further prompts, Welcome Screen or option to install on their mobile device.