Windows : How to unregister serial number

For decomissionning or licence relocation purposes, removing the Windows licence is required. To remove the serial number, simply follow these steps : 1. Open PowerShell (with Administrator privileges) ; 2. Run the following commands (in order) : slmgr /upk slmgr /cpky The licence should now be removed and Windows deactivated.

JunOS : How to add a DHCP address reservation

On Juniper devices acting as DHCP server, static reservation (static lease based on MAC address) can be achieved as followed : set access address-assignment pool <dhcp-pool-name> family inet host <client-host-name> hardware-address <client-mac-address> ip-address <client-static-ip> Example : set access address-assignment pool DHCP_Grp_v128_Pool1 family inet host mtrlpqm1lt0276 hardware-address 8c:ae:4c:c8:45:c5 ip-address 10.10.128.72 Then apply the configuration : commit… Read More »

Linux : How to test Apache mod_rewrite

Apache mod_rewrite is a very popular server module that, as per name, manage URL rewriting in a very flexible manner. With the constant run around between server admins and developers (developers claiming : that’s the server, not the code – and the other way around for sysadmins : that’s the code, not the server); testing… Read More »