Alyda ?

The domain name www.alyda.nl is active since December 2004.
 
Home arrow Tips and Tricks arrow Windows OS Tips and Tricks
Windows OS Tips and Tricks

  1. Manage the programs run at Windows startup
  2. Speed up booting with hibernate option
  3. Finding out which services are used
  4. How to disable automatic startup of Live Messenger
  5. How to remote shutdown/restart
  6. How to change the default Remote Desktop Protocol port number
  7. Match TCP connections with processes
  8. How to block internet sites
  9. Local stored CHM files will not open
  10. How to open unknown file extensions with Notepad
  11. How to unload DLL's from memory
  12. How to place XP kernel into memory
  13. Disable AutoComplete IE6.0
  14. How to prevent Windows to use the Webdav redirector when mapping drives
  15. How to change the Product-key
  16. Disable programs during startup
  17. Disable the "clean desktop" warning
  18. Deleting the $NTUninstall folders
  19. Changing time synchronisation intervals
  20. Activating registry settings without rebooting
  21. Removing sub-menus from the Start menu
  22. Systeminfo
  23. No notifications
  24. How to give an user with limit user rights administrative rights
  25. Login a user automatically
  26. Moving the My Documents location
  27. Remove textballoons
  28. Thums.db
  29. Lock XP
  30. Gedeelde mappen verwijderen
  31. Clear DNS-cache
  32. Vastlooptijd verkorten
  33. Enable or Disable programs during booting
  34. Disable boot logo
  35. Disable CD or DVD Autostart
  36. Automatically delete swap file
  37. Could not reconnect all network drives
  38. Save DNS servers
  39. Create Windows 10 system image
  40. SMB1 in Windows 10 deactiveren
  41. Enable seconds in system clock

 

Manage the programs run at Windows startup
Add a new startup application
Open your registry and find the key [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run].
For each program you want to start automatically create a new string value using a descriptive name, and set the value of the string to the program executable.
For example, to automatically start Notepad, add a new entry of "Notepad"="c:\windows\notepad.exe".

Remove a startup application
If you're trying to remove a program and can not find it in the StartUp folder (usually C:\WINDOWS\Start Menu\Programs\StartUp), then it may be launching from one of the registry keys below. To remove it, delete the value associated with the program you want to remove.

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run]
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce]
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices]
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce]
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunServices]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce]
[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows]

It may also be loaded from the [Load] or [Run] sections of your WIN.INI file, found in the Windows directory.
(Source: http://www.pctools.com/guides/registry/detail/109/)

Speed up booting with hibernate option
When using the hibernate option the current state of your computer is written to disk and restored when rebooting your computer. This speeds up booting and your computer is in the state before shutting down.
To activate the hibernate mode go to Start -> Settings -> Control Panel -> Power options. Select the tab "Hibernate" and tag "Enable hibernation". Next go to the "Advanced" tab and select Hibernate when power button pressed.

Finding out which services are used
Open a command prompt and enter the command tasklist /svc

How to disable automatic startup of Live Messenger 
Go to menu -> Tools -> Options... -> General. Under this section you can adjust the way Live Messegner starts.

How to remote shutdown/restart
Right click on My Computer and select Manage. Right click on Computer Management (Local), select Properties and go to the Advanced tab. In the Startup and recovery field click on settings. In the Startup and recovery window click on Shut Down. A dialog box opens that will give you some shutdown options (e.g., Restart, Power down). Select the option you want and click OK.

How to change the default Remote Desktop Protocol port number
Standard RDP port is 3389. With the help of the registry editor you can change the port number.
Start RegEdit and go to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp. Double click in the right window on PortNumber, select Decimal and enter another port number. Reboot.
To make a RDP connection use <computer hostname or IP-address>:<port number>.

Match TCP connections with processes
To identify which TCP connection are associated with which process use first the following command:
  netstat -aenos -p tcp
Check in the "Active connections" list which PID number is of interest. Next use the command:
  tasklist /v /fo List /fi "pid eq xxx"   where xxx is the PID number found with the previous command.

Source: Windows IT Pro, April 2007, page 70

How to block internet sites
Your childeren become internet aware and you want to make sure that they surf savely. There are several options:

- Start IE go to Tools -> Internet Options -> Content and click on Enable on the Content Advisor. Go to the Approved Sites tab and enter in the "Allow this Web site:" field the URL that must be blocked. When entered click on "Never".

- create an entry in the \windows\system32\drivers\etc\hosts file. To block i.e. Google create the following line in the hosts file: 127.0.0.1 www.google.com

- use specific programs like: www.netnanny.comwww.cybersitter.com , www.cyberpatrol.com .

Local stored CHM files will not open
There could be several reasons. Try to following:

Right click on the CHM file and go to Properties. Click on the "Unblock" button.
Cause: This file came from another computer and might be blocked to help protect this computer

Make sure the # character is not present in the file name or path.

Go to Start -> Run and enter regsvr32 itss

Go to Start -> Run and enter regsvr32 c:\windows\system32\hhctrl.ocx

How to open unknown file extensions with Notepad
Create the key HKEY_CLASSES_ROOT\*\Shell\open and change the value from Standard into Open with Notepad.
Create in this key a new key with the name command and change the value of this key from standard into notepad.exe %1.

How to unload DLL's from memory
XP remances DLL's in memory. To unload DLL's create a new key AlwaysUnloadDLL in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer and set the new variable to 1.

How to place XP kernel into memory
To enhange system performance and if you have a minimum of 1Gb of memory the XP kernel can be placed into memory.
Set HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\DisablePagingExecutive to 1.

Disable AutoComplete IE6.0
Start the IE and select Tools -> Internet Options -> Content -> AutocComplete....
Untag all AutoComplete options and clear the AutoComplete history by selecting Clear Forms and Clear Passwords.

How to prevent Windows to use the Webdav redirector when mapping drives
Windows XP has a Webdav redirector client that allow you to map a share to a http server.
By default the redirector checks to see if the share is http everytime. To turn this feature off you need to turn of the webclient service in the administrative tools. Once turned off the redirector will no longer check the http server when connecting to a share.

How to change the Product-key
1. Click Start, and then click Run.
2. In the Open box, type regedit, and then click OK.
3. In the left pane, locate and then click the following registry key:
    HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\Current Version\WPAEvents
4. In the right pane, right-click OOBETimer, and then click Modify.
5. Change at least one digit of this value to deactivate Windows.
6. Click Start, and then click Run.
7. In the Open box, type the following command, and then click OK.
    %systemroot%\system32\oobe\msoobe.exe /a
8. Click Yes, I want to telephone a customer service representative to activate Windows, and then click Next.
9. Click Change Product key.
10. Type the new product key in the New key boxes, and then click Update.

If you are returned to the previous window, click Remind me later, and then restart the computer.
11. Repeat steps 6 and 7 to verify that Windows is activated. You receive the following message:
        Windows is already activated. Click OK to exit. 
12. Click OK.
13. Install SP1 for Windows XP.

If you cannot restart Windows after you install SP1, press F8 when you restart the computer, select Last Known Good Configuration, and then repeat this procedure. 

Source: http://support.microsoft.com/default.aspx?scid=kb;EN-US;328874

Disable programs during startup
Start MSConfig  goto the tab "Startup". In this field one can enable or disable the start of programs.

Disable the "clean desktop" warning
RMC on the desktop -> properties -> select Desktop tab -> choose "Customize Desktop..." -> untag "Run Desktop Cleanup Wizard every 60 days".

Deleting the $NTUninstall folders
To save HD space the \Windows\$NTUnistall folders can be removed without any problem. However undeleting the specific update is not possible anymore.

Changing time synchronisation intervals
Go to HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\W32Time\TimeProviders\NtpClient and change the SpecialPollInterval. 604800 is the number of seconds in one week.

Activating registry settings without rebooting
Afer the change in the registry press Ctrl+Shift+Esc to start the taskmanager and kill the Explorer.exe. Next go to File -> new task and restart explorer.exe

Removing sub-menus from the Start menu
Check the following HKEY_CLASSES_ROOT registry locations and delete the entry when found:
\*\shellex\contextmenuhandlers       Files
\AllFileSystemObjects\shellex\contextmenuhandlers  Files and folders
\Folder\shellex\contextmenuhandlers      Folders
\Directory\shellex\contextmenuhandlers     File folders
\<Prgram name>\shellex\contextmenuhandlers    File shortcut
\Directory\Background\shellex\contextmenuhandlers  Desktop

Systeminfo
Enter the command "systeminfo". This command gives detailed information about the system.

No notifications (Computer!Totaal Juni 2005, page 111)
Start the Security Center (Start -> control Panel -> Security Center) and select "change the way Security Center alerts me" (left hand side). Next select which should not be allowed.

How to give an user with limit user rights administrative rights (PCM March 2005, page 67)
XPPro only!

Enter the following command:
runas /savecred /user:<youraccount> "x:\path\program" -> enter -> enter admin password.
Be carefull, also works with other programs.

Login a user automatically (PCM March 2005, page 67)
Run "control userpasswords2". A list of of accounts appaers on the tabform Users.
Remove the tag next to option "Users must use a user name and password.." -> OK.
Another dialogbox appears where you can select a user that automatically is logged on.

Moving the My Documents location (PCM March 2005, page 65)
Start the Explorer and right click on the My Documents folder -> select properties -> on the tab source select move and enter the required target folder, drive or whatever.

Remove textballoons (PCM March 2005, page 65)
Goto key \HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
Create a new DWORD and name it EnableBallonTips and give the DWORD value 0.

Thums.db (PCM March 2005, page 64)
These files can be deleted without any problem.
In order to switch them off (or on) goto the Explorer -> menu Extra -> select folder options -> open the tab Weergave -> tag don't cache miniature weergaven

Lock XP (PCM februari 2005, page 100)
Create a shortcut with the following commands:
rundll32.exe user32.dll, LockWorkStation

Gedeelde mappen verwijderen (PCM December 2004, pag.112)
Goto HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\My Computer\NameSpace\DelegateFolders.
Remove subkey {59031a47-3f72-44a7-89c5-5595fe6b30ee}

Clear DNS-cache (PCM november 2004, page 111)
Start cmd.exe and execute the following commands:
 ipconfig /displaydns     displays the DNS-cache 
 ipconfig /flushdns        empty the DNS-cache

Shorten the application hung time (PCM november 2004, page 110)
Shorten the time a hung application responces.

HKEY_USERS\DEFAULT\Control Panel\Desktop. Select the option New and create HungAppTimeout. RMB and enter under value the required responce time [ms] (!).

Enable or Disable programs during booting
Start Msconfig and goto the Services or Start tab. Select or deselect required or unwanted programs.

Disable boot logo
Start MSconfig -> select boot.ini and activate on the bottom of the file the option "noguiboot"

Disable CD or DVD Autostart
Open the register editor and goto HKEY_Local_Machine/System/ControlSet001/Services/Cdrom, double click on AutoRun and change the DWORD value into 0.

Automatically delete swap file
This option prevents fragmentation of the swap file.
Open the register editor and goto HKEY_Local_Machine/System/CurrentControlSet/Control/Session Manager/Memory Management, double click on ClearPageFileAtShutDown and change the DWORD value into 1.

Diagnostics (under construction)

Autoruns : http://www.microsoft.com/technet/sysinternals/utilities/Autoruns.mspx

Could not reconnect all netwotk drives
Start > Run > type "gpedit.msc" (without quotes) click ok.
Local Computer Policy > Computer Configuration > Administrative Templates > System > Logon > Always wait for the network at computer startup and logon set this to Enable then reboot.

Save DNS servers
Use one of the following DNS servers:
- Open DNS FamilyShield, 208.67.222.123
- Metcert, 184.169.223.35
- Norton, 198.153.192.60

Create Windows 10 system image
Go to Start Menu -> all apps -> System -> Systeem en beveiliging/Bestandsgeschiedenis/back-up van systeemkopie/Een systeemkopie maken.

SMB1 in Windows 10 deactiveren
Enter in Powershell Disable-WindowsOptionalFeature -Online -FeatureName smb1protocol

Enable seconds in system clock
Open Regedit and include DWORD ShowSecondsInSystemClock with value 1 in HKEY_CURRENT_USER\Software\Windows\CurrentVersion\Explorer\Advanced

 
© 2021 www.alyda.nl
Joomla! is Free Software released under the GNU/GPL License.