vendredi 6 décembre 2013

Automatique Update XP SP3 SVHOSTS 100% CPU

Avec Windows XP SP3 (autres Windows aussi affectés), il semble que lorsque la mise à jour automatique est configurée en "Téléchargement automatique mais avec approbation d'installation" le téléchargement des dernières mises à jour cause un problème avec le service de mise à jour de Windows.  Le process svhosts.exe utilise 1 core à 100% (dons si 2 core, utilisation total du CPU à 50% dans le taskmanager).  L'utilisation du CPU est lié avec la dll wuaueng.dll, j'ai découvert ceci à l'aide de Process explorer de sysinternal, on peut voir ceci dans les Threads en allant des les propriétés du process svhosts.exe qui utilisent 50% du cpu.

Pour corriger le problème:

1- Arrêter le service de mise à jour automatique, par ligne de commande: net stop wuauserv
2- Télécharger la mise à jour KB2888505 selon notre configuration de système et Internet Explorer http://technet.microsoft.com/fr-fr/security/bulletin/ms13-088
3- Installer celle-ci et redémarrer le système
4-S'assurer que le service de Windows Update fonctionne toujours automatiquement et est démarré après le redémarrage
5- Le service svhosts.exe ne devrait plus utiliser le process svhosts à long terme.  Il peut y avoir des "peak" d'utilisation mais devrait retourner à 0%

Pour information, voici un commentaire que j'ai envoyé sur un autre forum:

http://answers.microsoft.com/en-us/windows/forum/windows_xp-windows_update/latest-windows-xp-update-and-svchostexe-problems/57ff2a95-3a9c-4e85-a879-b340c65acfa5?page=3

We have the similar problem with station Windows XP SP3 with IE8 already installed.  With all the test that I have done so far, I think that our problem come from the WSUS server.  Here what I found.

If the station didn't reboot since ???  X days (I don't have the answer right now) the behavior of the automatic update is Ok.  If we use the command wuauclt /detectnow, everything is ok.  But if we reboot the station or use the command wuauclt /resetauthorization, the svhost use 1 Core at 100% (1 Core because on station that have 2 core the svhosts use 50% in the task manager).  We still have P4 station, so it use 100% of the CPU on these... Big problem)  The problem doesn't seems to be related to update that was already installed, because we have station that is missing 94 updates and some like 5 updates.  This is the reason why I think that the problem is something with the WSUS server.  Something happend in the last 1 or 2 week.

To correct the problem we install the KB2888505.

We have station that still have IE6 with XP SP3 and KB2888505 correct the problem.

Not a good news, but I did try on one of our Windows Server 2003 SP2 and we have the same problem....  svhosts using 17% of the total CPU (1 of the 6 core). Will try KB2888505 on it too.

mardi 19 novembre 2013

Exclure fichiers, répertoires ou extensions dans Plex / Exlcude files in Plex with .plexignore

Voici une copie du wiki pour exclure des fichiers dans le scan avec Plex.  Pour ma part, Plex Media Server est installé sur Ubuntu 12.04 64bits.  Pour exclure des répertoires, j'ai dû écrire ceux-ci comme : */VIDEO_TS/* et non comme le wiki le disait : VIDEO_TS/*.  Aussi, j'ai essayé d'exclure les fichier *.iso et ça n'a pas fonctionné.  J'ai donc déplacé tout mes .iso sous un dossier nommé iso qui se retrouve dans chaque répertoire des émissions/films et j'ai exclu les répertoires */iso/*.  Je n'ai maintenant plus de duplicat dans mes librairies.

http://wiki.plexapp.com/index.php/Media_Naming_and_Organization_Guide#Excluding_files_with_.plexignore

Aussi j'ai mis à jour Plex server à la dernière version que j'ai obtenu directement sur le site de Plex, car celui qui est disponible dans Ubuntu n'est pas assez récent pour gérer le plexignore si je ne me trompe pas.

Eng/
 Here is a copy of the wiki to exclude files from the scan with Plex . Personally, Plex Media Server is installed on Ubuntu 12.04 64bit . To exclude directories I had to write these as : * / VIDEO_TS / * and not like the wiki said : VIDEO_TS / * . Also , I tried to exclude file * .iso and it has not worked. So I moved all my .iso in a folder called iso which is found in each directory emissions / movies and I excluded directories * / iso / * . Now I 'm out of my duplicate libraries.


http://wiki.plexapp.com/index.php/Media_Naming_and_Organization_Guide#Excluding_files_with_.plexignore


Also I 've updated Plex server to the latest version that I got directly on the site Plex as that available in Ubuntu is not recent enough to handle the plexignore if I 'm not mistaken .

Excluding files with .plexignore

You can tell the scanner to ignore files or patterns by adding a .plexignore file to any folder in your section. If you add the .plexignore file to the root (top-level) folder in the section, the ignore rules will apply to all sub-folders.
Note that many text editors (e.g. Notepad, Text Edit) will save files with a .txt extension by default. Make sure your file is called ".plexignore" (exactly, with no extension) or this won't work!
Add one pattern per line for things you'd like to ignore. The file is interpreted as follows:
  • Blank lines are ignored.
  • Lines starting with # are comments.
  • Patterns without '/'s (e.g. *.mkv) match filenames in the same directory as the .plexignore file, or anywhere in the tree if .plexignore is a root of the section.
  • Patterns with '/'s (e.g. somedir/*) match directory and file patterns relative to the directory containing the .plexignore file.
Note: always use forward slashes ('/') as path delimiters, even on Windows.
An example .plexignore file:
   # Ignore all files with "trailer" in the name.
   *trailer*
   
   # Ignore everything in the "thumbnails" directory.
   thumbnails/*
   
   # Ignore files with the extension ".cr2"
   *.cr2
   
   # Ignore directories called "Modified"
   Modified/*

mardi 5 novembre 2013

Windows 7 écran noir pas de fond d'écran et une fenêtre explorateur Windows seulement

 En ouvrant une poste avec Windows 7, nous arrivons sur le bureau de travail avec seulement un fond d'écran noir, pas de barre de démarrage et une fenêtre explorateur Windows seulement.

Même situation avec un démarrage en mode sans échec.

Par le gestionnaire des tâches (ctrl+alt+del), ficher Nouvelle Tâche, taper regedit.exe et effacer la clé de registre HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell et la recréée en valeur chaîne avec explorer.exe dans celle-ci.