Saturday, August 23, 2008

How to Change the boot screen

This is a pretty common question on the newsgroups, and also came up on e-mail this morning - how do you change the Windows XP Embedded boot screen/logo ?

From Sysinternals.com - modify your boot.ini as follows.
/BOOTLOGO Use this switch to have Windows XP or Windows Server 2003 display an installable splash screen instead of the standard splash screen.

First, create a 16-color (any 16 colors) 640x480 bitmap and save it in the Windows directory with the name Boot.bmp.

Then add "/bootlogo /noguiboot" to the boot.ini selection.
There are a ton of other boot.ini flags listed on the Sysinternals site.

Friday, August 15, 2008

Adding Programs To Stay On The Start Menu

Right click on any .exe file in Explorer, My Computer, Desktop and select 'Pin to Start Menu', the program is then displayed on the start menu, above the separator line. To remove it, click the file on the start menu and select 'Unpin from Start Menu'. Below you can check the before and after shots.

Wednesday, July 30, 2008

20 things you didn't know about Windows XP

It's time to delve a bit deeper and uncover some of Windows XP's secrets.

1. It boasts how long it can stay up. Whereas previous versions of Windows were coy about how long they went between boots, XP is positively proud of its stamina. Go to the Command Prompt in the Accessories menu from the All Programs start button option, and then type 'systeminfo'. The computer will produce a lot of useful info, including the uptime. If you want to keep these, type 'systeminfo > info.txt'. This creates a file called info.txt you can look at later with Notepad. (Professional Edition only).

2. You can delete files immediately, without having them move to the Recycle Bin first. Go to the Start menu, select Run... and type 'gpedit.msc'; then select User Configuration, Administrative Templates, Windows Components, Windows Explorer and find the Do not move deleted files to the Recycle Bin setting. Set it. Poking around in gpedit will reveal a great many interface and system options, but take care -- some may stop your computer behaving as you wish. (Professional Edition only).

3. You can lock your XP workstation with two clicks of the mouse. Create a new shortcut on your desktop using a right mouse click, and enter 'rundll32.exe user32.dll,LockWorkStation' in the location field. Give the shortcut a name you like. That's it -- just double click on it and your computer will be locked. And if that's not easy enough, Windows key + L will do the same.

4. XP hides some system software you might want to remove, such as Windows Messenger, but you can tickle it and make it disgorge everything. Using Notepad or Edit, edit the text file /windows/inf/sysoc.inf, search for the word 'hide' and remove it. You can then go to the Add or Remove Programs in the Control Panel, select Add/Remove Windows Components and there will be your prey, exposed and vulnerable.

5. For those skilled in the art of DOS batch files, XP has a number of interesting new commands. These include 'eventcreate' and 'eventtriggers' for creating and watching system events, 'typeperf' for monitoring performance of various subsystems, and 'schtasks' for handling scheduled tasks. As usual, typing the command name followed by /? will give a list of options -- they're all far too baroque to go into here.

6. XP has IP version 6 support -- the next generation of IP. Unfortunately this is more than your ISP has, so you can only experiment with this on your LAN. Type 'ipv6 install' into Run... (it's OK, it won't ruin your existing network setup) and then 'ipv6 /?' at the command line to find out more. If you don't know what IPv6 is, don't worry and don't bother.

7. You can at last get rid of tasks on the computer from the command line by using 'taskkill /pid' and the task number, or just 'tskill' and the process number. Find that out by typing 'tasklist', which will also tell you a lot about what's going on in your system.

8. XP will treat Zip files like folders, which is nice if you've got a fast machine. On slower machines, you can make XP leave zip files well alone by typing 'regsvr32 /u zipfldr.dll' at the command line. If you change your mind later, you can put things back as they were by typing 'regsvr32 zipfldr.dll'.

9. XP has ClearType -- Microsoft's anti-aliasing font display technology -- but doesn't have it enabled by default. It's well worth trying, especially if you were there for DOS and all those years of staring at a screen have given you the eyes of an astigmatic bat. To enable ClearType, right click on the desktop, select Properties, Appearance, Effects, select ClearType from the second drop-down menu and enable the selection. Expect best results on laptop displays. If you want to use ClearType on the Welcome login screen as well, set the registry entry HKEY_USERS/.DEFAULT/Control Panel/Desktop/FontSmoothingType to 2.

10. You can use Remote Assistance to help a friend who's using network address translation (NAT) on a home network, but not automatically. Get your pal to email you a Remote Assistance invitation and edit the file. Under the RCTICKET attribute will be a NAT IP address, like 192.168.1.10. Replace this with your chum's real IP address -- they can find this out by going to www.whatismyip.com -- and get them to make sure that they've got port 3389 open on their firewall and forwarded to the errant computer.

11. You can run a program as a different user without logging out and back in again. Right click the icon, select Run As... and enter the user name and password you want to use. This only applies for that run. The trick is particularly useful if you need to have administrative permissions to install a program, which many require. Note that you can have some fun by running programs multiple times on the same system as different users, but this can have unforeseen effects.

12. Windows XP can be very insistent about you checking for auto updates, registering a Passport, using Windows Messenger and so on. After a while, the nagging goes away, but if you feel you might slip the bonds of sanity before that point, run Regedit, go to HKEY_CURRENT_USER/Software/Microsoft/Windows/Current Version/Explorer/Advanced and create a DWORD value called EnableBalloonTips with a value of 0.

13. You can start up without needing to enter a user name or password. Select Run... from the start menu and type 'control userpasswords2', which will open the user accounts application. On the Users tab, clear the box for Users Must Enter A User Name And Password To Use This Computer, and click on OK. An Automatically Log On dialog box will appear; enter the user name and password for the account you want to use.

14. Internet Explorer 6 will automatically delete temporary files, but only if you tell it to. Start the browser, select Tools / Internet Options... and Advanced, go down to the Security area and check the box to Empty Temporary Internet Files folder when browser is closed.

15. XP comes with a free Network Activity Light, just in case you can't see the LEDs twinkle on your network card. Right click on My Network Places on the desktop, then select Properties. Right click on the description for your LAN or dial-up connection, select Properties, then check the Show icon in notification area when connected box. You'll now see a tiny network icon on the right of your task bar that glimmers nicely during network traffic.

16. The Start Menu can be leisurely when it decides to appear, but you can speed things along by changing the registry entry HKEY_CURRENT_USER/Control Panel/Desktop/MenuShowDelay from the default 400 to something a little snappier. Like 0.

17. You can rename loads of files at once in Windows Explorer. Highlight a set of files in a window, then right click on one and rename it. All the other files will be renamed to that name, with individual numbers in brackets to distinguish them. Also, in a folder you can arrange icons in alphabetised groups by View, Arrange Icon By... Show In Groups.

18. Windows Media Player will display the cover art for albums as it plays the tracks -- if it found the picture on the Internet when you copied the tracks from the CD. If it didn't, or if you have lots of pre-WMP music files, you can put your own copy of the cover art in the same directory as the tracks. Just call it folder.jpg and Windows Media Player will pick it up and display it.

19. Windows key + Break brings up the System Properties dialogue box; Windows key + D brings up the desktop; Windows key + Tab moves through the taskbar buttons.

20. The next release of Windows XP, codenamed Longhorn, is due out late next year or early 2003 and won't be much to write home about. The next big release is codenamed Blackcomb and will be out in 2003/2004.

How to set up and Use Internet Connection Sharing

With Internet Connection Sharing (ICS) in Windows XP, you can connect one computer to the Internet, then share the Internet service with several computers on your home or small office network. The Network Setup Wizard in Windows XP Professional will automatically provide all of the network settings you need to share one Internet connection with all the computers in your network. Each computer can use programs such as Internet Explorer and Outlook Express as if they were directly connected to the Internet.
You should not use this feature in an existing network with Windows 2000 Server domain controllers, DNS servers, gateways, DHCP servers, or systems configured for static IP addresses.

Enabling ICS
The ICS host computer needs two network connections. The local area network connection, automatically created by installing a network adapter, connects to the computers on your home or small office network. The other connection, using a 56k modem, ISDN, DSL, or cable modem, connects the home or small office network to the Internet. You need to ensure that ICS is enabled on the connection that has the Internet connection. By doing this, the shared connection can connect your home or small office network to the Internet, and users outside your network are not at risk of receiving inappropriate addresses from your network.
When you enable ICS, the local area network connection to the home or small office network is given a new static IP address and configuration. Consequently, TCP/IP connections established between any home or small office computer and the ICS host computer at the time of enabling ICS are lost and need to be reestablished. For example, if Internet Explorer is connecting to a Web site when Internet Connection Sharing is enabled, refresh the browser to reestablish the connection. You must configure client machines on your home or small office network so TCP/IP on the local area connection obtains an IP address automatically. Home or small office network users must also configure Internet options for Internet Connection Sharing. To enable Internet Connection Sharing (ICS) Discovery and Control on Windows 98, Windows 98 Second Edition, and Windows Millennium Edition computers, run the Network Setup Wizard from the CD or floppy disk on these computers. For ICS Discovery and Control to work on Windows 98, Windows 98 Second Edition, and Windows Millennium Edition computers, Internet Explorer version 5.0 or later must be installed.

To enable Internet Connection Sharing on a network connection
You must be logged on to your computer with an owner account in order to complete this procedure.
Open Network Connections. (Click Start, click Control Panel, and then double–click Network Connections.)

Click the dial–up, local area network, PPPoE, or VPN connection you want to share, and then, under Network Tasks, click Change settings of this connection.

On the Advanced tab, select the Allow other network users to connect through this computer's Internet connection check box.
If you want this connection to dial automatically when another computer on your home or small office network attempts to access external resources, select the Establish a dial–up connection whenever a computer on my network attempts to access the Internet check box.

If you want other network users to enable or disable the shared Internet connection, select the Allow other network users to control or disable the shared Internet connection check box.

Under Internet Connection Sharing, in Home networking connection, select any adapter that connects the computer sharing its Internet connection to the other computers on your network. The Home networking connection is only present when two or more network adapters are installed on the computer.


To configure Internet options on your client computers for Internet Connection Sharing

Open Internet Explorer. Click Start, point to All Programs, and then click Internet Explorer.)

On the Tools menu, click Internet Options.

On the Connections tab, click Never dial a connection, and then click LAN Settings.

In Automatic configuration, clear the Automatically detect settings and Use automatic configuration script check boxes.

In Proxy Server, clear the Use a proxy server check box.

How to Convert a FAT Partition to NTFS

To convert a FAT partition to NTFS, perform the following steps.

1. Click Start, click Programs, and then click Command Prompt.

2. In Windows XP, click Start, and then click Run.

3. At the command prompt, type CONVERT [driveletter]: /FS:NTFS.

4. Convert.exe will attempt to convert the partition to NTFS.

NOTE: Although the chance of corruption or data loss during the conversion from FAT to NTFS is minimal, it is best to perform a full backup of the data on the drive that it is to be converted prior to executing the convert command. It is also recommended to verify the integrity of the backup before proceeding, as well as to run RDISK and update the emergency repair disk (ERD).

Convert.exe will attempt to convert the partition to NTFS.
This is a faster method, bt if you're not very good at command prompt, you can:
1. simply go to desktop, right click "my computer"
2. go to manage and then disk management
3. find the drive that you want to convert
4. right click on that drive and choose format
5. DONE!

Sunday, July 27, 2008

Toys for Windows

Power Toys for Windows appear in windows95.
It's a Toys that in Microsoft websites it stated:

"Note: We take great care to ensure that PowerToys work as they should, but they are not part of Windows and are not supported by Microsoft. For this reason, Microsoft Technical Support is unable to answer questions about PowerToys. PowerToys are for Windows XP only and will not work with Windows Vista."

Although Microsoft do not take the resposiblily for the errors by the settings but most of the settings are simple and do not modify the system files. By using the "Toys", you can change the icons for my computer, my documents...

Here the topics in the program:


  • Color Control Panel Applet

  • SyncToy

  • RAW Image Thumbnailer and Viewer

  • ClearType Tuner

  • HTML Slide Show Wizard

  • Open Command Window Here

  • Alt-Tab Replacement

  • Tweak UI

  • Power Calculator

  • Image Resizer

  • CD Slide Show Generator

  • Virtual Desktop Manager

  • Taskbar Magnifier

  • Webcam Timershot



For more information and download of the toys, please visit Microsoft webpage:
http://www.microsoft.com/windowsxp/Downloads/powertoys/Xppowertoys.mspx

Thursday, July 24, 2008

Windows 2k/XP Tweaks

General Windows 2000/2003 Server/XP Tweaks and tips.


This article provides some general tweaking information relevant to Windows XP, Windows 2000 and Windows 2003 Server. If you're looking for broadband-specific information, please visit the broadband section of the site.


Turn off Indexing Service


Indexing Service creates indexes of the contents and properties of all files on local and network drives in order to increase file searching speed. It's quite similar to "Find Fast" that ships with Microsoft Office. Indexing Service runs continuously and can slow down your PC's general performance because it has to index files continuously. If you don't need slightly faster file searches, the feature can be safely turned off. Note: Indexing Service is turned on by default for all NTFS partitions.


Turning this service off to increase overall performance: Open My Computer -> right-click on a Drive icon -> Select Properties -> Remove the checkmark from "Allow Indexing Service to index this disk for fast file searching" -> Click Apply. Make sure to select "Apply changes to :\, subfolders and files."  before clicking OK in the new window.


Alternatively, you can navigate to: Control Panel -> Administrative Tools -> Services -> Disable Indexing Services.


Disable Paging Of Core Files


You can improve Core System Performance in Windows NT/2k/2k3 on systems with large amount of RAM, by forcing the core Windows system files to be kept in memory and not paged to disk.


To appply this tweak, open the Registry and edit the value in the key below.


HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management


To enable: DisablePagingExecutive=dword:00000001   (Data Type: REG_DWORD, set to 1 to enable tweak and stop core processes from being paged to disk)
To disable: DisablePagingExecutive=dword:00000000   (Data Type: REG_DWORD, set to 0 to disable tweak, this is the Windows default setting)


Note: In Windows 2000, there is a bug with enabling this tweak, you might need to update to the latest Service Pack, or install the hotfix described by MS here: MS KB Article 32605


Disable unnecessary Services


Services are programs that start with Windows and continuously run in the background, helping the OS with different functionality. Not all services that load by default are needed, you can disable some to free some resources and speed up your system in general. You should go through the list and read the descriptions to decide which services you need depending on what you use your computer for...  You can always turn the service back on if and when you find need for it. Here is the procedure to turn off a service:


1.  Navigate to: Start -> Programs -> Administrative Tools -> Services.
Alternatively, you can do START -> Run ->  and type services.msc


2. Left-click on a service and read its' description carefully. Turning off services disables some particular functionality of the OS, so make sure you want to turn the particular service off.


3. To disable, Right-click -> Properties -> Change the "Startup Type" to "Manual" and Stop the service. Next time you reboot that particular service won't start.


Some Sample Services that can safely be turned off in most Home PCs:


Automatic Updates
Computer Browser
Error Reporting Service
Help and Support
Indexing Service
Messenger (pop-up spam vulnerability)
NetMeeting Remote Desktop Sharing
Performance Logs and Alerts
Protected storage (stores passwords and enables ato-complete)
Remote Registry (remote access to your registry)
Routing and Remote Access (enables dial-in routing to your computer)
Secondary Logon
Task Scheduler
...


Notes:
To disable services, just stop them, and set them to "Manual". Check the Event Log for errors after rebooting.
For additional information on all services, and what they do, check: http://www.blkviper.com/WinXP/service411.htm


Temporary Administrative Permissions


Many programs require administrative rights to be able to install. Here is an easy way to temporarily assign yourself Administrative permissions while you remain logged in as a normal user:


1. Hold down the Shift key (might not be necessary on Win2k3) and right-click on the program, or the setup file.
2. Click "Run as"
3. Type in a username and password that have Administrative permissions.

Note: This will also work for applications in the Start menu.


Optimize the Pagefile


If you have more than one hard drive, it is a good idea to put your pagefile on the non-windows drives. Also, it is not a bad idea to set the pagefile to a constant size (1 to 2 times the available RAM), so it wont get fragmented.


Right-click on My Computer -> select Properties -> the Advanced tab -> Performance, Settings button ->  Advanced tab, Virtual memory, Change button -> choose the drives and size available for pagefile(s).


I usually use a non-windows drive, and same Initial/Maximum size to avoid fragmentation of the pagefile. Another method to avoid fragmentation is to clear the pagefile on shutdown, by changing the following Registry setting:


HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\
"ClearPageFileAtShutdown=1"
  (1 clears the pagefile at shutdown, 0 is the Windows default).


Related Resources:
MSKB 314834 (Windows XP)
MSKB 182086 (Windows 2000)


Fix Windows Explorer Slowdowns


Sometimes Windows Explorer can slow down to a crawl, here are a couple of tips to reclaim your resources:


1. Possible WIA and USB device issues, here is the solution: http://support.microsoft.com/default.aspx?scid=kb;en-us;819017


2. Media files causing slowdowns, such as large number, and/or corrupt AVI files. Any Explorer operaion can lead to very high CPU usage and a seeming lockup of your computer. To resolve the issue:
Start > Run > type: Regedit
Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{87D62D94-71B3-4b9a-9489-5FE6850DC73E}
And delete this key:
InProcServer32
Then unload the dynamic library with the following:
Start > Run > type: regsvr32 /u shmedia.dll


If you're running XP, you might also want to check this: http://support.microsoft.com/default.aspx?scid=kb;en-us;822430


3. Reduce Shell Overhead: http://support.microsoft.com/default.aspx?scid=kb;en-us;819101


4. Apply the LAN browsing tweak if you're on a network (and not using Netware):
Start > Run > type: Regedit
Navigate to:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Current Version\Explorer\RemoteComputer\NameSpace
Delete this key:
{D6277990-4C6A-11CF-8D87-00AA0060F5BF}
 


Improve NTFS Performance


You can improve NTFS performance by stopping it from generating timestamps every time directories are accessed, and if you're feeling a bit more adventurous, by preventing NTFS from generating MS-DOS compatible filenames for all files with long filenames. Here are the two registry keys that you can modify:


HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\FileSystem
"NtfsDisableLastAccessUpdate"=dword:00000001
"NtfsDisable8dot3NameCreation"=dword:00000001


Note: Applying the second line above (disabling truncated filename creation) might cause problems with some 16-bit applications. To resolve this, simply set the number back to "0"


Unload DLLs of Closed Applications


Windows does not always unload DLLS (Dynamic Link Libraries) used by programs from memory, even after the applications are closed. This default behavior causes more memory to be reserved for unused DLLs over time.  This tweak sets Windows to automatically unload DLLs for closed applications from RAM, which speeds up GUI operation by freeing unused memory and returning it to the system.


To fix this and unload unnecessary DLLs, navigate to:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\AlwaysUnloadDLL
and set the "Default" string to "1"


If the "AlwaysUnloadDLL" subkey does not exist, create it. To reverse the change, simply delete "AllwaysUnloadDLL". Alternatively, you can use the following registry files to apply/undo this tweak:
  sg_unload_dll.reg
  undo_sg_unload_dll.reg


Note: This tweak also works with Windows 9x. It is possible that unloading DLLs might cause some issues with some old 16-bit applications.