Saving PerfMon Counter selection

Hi today, my first post of 2019 😀

I will give a small tip today, if for debugging you need to select custom perfmon counter, and you always have to redo the same selection over and over again, the tip is for you.

It’s a way to simply save the perfmon selection, as such you will need to make launch manually mmc.

  1. Launch the Microsoft Management Console (mmc.exe)
  2. File -> Add/Remove Snap-ins
  3. Performance Monitor, Select Add, Select OK.
  4. Add your Counters
  5. File -> Save As

After that if you launch that saved applet, you will always have by default the wanted counter.


A small tip, but handy 😀

Posted in microsoft | Leave a comment

Windows Remote Desktop / XenApp 7.X + Session Time Limits


Today I will share a small tip if you are new to the XenApp 7.15 LTSR but are an old timer of the old XenApp.

Now the session limit is no longer in the ICA-RDP configuration panel, but it now use a standard GPO to set. The XenApp service listen to that settings now;

Computer Configuration, Admin Templates, Windows Components, Remote Desktop Services, Remote Desktop Session Host, Session Time Limits

Set time limit for disconnect sessions


The old way was by that applet;


Posted in microsoft | Leave a comment

Windows DNS Server: Make dynamic entry static

Hi everyone

There is a small tip if you ever need to be sure the DNS entry of your server never change, or to be sure they never get scavenged.

If you open your DNS MMC, you will see static entry and dynamic entry that way;


The tip is to show the advanced feature; and after that double-click the record you want to make static, and untick the suppress option; as seen there in french;



After clicking Ok the record will now be tagged static, and will no longer change 🙂


Enjoy the small tip, thanks everyone



Posted in microsoft | Leave a comment

ODBC drivers export / import

Hi everyone

In some case you might want to export all ODBC configurations from one server to another’s one.


There is a small handy tip with PowerShell to achieve that goal;

Export the DNS;

Get-OdbcDsn |Export-Clixml dsn.xml

On the other machine, we import it;

Import-Clixml dsn.xml |Add-OdbcDsn


Voila, the config is now copied between the computers.

Posted in microsoft | Leave a comment

QuickBook 2019 error on Windows Server 2012 R2..


If someday you have that setup;

  • Customer with QuickBook on their computer
  • The QuickBook server module

You might hit a small bug when you share your database.

An error code -6000,-83.

The file in the share are created, but not able to be open when the error happen ?

The bug was in the end really simple for me, the quickbook server module does not accept special characters in the folder name..

Renamed the folder with special charracters (é in my case) and voila, it worked..

Posted in microsoft | Leave a comment

Windows netstat tip


If you debug a lot your Windows computer and you need to issue the netstat -ano command, it’s often hard to see if a services is listening on the correct ports.

I find a small tip to quickly find that information.

In taskmgr.exe you right click the first coloum to display the PID, as such;


After that you can see a normal list from netstat -ano;


As you can see the list can be quite big, as such the tip is simply to parse the netstat -ano with a findstr command.

That way; netstat -ano | findstr “PID”

I tested it with the PID 5700, the steam client, for that result;


As you can see the list is really easier to read with that small tip ! 🙂


Thanks everyone

Posted in microsoft | Leave a comment

Windows Server – Log all Active Directory LDAP query


I wanted to share a small tip if you need to log all LDAP’s query sent to your ADDS’s server.

You can easilly find the correct registry to change there:

You need to set at 5 the key Field Engineering there: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTDS\Diagnostics

and you need to set to 1 those two keys:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTDS\Expensive Search Results Threshold

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTDS\Inefficient Search Results Threshold

For more detail you can find it some documentations there, Creating More Efficient Microsoft Active Directory-Enabled Applications


Thanks everyone

Posted in microsoft | Leave a comment