Home

Is SilentAccountConfig by user not HKLM?

%3CLINGO-SUB%20id%3D%22lingo-sub-1253186%22%20slang%3D%22en-US%22%3EIs%20SilentAccountConfig%20by%20user%20not%20HKLM%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1253186%22%20slang%3D%22en-US%22%3E%3CP%3EDoes%20anybody%20know%20if%20there's%20an%20option%20to%20make%20the%20OneDrive%20account%20configuration%20silent%20on%20a%20per%20user%20basis%20as%20opposed%20to%20a%20per%20device%20basis.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20example%2C%20you%20can%20enable%20the%26nbsp%3B%3CSPAN%3E%3CSTRONG%3ESilentAccountConfig%3C%2FSTRONG%3E%20registry%20key%20under%26nbsp%3B%3CSTRONG%3EHKLM%5CSOFTWARE%5CPolicies%5CMicrosoft%5COneDrive%3C%2FSTRONG%3E%20but%20that%20is%20targeting%20the%20device%2C%20as%20opposed%20to%20the%20user.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThe%20%3CSTRONG%3ESilentAccountConfig%3C%2FSTRONG%3E%20switch%20gives%20me%20what%20I%20need%2C%20but%20I%20want%20to%20target%20it%20on%20a%20per%20user%20basis.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThe%20best%20I%20can%20get%20to%20is%20using%20%3CSTRONG%3EStart-Process%20%E2%80%9Codopen%3A%2F%2Fsync%3Fuseremail%3D%24UserPrincipalName%22%3C%2FSTRONG%3E%26nbsp%3Bin%20a%20script%2C%20but%20I%20cannot%20find%20a%20SILENT%20or%20NOUI%20switch%20for%20this.%26nbsp%3B%20Using%20this%20command%20pre-populates%20the%20UPN%20field%20but%20the%20user%20still%20needs%20to%20click%20through%20a%20few%20windows%20(if%20you%20disable%20the%20tutorial%20registry%20key%20too).%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EDoes%20anybody%20know%20how%20to%20achieve%20Silent%20Account%20Config%20on%20a%20per%20user%20basis%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1253186%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOneDrive%20for%20Business%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESync%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Occasional Contributor

Does anybody know if there's an option to make the OneDrive account configuration silent on a per user basis as opposed to a per device basis.

 

For example, you can enable the SilentAccountConfig registry key under HKLM\SOFTWARE\Policies\Microsoft\OneDrive but that is targeting the device, as opposed to the user.

 

The SilentAccountConfig switch gives me what I need, but I want to target it on a per user basis.

 

The best I can get to is using Start-Process “odopen://sync?useremail=$UserPrincipalName" in a script, but I cannot find a SILENT or NOUI switch for this.  Using this command pre-populates the UPN field but the user still needs to click through a few windows (if you disable the tutorial registry key too).

 

Does anybody know how to achieve Silent Account Config on a per user basis?