Jump to content
Comissha

How to change Runtime Powershell credentials/password

Recommended Posts

Our technical support AD credentials have changed passwords and now we are getting hundreds of machines trying to login with the configured AD account PowerShell User Impersonation credentials…locking the technician accounts. These machines are spread out at 19 separate locations and over 600 miles, at remote locations. How do we remotely modify the Runtime PowerShell user credentials on those machines?

I have tried uninstalling and then  reinstalling, but it absorbs the previous configuration…including the former PowerShell User credentials….I also tried calling tech support but was sent to voicemail. Help!

Local Setings where credentials were entered:

301648439_localsettings.JPG.a801b99d0a9e8e68fb415f07d7504366.JPG

Remote Settings, no ability to enter or modify PowerShell User:

318821179_remotesettings.JPG.15ac90ec4ef545cc819080f726f4a997.JPG

Share this post


Link to post
Share on other sites

Hi @Comissha,

I would suggest you to configure the PowerShell impersonation on one of your monitored systems manually and then you might use the PowerShell script to configure it on other required systems:

At first you will need to copy the value for the following registry keys and then use them in the following script:

PowerShellUserImpersonation
PowerShellUserImpersonationDomain
PowerShellUserImpersonationPassword
PowerShellUserImpersonationPasswordCtrl
PowerShellUserImpersonationUsername

Set-ItemProperty -Path "HKLM:\Software\MMSOFT Design\PC Monitor" -Name "PowerShellUserImpersonation" -Value "value here"
Set-ItemProperty -Path "HKLM:\Software\MMSOFT Design\PC Monitor" -Name "PowerShellUserImpersonationDomain" -Value "value here"
Set-ItemProperty -Path "HKLM:\Software\MMSOFT Design\PC Monitor" -Name "PowerShellUserImpersonationPassword" -Value "value here"
Set-ItemProperty -Path "HKLM:\Software\MMSOFT Design\PC Monitor" -Name "PowerShellUserImpersonationPasswordCtrl" -Value "value here"
Set-ItemProperty -Path "HKLM:\Software\MMSOFT Design\PC Monitor" -Name "PowerShellUserImpersonationUsername" -Value "value here"

Share this post


Link to post
Share on other sites

Hi @Comissha,

My mistake, the batch script should do this.

REG ADD "HKLM\Software\MMSOFT Design\PC Monitor" /v PowerShellUserImpersonation /t REG_SZ /d value_here /f
REG ADD "HKLM\Software\MMSOFT Design\PC Monitor" /v PowerShellUserImpersonationDomain /t REG_SZ /d value_here /f
REG ADD "HKLM\Software\MMSOFT Design\PC Monitor" /v PowerShellUserImpersonationPassword /t REG_SZ /d value_here /f
REG ADD "HKLM\Software\MMSOFT Design\PC Monitor" /v PowerShellUserImpersonationPasswordCtrl /t REG_SZ /d value_here /f
REG ADD "HKLM\Software\MMSOFT Design\PC Monitor" /v PowerShellUserImpersonationUsername /t REG_SZ /d value_here /f

Share this post


Link to post
Share on other sites

Hi @Chris,

How would you set the "PowerShellUserImpersonationPassword" and "PowerShellUserImpersonationPasswordCtrl" across multiple hosts? You would need to use the same admin password across all hosts?

I'm guessing these are a hash result and hash function input?

Thanks,

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Similar Content

    • By Louwrens
      Please expand the list of programs on 3rd Party Patch management.
      Some suggestions:
      Adobe Flash
      Amazon Corretto (Since Oracle Java is not free anymore)
      Dropbox
      Gimp
      Google Gsync (GSuite)
      K-lite Codec
      LibreOffice
      OpenVPN
      Thunderbird
      WhatsApp Desktop Client
       
       
       
    • By Andy Raybould
      Hi
      Could someone assist in helping me to set up an alert when a network connection is dropped.
      This is happening at one of my client sites after changing to a new ISP. The ISP says the router/switch is fine but connections are dropping.
      I would like to be able to log when a connection drops (ideally knowing if the internet connection has dropped or just the internal network connection)
      I'm not sure a simple ping notification is good enouh in Pulseway to do this as I need to know if the connection has dropped for a few mseconds as well as larger outages.
      I guess the Event Viewer holds the answers but would appreciate it if anyone has done this before if they could share their thoughts.
      Thank you, Andy
    • By Perks
      Hi,
      Has anyone got some advice on monitoring McAfee please? We need a way to monitor to the AutoUpdate so it alerts us if this has not run.
      Previously we have a script that checks the registry of each server then sends an email with the information, however we would like to replace this with a Pulseway alert if out of date.
      I have searched the forum but the last post is from 2012 so i was hoping there is a solution to this. Also looked from registry/WMI queries but that seems to be for reporting rather than monitoring.
      Thanks.
       
    • By jmorris
      I added two switches to one of my Pulseway clients to monitor over SNMP.
      I added the agents in server modules > SNMP and then added the triggers in Notifications. I pulled a power cord on one of the switches and the alert tripped right away sending notifications to my phone and dashboard. I pulled a PSU cord on the other switch and no alerts. Looking at the values (3 is working correctly) I see the PSU value has changed to 5. Obviously out of tolerance but no alerts. I then recreated the variables for the agents seeing if something went wrong. Now the switch that didn't alert the first time alerts but the one that was working doesn't alert.
       
      Can someone shed some light on this? I included a screenshot to show that the SNMP portion is configured correctly and showing the values it should for alerts to be triggered.
       

×
×
  • Create New...