AutoIT meets PowerShell using .NET Common Language Runtime (CLR) Framework

August 9, 2017

Since we AutoIT have got access the to the .NET Common Language Runtime (CLR) Framework 

We can access the PowerShell Automation Classes as well.

This is really powerfull stuff … because we can reuse .NET code as well as all the native CMDlet’s and scripts.

As you can see the script runs an PowerShell command that lists all running processes on your machine. And return the Output to a .NET Grid.


Which runs inside our Unmanaged Host, isn’t that cool …Smile

We can access native .NET Classes as well because PS runs on top off it.

Next is that you could access any kind of Cloud Web Service using the multitude of PS Modules that are available.

As well as accessing Custom Build Assemblies.

How to : 

For more information on how to access .NET Classes see the above post about .NET Common Language CLR Framework.

Or Join the most friendly and helpful AutoIT Community on the net Smile

I will post some more examples and How To’s later on, so stay tuned …

Windows 2016 – Computer Browser Service Missing ?

August 8, 2017

Compared to older versions of Windows Server some services are missing like :

Computer Browser Service

Network Discovery Service

Making that you don’t see the computers available in your network by default …


Solution :

Make sure that the SHARING options for the DOMAIN profile is turned on !


Next check that the DNS Client Service is running


Next check that the Function Discovery Resource Publication Service is running


Next check that the SSD Discovery Service is running


Make sure the Firewall is allowing network discovery

netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes

Go and check again to what is appearing now…


If it does not work you can try turning on the UPnP Device Host Service. Which I don’t recommend since UPnP can be a weak spot in your network…


Adding OCR to GreenShot

August 7, 2017

One of my all time favorites is use GreenShot Screen Capturer. And most welcome is the add the MS OCR plugin.

It was a long time since I installed it, and starting to use a new laptop I was missing this feature the most Sad smile


1. So checked the that in MS Office 2010 the OCR feature was enabled.



2. I checked that his was also installed in SP Designer 2010



3. I also downloaded the MODI Convertor Components seperately




But still no Success Sad smile



Because since MS Office 2010 the MODI (MS Office Document Imaging or OCR components) are not included anymore…


Solution :

So  need to install MS SharePoint Designer 2007, and activate the MODI components.



Once installed you can the nice OCR feature again available.


As you can see the SP Designer 2010 can be installed side by side with  SP Designer 2007 if needed…




Enjoy !

Group Policy Error Event ID 1030

August 3, 2017

After a Reboot of a Domain Controller Server 2008r2 I got many Errors Event ID 1030


And as well a Warning event LSA Event ID  40961 ?

The Security System could not establish a secured connection with the server ldap/xxx/xxx. No authentication protocol was available.

Diagnostics :

After reading on the net, I did several Diagnostics test:

dcdiag /v /c /d /e /s:%dcname% > c:\dcdiag.txt


repadmin /showrepl %dcname% /verbose /all /intersite >c:\repl.txt 


May errors appear in there but did not ring a bell to me ?

I also did a machine Pwd reset on the domain controller that had the issue, but not success too Sad smile

The nltest.exe /dsregdns was OK but did not solve it to ??Baring teeth smile


Solution :

After trying all of the above did not help …

But simply restarting the AD Domain Services


It gave a few warnings but after that everything was back to normal.


Enjoy !