User Tools

Site Tools


kb

This is an old revision of the document!


**__Dokuwiki FAQ__**

**__Apache SSL Win32__**

To install, follow these steps:

  1. Download apache_2.2.4-win32-x86-no_ssl.msi:
    wget http://www.apache.org/dist/httpd/binaries/win32/apache_2.2.4-win32-x86-no_ssl.msi
  2. Install Apache:
    msiexec /i apache_2.2.4-win32-x86-no_ssl.msi
  3. Stop Apache:
    net stop Apache2
  4. Uninstall the Apache service:
    "C:\Program Files\Apache Group\Apache2\bin\httpd" -k uninstall
  5. Kill the ApacheMonitor:
    taskkill /im apachemonitor.exe
  6. Download apache-2.2.4_openssl-0.9.8e.zip.
  7. Unzip into the directory you installed Apache in:
    unzip -o -d "c:/Program Files/Apache Group" apache-2.2.4_openssl-0.9.8e.zip
  8. If you are using Cygwin's unzip, and are using NTFS, grant the SYSTEM user full rights to the Apache2 directory, as unzip may have removed them:
    cacls "C:\Program Files\Apache Group\Apache2" /E /G SYSTEM:F /T
  9. Install Apache as a service with SSL support:
    "C:\Program Files\Apache Group\Apache2\bin\htttd" -D SSL -k install
  10. And finally, start Apache:
    net start Apache2

To verify it's working, browse to https://127.0.0.1/. Since this is a self signed certificate, you will receive a message about an unknown certificate authority. Simply click 'Ok' and you should see Apache's standard welcome page.

Note: The .so files are actually Win32 DLL executables, they just have the standard Linux file extension.

  • Running Apache as a Service - httpd -k install -n “MyServiceName” -f “c:\files\my.conf” ; httpd -k uninstall -n “MyServiceName” ; httpd -n “MyServiceName” -t ; httpd -k start|stop|shutdown|restart
    RewriteEngine On
    RewriteCond  %{SERVER_PORT} !^443$
    RewriteRule ^(.*)$ https://www.domain.de/folder/$1 [L,R]

**__Windows 7__**

**__Windows Vista__**

**__Windows XP__**

WINDOWS XP SHUTDOWN & RESTART TROUBLESHOOTING

Shares Access Denied & IRPStackSize

shares problems can be solved by the method of “increase the IRPStackSize value in the registry” if your event viewer mentions it!

  1. Run regedit.
  2. Navigate to the following key:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters
  1. 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:

   a. In the Parameters folder of the registry, right-click the right pane.
   b. Point to New, and then click DWord Value.
   c. Type IRPStackSize.
   IMPORTANT: Type "IRPStackSize" exactly as it is displayed because the value name is case-sensitive.
- 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.

  1. Close the Registry Editor and restart the computer.

If the problem persists after you complete the preceding procedure, try to increase the value of IRPStackSize even more. The maximum value for Windows 2000 is 50 (0x32 hex).

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

Event Viewer:

Event Type: Error
Event Source: Service Control Manager
Event Category: None
Event ID: 7023
Date: 22/12/2007
Time: 1:25:00 PM
User: N/A
Computer: WDGC
Description:
The HID Input Service service terminated with the following error:
The system cannot find the file specified. 

The following could be a solution

  1. “Start”, then “Run”
  2. Type “regedit” without the quotes, click “OK”
  3. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentC­ ontrolSet\Services\HidServ\Paramet­ers
  4. In the right pane, right-click in the blank area and select “New” and “Expandable String Value”
  5. Name the value “ServiceDll” without the quotes. Note: it is spelled S E R V I C E D L L but you enter it exactly as shown between the quotation marks.
  6. Double-click the new entry and enter “%SystemRoot%\System32\hidserv.dll­” without quotes as its value
  7. Click OK, and close the registry window

Exclamation Reboot.

If you are reluctant to make manual registry edits, the following will make the registry change for you:

Using your mouse, Highlight the entire contents of the code box below, including any blank lines. Then do a Right-click | “Copy”:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HidServ\Parameters]
"ServiceDll"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
  00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
  68,00,69,00,64,00,73,00,65,00,72,00,76,00,2e,00,64,00,6c,00,6c,00,00,00

Open a new Notepad session. Click Format and make certain that Word Wrap is disabled. Do a Right-click | “Paste” of the code box contents. Click File, click “Save as…” and enter as the filename (including quotation marks): “c:\fix_regs.reg”.

Exit Notepad. Double click your new file, fix_regs.reg[/b] and agree to the registry merge when asked. Reboot.

WINDOWS XP SHUTDOWN & RESTART TROUBLESHOOTING

SHUTDOWN WORKS, BUT IT’S REAL SLOW

  1. If it appears that Win XP is not shutting down, give it some time. Some users report a minute or longer for shutdown to visibly start. Generally, this is a consequence of software that is running when shutdown is attempted. It also may have something to do with particular hardware. If you experience this problem, be sure to close all running programs before attempting shutdown and see if this solves your problem. If so, then you can determine, by trial and error, which program(s) are involved.
  2. Newsgroup correspondent “Sarah” provided one specific solution for this. In Control Panel | Administrative Tools | Services, stop the Nvidia Driver Helper service. (You can also get this by launching SERVICES.MSC from a Run box.) Many other newsgroup participants quickly confirmed that this solved this “extremely slow shutdown” problem for them (it’s the most successful solution for this problem to date). According to correspondent Gan Ming Teik, downloading and installing the new version 23.11 Nvidia driver also solves this problem.
  3. Correspondent Ron Spruell found that disabling the Terminal Services service reduced his shutdown time from over 2 minutes (hanging at the “Windows is shutting down” screen) to about 10 seconds. To disable Terminal Services, follow the steps in the prior paragraph for launching SERVICES.MSC. Please note that Terminal Services is required in Windows XP for running Remote Assistance, Fast User Switching, and (in XP Pro) Remote Desktop.
  4. Correspondent Graeme J.W. Smith reported a more obscure cause of slow shutdown: In Win XP Professional, the Group Policy Editor has a security option to clear the pagefile at system shutdown. The same setting also forces the hibernation file to be wiped at shutdown. These processes take long enough that users may think that shutdown has hung. To change the setting, click Start | Run, type GPEDIT.MSC, click OK. Drill down to Computer Configuration | Windows Settings | Security Settings | Local Policies | Security Options. In the right pane, find “Shutdown: Clear virtual memory pagefile.” NOTE: Since someone actually has to have set this policy, the problem will be pretty rare, but is worth mentioning. However, Forum participant “roadrunner” reported that the personal security app Privacy Eraser automatically enables “Clear virtual memory pagefile,” and, therefore, may be the cause of a slow shutdown.
  5. The Gear Software Security Service (GEARSEC.EXE), which enables iTunes for Windows to read and burn CDs, has been reported by many users to cause Windows XP to hang at the “Windows is shutting down” screen for as long as 20-30 seconds. WORK-AROUND: Stop the service prior to shutdown. One way to to this (suggested by “Thornburgh”) is to create a batch file with the one line net stop gearsecurity. You can either launch this batch file manually, or (in Win XP Professional) use GPEDIT.MSC) to specify this batch file as the shutdown script (under Computer Configuration | Windows Settings | Scripts | Shutdown). Gear Software’s forum has a thread on this issue here. (Tip from correspondent “Andy”)
  6. MS-MVP Gary Thorn discovered that the Event Log can slow down Win XP shutdown. Disabling event logging removed the slowdown. If this works for you, then the real troubleshooting begins: finding out, by trial and error, what item that is being logged is causing the actual slowdown. (In Gary’s case, the Telephony service was causing the problem.) To disable the Event Log, launch the Services console as detailed in No. 2 above, and disable Event Log (right-click on Event Log, click Properties, under Startup Type select “Disabled”).
  7. In a domain environment, don’t forget to check any logoff scripts you are pushing. These can be a source of slow or hanging shutdown processes. Site visitor Tony Barkdull, for example, found that an enforced logoff script caused show shutdown for laptops that were off-site. He solved it be creating a logoff script on the local machines that deletes the Active Directory logoff group policy after it runs so that the logoff scripts are absent while a user is off-site, but are repopulated when they return. — A related cause of slow shutdowns is offline synchronization of data, which is increasingly common with mobile computing, but is usually much more obvious to the end-user.

How to change Terminal Server's listening port

How to change Terminal Server's listening port

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.

MORE INFORMATION

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

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 "PortNumber" subkey and notice the value of 00000D3D, hex for (3389). Modify the port number in Hex and save the new value.

To change the port for a specific connection on the Terminal Server: • 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 "PortNumber" subkey and notice the value of 00000D3D, hex for (3389). Modify the port number in Hex and save the new value.
NOTE: Because the use of alternate ports has not been fully implemented for Terminal Server 4.0, support will be provided as "reasonable effort" only, and Microsoft may require you to set the port back to 3389, if any problems occur.

To Alter the Port on the Client Side

1.	Open Client Connection Manager.
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, on the File menu, click Export. Save it as name.cns.
4.	Edit the .cns file using Notepad changing "Server Port=3389" to "Server Port=xxxx" where xxxx is the new port that you specified on Terminal Server.
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 A l'installation de Windows Live Messenger, un “dossier de partage” est créé dans le poste de travail, ce qui permet de partager plusieurs documents avec certains contacts. Pour ceux qui n'utilisent pas cette fonction et qui veulent supprimer cet élément du poste de travail, voici la marche à suivre. Supprimer le dossier de partage

  • Faites Démarrer ⇒ Exécuter et tapez regsvr32 -u “%ProgramFiles%\MSN Messenger\fsshext.dll”
  • Si cela ne fonctionne pas, allez voir dans le répertoire d'installation de Windows Live Messenger et relevez le nom du fichier de la forme “fsshext.8.x.xxxx.xx.dll”.

o Même opération : Démarrer ⇒ Exécuter et tapez regsvr32 -u “%ProgramFiles%\MSN Messenger\fsshext.8.x.xxxx.xx.dll” (en remplaçant par le nom du fichier que vous avez relevé).

Le dossier a disparu ! Rétablir le dossier de partage

  • Faites Démarrer ⇒ Exécuter et tapez regsvr32 -c “%ProgramFiles%\MSN Messenger\fsshext.8.x.xxxx.xx.dll” (en remplaçant par le nom du fichier que vous avez relevé, voir ci-dessus).

Le dossier réapparait alors dans le poste de travail.

L'explorateur plus stable !

L'explorateur plus stable !

Astuce performances système : L'explorateur plus stable ! Notre cher Windows gère l’explorateur, le bureau et la barre des tâches au sein d’un seul processus multithreads. Lorsque l’explorateur se fige, c’est alors l’ensemble de la machine qui trinque. Cette astuce permet de lancer l’explorateur au sein d’un autre processus, le bureau et la barre des tâches étant gérés eux via un second processus. Cela permet une plus grande stabilité de la machine, le plantage de l’explorateur ne figeant pas la totalité de l’OS.

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.

  Ouvrir regedit
  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).

Windows XP soudainement lent !

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 !

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 !

Suite à plusieurs erreurs d'écritures sur le disque sous XP, il se peut qu'au redémarrage suivant, Windows reconnaisse l'IDE principal en mode PIO (au lieu Ultra DMA). Il faut alors désinstaller le pilote dans le gestionnaire de périphérique et redémarrer la machine.

Pour cela, vous devez effectuer la manipulation suivante :

Faire un clic droit sur le Poste de Travail, allez dans Propriétés, Matériel, Gestionnaire de périphériques, Contrôleurs ATA/ATAPI IDE. Faire ensuite un clic droit sur Canal IDE Principal et choisissez Désinstaller. 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 !


Démarrer XP plus vite

cf. Démarrer XP plus vite

Astuce performances système : Démarrer XP plus vite !

Par défaut, XP défragmente les fichiers du boot (utilisés lors du démarrage). Cela permet théoriquement un démarrage plus rapide. Pourtant, si vous avez recours à une défragmentation régulière de vos disques, on se rend compte que cette défragmentation vous fait perdre de précieuses secondes à chaque démarrage.

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, la défragmentation du boot ralentie alors le démarrage (elle est inutile). La désactivation de cette défragmentation va donc accélérer le démarrage de Windows XP.

  Ouvrez regedit (menu Démarrer, Exécuter... et taper regedit)
  Allez à HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction
  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.


**__Firefox__**

  • Show Close Tab Button On All Tabs At All Times
    You might want to try this:
    
    Keep Tab Close "X" Buttons Visible:
    
    1. Type about:config in the Firefox address bar. Hit Enter.
    2. Go to "browser.tabs.tabClipWidth" in the list.
    3. Right click, select "Modify", change to desired setting number.
    4. Change setting to 1, default is 140.
    
    Adjust Tab Width:
    
    1. Type about:config in the Firefox address bar. Hit Enter.
    2. Go to "browser.tabs.tabMinWidth" in the list.
    3. Right click, select "Modify", change to desired setting number.
    4. Recommend setting of 0, default is 100.

**__Thunderbird__**

**__GOM Player__**

F5-Filter-“Use Windows Media source filter” : Windows Media source filter has better compatibility.

kb.1270949224.txt.gz · Last modified: by atl