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

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 sakis_s
      Hi! Can anyone please tell me how to get notified (monitoring my PC from an iOS device) when my computer (running windows 10) turns on? The reason is that i have give access to other users as well to turn it on and i want to get notified when this happens. Thanks in advance for your help!
    • By dpbklyn
      Hello and thank you in advance.
      Is there a way to have the default selection on noted be set to "Internal"  I would rather have a technician accidentally hit send on a note that is set to Internal than one that SHOULD be internal and have it accidentally sent to the client.
      Thank you,
       
      dp
    • By jbohnenstiehl
      Pulseway Dashboard (Currently 6.3)
      Data - All Notifications.
      Currently we can not: Ctrl + Select, Shift + Select All, Ctrl + A, Sort by columns. 
      This is a daily task for me and so it would be fantastic to be able to use these simple functions. 
    • By pheald
      I am running CentOS 6 and I can track most of my /etc/init.d services just fine - except for iptables.  When the service is running, Pulseway reports that it is down.
      For example, these lines work just fine:
      <Service Name="ntpd" DisplayName="NTPD Service" IsDaemon="true" DaemonType="SYSVINIT" Path="" StartParameters="" CanBeStopped="true" Enabled="true"/> <Service Name="crond" DisplayName="Cron Daemon" IsDaemon="true" DaemonType="SYSVINIT" Path="" StartParameters="" CanBeStopped="true" Enabled="true"/> But this one does not
      <Service Name="iptables" DisplayName="iptables Service" IsDaemon="true" DaemonType="SYSVINIT" Path="" StartParameters="" CanBeStopped="true" Enabled="true"/> Does anyone have any ideas?  I'm relatively new to Pulseway so it is entirely possible that I'm just missing something obvious.
       
      Edit: I just confirmed that I can start the service successfully when I manually stop it, but it still never detects it as running.
×
×
  • Create New...