You may see the message Code: 9999, Error: Execution error in the pm_error.log file during an SSH key rotation or change, with no obvious hints as to the cause. One possible reason for this issue is related to the SSH key format. Starting from OpenSSH 7.8, the private key is not output in OpenSSL’s PEM format by default, which is one the format accepted by CyberArk as an SSH key.
Continue reading “CyberArk Account Password Change Failed with Code: 9999, Error: Execution error”Category: Troubleshooting
Workaround to connect the server with RDP Licenses not available Error
You might sometimes see the error like this when trying to connect to Remote Desktop Session Host server
The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license.
Continue reading “Workaround to connect the server with RDP Licenses not available Error”Resolving winget not recognized error when running with the System Account
Although winget exists on your system, but when you try to run the winget with system account (or using the scheduled task with the system account) and you see this error.
winget : The term ‘winget’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Continue reading “Resolving winget not recognized error when running with the System Account”Esxi Kickstart file in the network location problem during Scripted installation with CDROM
If the ks.cfg file is skipped although it’s placed in a correct network location for the semi-automated installation (booted from CDROM), you may need to check these steps in case you missed them.
Continue reading “Esxi Kickstart file in the network location problem during Scripted installation with CDROM”The WS-Management service cannot process the request. Cannot find the Microsoft.PowerShell session configuration in the WSMan: drive on the…
After updating to Ps 4.0, I found some windows hosts are encountering the following errors when I run Invoke-Command to check the powershell version. See Fig-1.
Connecting to remote server X.X.X.X failed with the following error message : The WS-Management service cannot process the request. Cannot find the Microsoft.PowerShell session configuration in the WSMan: drive on the X.X.X.X computer.
Continue reading “The WS-Management service cannot process the request. Cannot find the Microsoft.PowerShell session configuration in the WSMan: drive on the…”
High Memory Usage with w3wp.exe in Exchange Server
w3wp.exe process is an IIS web application process to handle the client request for the application pool. Exchange server services heavily utilized w3wp process not only to handle users request from external but themselves make web service requests among Exchange server members using virtual directories (Owa, OAB & Powershell etc) and respective App pools. Unless you have not configured periodic recycling for Application Pool, you may need to do manual recycle to avoid memory leaks. Microsoft Technet states that: Continue reading “High Memory Usage with w3wp.exe in Exchange Server”
Recover Crashed Exchange 2013 Mailbox Server in DAG
-
Reset the crashed computer accounts in AD.
-
Install new server OS to replace the old crashed servers. Install windows features, pre-requisites and updates.
-
Remove the database passive copies on crashed servers. If the servers are accessible you can manually delete DB file and logs file residues from crashed servers.
-
Remove the crash servers from DAG. This can be done by EMC or EMS.
-
Evict(remove) the crash servers from failover cluster manager.
-
Start the recovery process by running setup file in command prompt with necessary switches. More details later in this section.
Install-WindowsFeature AS-HTTP-Activation, Desktop-Experience, NET-Framework-45-Features, RPC-over-HTTP-proxy, RSAT-Clustering, RSAT-Clustering-CmdInterface, Web-Mgmt-Console, WAS-Process-Model, Web-Asp-Net45, Web-Basic-Auth, Web-Client-Auth, Web-Digest-Auth, Web-Dir-Browsing, Web-Dyn-Compression, Web-Http-Errors, Web-Http-Logging, Web-Http-Redirect, Web-Http-Tracing, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Lgcy-Mgmt-Console, Web-Metabase, Web-Mgmt-Console, Web-Mgmt-Service, Web-Net-Ext45, Web-Request-Monitor, Web-Server, Web-Stat-Compression, Web-Static-Content, Web-Windows-Auth, Web-WMI, Windows-Identity-Foundation
setup.exe /m:RecoverServer /IAcceptExchangeServerLicenseTerms
You can also check your current exchange server version with build numbers on good servers in EMS shell by:
[PS] C:\>Get-ExchangeServer | Format-List Name, Edition, AdminDisplayVersion
As the recovery process is fetching info from AD objects and reinstalling the exchange server, you can see the progress in the console.
Change grayed out Windows Service Startup Option
You might sometimes encounter grayed-out services, particularly in scenarios like antivirus programs where certain services are intentionally safeguarded against tampering for security purposes, can pose challenges in managing your system effectively. However, there are strategies you can employ to navigate this hurdle and regain control over these services.
Option 1 – Startup Config
1) type “msconfig” in Run box
2) in the service tab, uncheck the service
3) reboot the computer
Option 2 – Registry Modification
The second method involves accessing the Windows Registry, the central repository of system settings, and making targeted modifications to alter the startup type of the grayed-out services.
1) Go to HKLMSYSTEMCurrentControlSetServices
2) Double-Click the Start SubKey
3) Change the DWORD value to 0 to 4 according to your startup option. 2 for Automatic & 4 for Disabled.
Below are Start values and description according to the technet article.
Value | Description |
---|---|
0 | Boot (loaded by kernel loader). Components of the driver stack for the boot (startup) volume must be loaded by the kernel loader. |
1 | System (loaded by I/O subsystem). Specifies that the driver is loaded at kernel initialization. |
2 | Automatic (loaded by Service Control Manager). Specifies that the service is loaded or started automatically. |
3 | Manual. Specifies that the service does not start until the user starts it manually, such as by using Device Manager. |
4 | Disabled. Specifies that the service should not be started. |