Le blogouille de Caro et Nico

Entre famille, sport et aventures !

Rename User folder on next reboot

Getting an access denied, even as admin or system account on a (corrupted) user folder you want to be renamed ? Well you can fix that on the next reboot, with the following trick

Navigate as an admin to the registry key located at :

HKLM\SYSTEM\CurrentControlSet\Control\Session Manager

Create a multiSZ named « PendingFileRenameOperations » (or edit the existing one and add two more lines). The two lines are (and hit enter for a final empty line, so total 3 lines:

\??\C:\Users\profile
\??\C:\Users\profile.old

Save that multiSZ and reboot, the folder will be renamed on next reboot.

Reset de la stack réseau sous Windows 10

Alors voilà pour resetter la network stack sous Windows 10, il faut lancer sous une ligne de commande administrateur :

netsh int ip reset
netsh winsock reset

On rédemarre uniquement après la deuxième commande.

Ensuite on peut aussi vérifier dans la base de registre si il n’y a pas un driver foireux de VPN associé aux interfaces.

Recherche des drivers OEM :

pnputil /enum-drivers

Et on peut ensuite supprimer le driver qui pose problème :

pnputil /force /delete-driver oem1.inf

Dot Net 3.5 Installation on Windows 2012 R2

The .Net 3.5 branch is not installed by default on Windows 2012 R2 server. Also this feature is not cached in the sources cache of the installation, so you need the source media.

First grab the the Windows 2012 R2 source media (and not the 2012R1). If not there, you can download the trial ISO from Microsoft web site.

You need two successive command lines to install .Net 3.5 branch, these are (need to be run from system32 in admin command prompt) :

 

dism.exe /online /enable-feature /featurename:NetFX3ServerFeatures /Source:d:\sources\sxs /LimitAccess
dism.exe /online /enable-feature /featurename:NetFX3 /Source:d:\sources\sxs /LimitAccess

The software Asoft .Net Version Detector provides an easy to validate that the installation is successful and operational :

http://www.asoft.be/prod_netver.html

aSoft .Net Detector

aSoft .Net Detector