This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Hi All
A customer of ours is going through a rebrand. Part of this rebrand involves email/UPN Changes.
Im currently testing the user experience post UPN/Email changes.
The outlook client still has the old email cached. So we are needing to create a new outlook profile on all devices
I have a script that when run manually a new outlook profile is created and a prompt to setup outlook is displayed, however when run with N-Able on the same device, Im met with an error message that im assuming is becuase the current user cannot be accessed as the script is bieng run in a system context
This is the script im running:
New-PSDrive -PSProvider Registry -Name HKU -Root HKEY_USERS
Set-Location -Path HKCU:\Software\Microsoft\Office\16.0\Outlook\Profiles
New-ItemProperty -LiteralPath 'HKCU:\Software\Microsoft\Office\16.0\Outlook\Profiles' -Name 'DefaultProfile' -Value "aca" -PropertyType DWord -Force -ea SilentlyContinue;
When setting up the script in Nable it does have an option for device credentials but im not sure if this is referring to user credentials or maybe some other account? (Local admin?)
Does anyone have any ideas about how I can run the above script?
Thanks
Post Details
- Posted
- 1 year ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/Nable/comme...