Category: Uncategorized


Switch to using PowerShell, and follow the instructions at the following site to enable history:

Alternatively, in cmd.exe, you can use “doskey /history” at the end of your session to show what you typed in that session, but theres no way to really load it into the next session

I’ve found 3 ways, neither of which require switching to PowerShell:

Install Clink (, which enhances cmd.exe with persistent history and much more. Just install it and then open cmd as normal.

Install TCC/LE free version (, which is a separate program, again providing an enhanced version of cmd.exe.

Install cygwin  ( It also provides some others functionalities that Linux has but Windows not.

Command Line Method

The first method we can use involves the command line. You will need to change your user mode to installation mode by using the following command:

Change User /Install


At this point you could go ahead and safely install the application, but once the application is installed don’t forget to change back to execution mode, you can do so by running the following command:

Change User /Execute


The GUI Method

If you think you are going to forget to switch back to execution mode, or maybe you just don’t like the command line you can always do the same thing using the GUI. To get started open control panel


Switch to the small icon view, and look for Install Application on Remote Desktop Server, double-click on it


Now you can simply go through the next, next, finish style wizard which will help you get the application installed.

Why Must I Do This?

When you use “change user /install” before installing an application, you actually create .ini files for the application in the system directory. These files are used as master copies for user-specific .ini files. After installing the application, when you type “change user /execute” you are reverting to standard .ini file mapping. The first time you run the application, it searches the home directory for its .ini files. If the .ini files are not found in the home directory, but are found in the system directory, Terminal Services copies the .ini files to the home directory, ensuring that each user has a unique copy of the application .ini files. Each user should have a unique copy of the .ini files for an application. This prevents instances where different users might have incompatible application configurations.

2013 in review

The stats helper monkeys prepared a 2013 annual report for this blog.

Here’s an excerpt:

The concert hall at the Sydney Opera House holds 2,700 people. This blog was viewed about 33,000 times in 2013. If it were a concert at Sydney Opera House, it would take about 12 sold-out performances for that many people to see it.

Click here to see the complete report.

Windows Server 2012 resources

What’s new in Windows Server 2012 ? :

also the main Technet home page:

Install, deploy, migrate to Windows 2012 RC DataCenter:

Download Windows server 2012 RC:


You cannot logon interactively on a Windows computer and you don’t have domain account with the right privileges, here are some techniques

to reset a lost/forget admin or local account’s password:

1- Paying method: If you are covered by the MS software assurance, you are eligible to the MDOP “Microsoft Desktop Optimization Pack”:

In that case, you can use the MS DaRT to burn a boot CD in order to recover your lost password. The Emergency Repair CD is based on well-known Winternals ERD toolset. The ERD contain the “locksmith” utility in order to recover your local accounts.

2- Free method: The other solution that requires no extra tool (but need the Windows DVD) is the method based on Utilman.exe substitution:

3- Free method: Another method based on USB or Boot CD (based on linux tools):

Web resource:

Mercurial 101

Mercurial est un système de gestion de version distribué. De fait, chaque client dispose de l’intégralité des versions, et les échanges ne passent pas forcément par un serveur central.

Quelques usages:

  • un développement en solo, et boum on a tout cassé ! Le problème : on a modifié des dizaines de fichiers avant d’arriver à ce magnifique résultat… Mercurial permet de récupérer n’importe quelle version de fichier que vous avez sauvegardé !
  • un développement en solo encore mais vous naviguez souvent entre plusieurs machines (maison, boulot, portable…) avec un dépôt online vous pouvez synchroniser tout votre développement sans vous demander où se trouve la dernière version à jour de votre logiciel !
  • un développement en équipe ? Alors là Mercurial vous montrera toute sa puissance! Vous pouvez vous organiser comme des patates que ça sera même pas grave ! Il vous faudra juste vous habituer à merger (ce qui arrive plus fréquemment en fin de projet quand il faut vite finir !).
  • un développement en équipe, mais vous partez en vacances et vous voulez absolument travailler ? Faites vos versions en local et préparez-vous à faire un merge du tonnerre en rentrant de vacances !

Mercurial en image:

Download Mercurial for Unix/Linux or Windows: