kb_windows
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| kb_windows [2013/12/17 21:57] – [Can I delete MSOCache?] atl | kb_windows [2018/04/02 06:25] (current) – [**__Windows 10__**] atl | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== **__Windows__** ====== | + | ====== **__Windows 10__** ====== |
| - | ===== Cloner/Créer Image système/Sauvegarder ===== | + | [[https://www.howtogeek.com/ |
| - | * [[http:// | ||
| - | ===== Can I delete MSOCache? | + | ====== **__Windows 7__** ====== |
| - | cf. http://superuser.com/questions/216300/can-i-delete-msocache | + | * [[http:// |
| + | - 2011-05-03 | ||
| - | Way to go would be Junction Point. | ||
| - | |||
| - | For example if you have 120 GB SSD Drive as C:, and 3TB Drive (Magnetic)HDD as D: | ||
| - | |||
| - | * on drive D: create sub folder named C | ||
| - | * cut and paste folder MSOCache to sub folder C located on drive D: | ||
| - | * run CMD | ||
| - | * type: CD \ | ||
| - | * type: MKLINK /J MSOCache D: | ||
| - | * type: EXIT | ||
| - | * after this you will have entire content of MSOCache folder in path C: | ||
| - | |||
| - | that was the answer about MSOCache folder on C drive. Now let us talk about real problem, the same one I experienced few hours ago. | ||
| - | |||
| - | NOT ENOUGH SPACE ON SSD DISK AS C: DRIVE | ||
| - | ... | ||
| < | < | ||
| - | C: | ||
| - | Junction created for MSOCache << | ||
| - | </ | ||
| - | ====== **__Windows 7__** ====== | ||
| - | |||
| - | * [[http:// | ||
| How to Stop sidebar.exe Using Lots of Memory | How to Stop sidebar.exe Using Lots of Memory | ||
| Posted on March 7, 2011 by Brendan in Windows | Posted on March 7, 2011 by Brendan in Windows | ||
| One of my readers, TED has made a suggestion as to a hack fix to the sidebar.exe memory problem (as documented in my blog post Windows sidebar.exe Memory Leak). With some spare time at the moment, I’ve been able to implement his suggestion and confirm it works. | One of my readers, TED has made a suggestion as to a hack fix to the sidebar.exe memory problem (as documented in my blog post Windows sidebar.exe Memory Leak). With some spare time at the moment, I’ve been able to implement his suggestion and confirm it works. | ||
| - | I’ve written a batch script, and confirmed this works in Windows 7 (should work in Windows Vista too). I created a batch file called restart-sidebar.bat, | + | I’ve written a batch script, and confirmed this works in Windows 7 (should work in Windows Vista too). I created a batch file called restart-sidebar.bat, |
| @echo off | @echo off | ||
| Line 47: | Line 25: | ||
| The idea is it will kill the process called / task with the image name of, sidebar.exe, | The idea is it will kill the process called / task with the image name of, sidebar.exe, | ||
| - | To complete the setup, create a new scheduled task specifying the path to your newly created batch file (mine was c:\users\brendan\restart-sidebar.bat). Run the scheduled task as your own user. I have it scheduled to run once a day at 5pm. I prefer to have it run when I’m not using the computer, more of a scheduled maintenance task that goes on behind the scenes. If you find that’s not enough, schedule it to run a few times a day. | + | To complete the setup, create a new scheduled task specifying the path to your newly created batch file (mine was c:usersbrendanrestart-sidebar.bat). Run the scheduled task as your own user. I have it scheduled to run once a day at 5pm. I prefer to have it run when I’m not using the computer, more of a scheduled maintenance task that goes on behind the scenes. If you find that’s not enough, schedule it to run a few times a day. |
| For your information – I’ve encountered on only a few occurrences problems in the past when shutting. The sidebar process has stalled the shutdown procedure and Windows has forcefully killed the process. On login again I’ve lost a few sidebar settings. While I’ve not encountered this running the above batch script, it’s possible you may encounter this. If you’re concerned about it, drop the /f from the taskkill line in the above script (as to not force it) and increase the timeout value from 2, to up to 20 seconds to allow it to safely exit. | For your information – I’ve encountered on only a few occurrences problems in the past when shutting. The sidebar process has stalled the shutdown procedure and Windows has forcefully killed the process. On login again I’ve lost a few sidebar settings. While I’ve not encountered this running the above batch script, it’s possible you may encounter this. If you’re concerned about it, drop the /f from the taskkill line in the above script (as to not force it) and increase the timeout value from 2, to up to 20 seconds to allow it to safely exit. | ||
| Line 62: | Line 40: | ||
| ====== **__Windows XP__** ====== | ====== **__Windows XP__** ====== | ||
| - | |||
| ===== WINDOWS XP SHUTDOWN & RESTART TROUBLESHOOTING ===== | ===== WINDOWS XP SHUTDOWN & RESTART TROUBLESHOOTING ===== | ||
| - | * [[http:// | + | * [[http:// |
| + | - [[http://www.thinktechno.com|www.thinktechno.com]] | ||
| * [[http:// | * [[http:// | ||
| ==== Shares Access Denied & IRPStackSize ==== | ==== Shares Access Denied & IRPStackSize ==== | ||
| - | * [[http:// | + | |
| - | shares problems can be solved by the method of " | + | |
| + | |||
| + | shares problems can be solved by the method of " | ||
| - Run regedit. | - Run regedit. | ||
| - Navigate to the following key: | - Navigate to the following key: | ||
| - | < | + | |
| + | < | ||
| + | HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLanmanServerParameters | ||
| + | </ | ||
| - In the right pane, double-click the IRPStackSize value. | - In the right pane, double-click the IRPStackSize value. | ||
| - | NOTE: If the IRPStackSize value does not already exist, use the following procedure to create it: | + | |
| - | | + | NOTE: If the IRPStackSize value does not already exist, use the following procedure to create it: |
| - | | + | |
| - | | + | < |
| - | | + | a. In the Parameters folder of the registry, right-click the right pane. |
| - | - Change the Base to decimal. | + | |
| - | - In the Value Data box, type a value that is larger than the value that is listed. | + | |
| + | | ||
| + | - Change the Base to decimal. | ||
| + | - In the Value Data box, type a value that is larger than the value that is listed. | ||
| + | </ | ||
| If you created the IRPStackSize value using the procedure described in step 4, the default value is 15. It is recommended that you increase the value by 3. Therefore, if the previous value was 11, type 14, and then click OK. | If you created the IRPStackSize value using the procedure described in step 4, the default value is 15. It is recommended that you increase the value by 3. Therefore, if the previous value was 11, type 14, and then click OK. | ||
| + | |||
| - Close the Registry Editor and restart the computer. | - Close the Registry Editor and restart the computer. | ||
| Line 91: | Line 81: | ||
| If you are running Windows NT 4.0, and the problem persists after you complete the preceding procedure, you may have to apply Windows NT Service Pack 4 or Service Pack 5. | If you are running Windows NT 4.0, and the problem persists after you complete the preceding procedure, you may have to apply Windows NT Service Pack 4 or Service Pack 5. | ||
| - | |||
| ==== HID Input Service failed to start ==== | ==== HID Input Service failed to start ==== | ||
| + | |||
| * [[http:// | * [[http:// | ||
| + | |||
| < | < | ||
| Event Viewer: | Event Viewer: | ||
| Line 108: | Line 99: | ||
| Description: | Description: | ||
| The HID Input Service service terminated with the following error: | The HID Input Service service terminated with the following error: | ||
| - | The system cannot find the file specified. | + | The system cannot find the file specified. |
| </ | </ | ||
| + | |||
| The following could be a solution | The following could be a solution | ||
| - " | - " | ||
| - Type " | - Type " | ||
| - | - Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentC ontrolSet\Services\HidServ\Parameters | + | - Navigate to HKEY_LOCAL_MACHINESYSTEMCurrentC ontrolSetServicesHidServParameters |
| - In the right pane, right-click in the blank area and select " | - In the right pane, right-click in the blank area and select " | ||
| - Name the value " | - Name the value " | ||
| - | - Double-click the new entry and enter **" | + | - Double-click the new entry and enter **" |
| - Click OK, and close the registry window | - Click OK, and close the registry window | ||
| + | |||
| Exclamation Reboot. | Exclamation Reboot. | ||
| Line 124: | Line 117: | ||
| Using your mouse, Highlight the entire contents of the code box below, including any blank lines. Then do a Right-click | " | Using your mouse, Highlight the entire contents of the code box below, including any blank lines. Then do a Right-click | " | ||
| + | |||
| < | < | ||
| Windows Registry Editor Version 5.00 | Windows Registry Editor Version 5.00 | ||
| - | [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HidServ\Parameters] | + | [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesHidServParameters] |
| - | " | + | " |
| - | 00, | + | 00, |
| 68, | 68, | ||
| </ | </ | ||
| - | Open a new Notepad session. Click Format and make certain that Word Wrap is disabled. Do a Right-click | " | + | Open a new Notepad session. Click Format and make certain that Word Wrap is disabled. Do a Right-click | " |
| - | Exit Notepad. Double click your new file, fix_regs.reg[/ | + | Exit Notepad. Double click your new file, fix_regs.reg[/ |
| - | Reboot. | + | |
| - | + | [[http:// | |
| - | [[http:// | + | |
| - | SHUTDOWN & RESTART | + | |
| - | TROUBLESHOOTING]] | + | |
| ==== SHUTDOWN WORKS, BUT IT’S REAL SLOW ==== | ==== SHUTDOWN WORKS, BUT IT’S REAL SLOW ==== | ||
| Line 154: | Line 144: | ||
| ===== How to change Terminal Server' | ===== How to change Terminal Server' | ||
| + | |||
| [[http:// | [[http:// | ||
| - | SUMMARY | + | SUMMARY By default Terminal Server and Windows 2000 Terminal Services uses TCP port 3389 for client connections. Microsoft does not recommend that this value be changed. However, if it becomes necessary to change this port, follow these instructions. |
| - | By default Terminal Server and Windows 2000 Terminal Services uses TCP port 3389 for client connections. Microsoft does not recommend that this value be changed. However, if it becomes necessary to change this port, follow these instructions. | + | |
| + | MORE INFORMATION | ||
| - | MORE INFORMATION | + | < |
| - | WARNING: If you use Registry Editor incorrectly, | + | WARNING: If you use Registry Editor incorrectly, |
| + | </ | ||
| To change the default port for all new connections created on the Terminal Server: | To change the default port for all new connections created on the Terminal Server: | ||
| - | 1. Run Regedt32 and go to this key: | ||
| - | HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp | ||
| - | NOTE: The above registry key is one path; it has been wrapped for readability. | ||
| - | 2. Find the " | + | < |
| + | 1. Run Regedt32 | ||
| + | </ | ||
| - | To change the port for a specific connection on the Terminal Server: | + | HKEY_LOCAL_MACHINESystemCurrentControlSetControlTerminal ServerWinStationsRDP-Tcp |
| - | • Run Regedt32 and go to this key: | + | |
| - | HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\connection | + | |
| - | NOTE: The above registry key is one path; it has been wrapped for readability. | + | |
| - | 3. Find the " | + | |
| - | | + | < |
| + | 2. Find the " | ||
| + | </ | ||
| + | |||
| + | To change the port for a specific connection on the Terminal Server: • Run Regedt32 and go to this key: HKEY_LOCAL_MACHINESystemCurrentControlSetControlTerminal ServerWinStationsconnection NOTE: The above registry key is one path; it has been wrapped for readability. | ||
| + | |||
| + | < | ||
| + | 3. Find the " | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | NOTE: Because the use of alternate ports has not been fully implemented for Terminal Server 4.0, support will be provided as " | ||
| + | </ | ||
| To Alter the Port on the Client Side | To Alter the Port on the Client Side | ||
| - | | + | |
| - | 2. On the File menu, click New Connection, and then create the new connection. After running the wizard, you should have a new connection listed there. | + | < |
| - | 3. Making sure that the new connection is highlighted, | + | 1. Open Client Connection Manager. |
| - | 4. Edit the .cns file using Notepad changing " | + | 2. On the File menu, click New Connection, and then create the new connection. After running the wizard, you should have a new connection listed there. |
| - | 5. Now import the file back into Client Connection Manager. You may be prompted to overwrite the current one, if it has the same name. Go ahead and overwrite it. You now have a client that has the correct port settings to match your change Terminal Server settings. | + | 3. Making sure that the new connection is highlighted, |
| + | 4. Edit the .cns file using Notepad changing " | ||
| + | 5. Now import the file back into Client Connection Manager. You may be prompted to overwrite the current one, if it has the same name. Go ahead and overwrite it. You now have a client that has the correct port settings to match your change Terminal Server settings. | ||
| + | </ | ||
| ===== Supprimer le dossier de partage du poste de travail ===== | ===== Supprimer le dossier de partage du poste de travail ===== | ||
| - | [[http:// | ||
| - | A l' | ||
| - | Pour ceux qui n' | ||
| - | Supprimer le dossier de partage | ||
| - | * Faites Démarrer => Exécuter et tapez regsvr32 -u " | + | [[http:// |
| - | * Si cela ne fonctionne pas, allez voir dans le répertoire d' | + | |
| - | o Même opération : Démarrer => Exécuter | + | |
| + | * Faites Démarrer ⇒ Exécuter et tapez regsvr32 -u " | ||
| + | * Si cela ne fonctionne pas, allez voir dans le répertoire d' | ||
| - | Le dossier a disparu ! | + | o Même opération : Démarrer ⇒ Exécuter et tapez regsvr32 -u " |
| - | Rétablir | + | |
| - | * Faites Démarrer => Exécuter et tapez regsvr32 -c " | + | Le dossier a disparu ! Rétablir |
| + | * Faites Démarrer ⇒ Exécuter et tapez regsvr32 -c " | ||
| Le dossier réapparait alors dans le poste de travail. | Le dossier réapparait alors dans le poste de travail. | ||
| ===== L' | ===== L' | ||
| + | |||
| [[http:// | [[http:// | ||
| - | Astuce performances système : **L' | + | Astuce performances système : **L' |
| - | Notre cher Windows gère l’explorateur, | + | |
| Attention tout de même, la création d’un nouveau processus gérant l’explorateur consomme plus de mémoire. Astuce à éviter si votre RAM est insuffisante. | Attention tout de même, la création d’un nouveau processus gérant l’explorateur consomme plus de mémoire. Astuce à éviter si votre RAM est insuffisante. | ||
| - | | + | < |
| - | Allez dans HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer | + | |
| - | Créez la valeur DWORD DesktopProcess et donnez lui la valeur 1. 0 est la valeur par défaut (les processus ne sont pas séparés). | + | Allez dans HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorer |
| + | Créez la valeur DWORD DesktopProcess et donnez lui la valeur 1. 0 est la valeur par défaut (les processus ne sont pas séparés). | ||
| + | </ | ||
| ---- | ---- | ||
| ===== Windows XP soudainement lent ! ===== | ===== Windows XP soudainement lent ! ===== | ||
| + | |||
| [[http:// | [[http:// | ||
| - | Astuce performances système : **Windows XP soudainement lent !** | + | Astuce performances système : **Windows XP soudainement lent !** Il peut arriver que Windows devienne lent alors qu’il fonctionnait très bien auparavant. Avant de vouloir réinstaller votre OS, essayez d’appliquer cette astuce ! |
| - | Il peut arriver que Windows devienne lent alors qu’il fonctionnait très bien auparavant. Avant de vouloir réinstaller votre OS, essayez d’appliquer cette astuce ! | + | |
| Attention ! L’utilisation de cette astuce peut dans certains cas créer un plantage complet de la machine ! A utiliser donc en dernier recours avant de passer par un reformatage ! | Attention ! L’utilisation de cette astuce peut dans certains cas créer un plantage complet de la machine ! A utiliser donc en dernier recours avant de passer par un reformatage ! | ||
| Line 230: | Line 230: | ||
| Pour cela, vous devez effectuer la manipulation suivante : | Pour cela, vous devez effectuer la manipulation suivante : | ||
| - | Faire un clic droit sur le Poste de Travail, allez dans Propriétés, | + | Faire un clic droit sur le Poste de Travail, allez dans Propriétés, |
| - | Redémarrer ensuite votre machine. | + | |
| Ainsi, Windows reconnaîtra à nouveau l’IDE principal en Ultra DMA et non plus en PIO, votre PC retrouvera alors sa vitesse d’exécution d’origine ! | Ainsi, Windows reconnaîtra à nouveau l’IDE principal en Ultra DMA et non plus en PIO, votre PC retrouvera alors sa vitesse d’exécution d’origine ! | ||
| ---- | ---- | ||
| - | |||
| ===== Démarrer XP plus vite ===== | ===== Démarrer XP plus vite ===== | ||
| Line 248: | Line 246: | ||
| Cette astuce, pourtant assez connue, peut-être mal utilisée. En effet, nombreuses sont les personnes qui préfèrent activer la défragmentation du boot. Pourtant, si vous utilisez régulièrement un défragmenteur, | Cette astuce, pourtant assez connue, peut-être mal utilisée. En effet, nombreuses sont les personnes qui préfèrent activer la défragmentation du boot. Pourtant, si vous utilisez régulièrement un défragmenteur, | ||
| - | | + | < |
| - | Allez à HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction | + | |
| - | Modifiez la valeur de la clé Enable à N (Y par défaut) | + | Allez à HKEY_LOCAL_MACHINESOFTWAREMicrosoftDfrgBootOptimizeFunction |
| - | Redémarrer. | + | Modifiez la valeur de la clé Enable à N (Y par défaut) |
| + | Redémarrer. | ||
| + | </ | ||
| Attention : si vous ne pratiquez pas de défragmentation régulière comme indiqué plus haut, il est conseillé de laisser Enable à Y. | Attention : si vous ne pratiquez pas de défragmentation régulière comme indiqué plus haut, il est conseillé de laisser Enable à Y. | ||
| + | |||
| ---- | ---- | ||
| Line 261: | Line 261: | ||
| * [[http:// | * [[http:// | ||
| * [[http:// | * [[http:// | ||
| + | |||
kb_windows.1387335440.txt.gz · Last modified: by atl
