In part two of this post series, I will explain how we could solve our problem with ConfigMgr Settings Management and the MiniWebService, which is available for free.
Part 1 – Background Information
Part 2 – Solution Overview and installing netECM:MiniWebservice (This Post)
Part 3 – Creating ConfigMgr Settings Item
Part 4 – Retrieve the passwords with PowerShell
This solution will use a PowerShell script, which is implemented in a ConfigMgr Setting Item to generate a random password, encrypt the password and save the encrypted password to the netECM:MiniWebService. After that the unencrypted password is set for the local admin account.
The unencrypted password is never saved to the harddisk or transfered over the network. It’s only available in memory when the PowerShell script is running. The encryption is based on the RSA Asymmetric Encryption.
If you need the password later you can get it with a PowerShell script, which can be included in the ConfigMgr console or can be used standalone. It’s also possible to get the password by custom code for your ownl helpdesk tool.
Installing the MiniWebService
Download the actual version of the netECM:MiniWebService from our Homepage.
Start the Installation:
Test the web service
Open a PowerShell console and type the following command:
New-WebServiceProxy -Uri http://localhost/netECMMiniWebService/TSClient.svc
If you get a message like these, then your service is ready to use:
Part 3 of this blog bost will be released soon and you can continue implementing the solution in your environment.
Latest posts by Thomas Kurth (see all)
- Test connectivity to various Azure and O365 services - January 9, 2019
- Check your Delivery Optimization settings to be ready to optimize Intune Win32 app downloads - December 3, 2018
- Modern Workplace Client Center - November 25, 2018