Coming soon - Get a detailed view of why an account is flagged as spam!
view details

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.

2
Running scripts as logged in user context. N-Able RMM Agent.
Post Flair (click to view more posts with a particular flair)
Post Body

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

Author
Account Strength
100%
Account Age
11 years
Verified Email
Yes
Verified Flair
No
Total Karma
45,919
Link Karma
35,941
Comment Karma
8,948
Profile updated: 4 days ago
Posts updated: 5 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
1 year ago