Posted in Windows XP

How can I send an email message from within a VBScript script?

If you have Microsoft IIS with SMTP installed on a server, you can use the following code to send a basic email message from within a script: Set objMessage = CreateObject(“CDO.Message”) objMessage.Subject = “Subject” objMessage.Sender = “ali@alibutt.com” objMessage.To = “you@yourself.com” objMessage.TextBody = “test mail” objMessage.Send

When you run OneNote 2003 on a Terminal Server client, the colors for menus and tabs are made of colored dots and crosshatches?

The subject appearance, often called pixilated, occurs if the client display is set for 256 colors (8-bit), because OneNote 2003 is optimized for a 16-bit color depth, or greater. NOTE: OneNote 2003 menus and tabs use gradients to shade one color into another, and gradients cannot be displayed at an 8-bit color depth. To workaround […]

Moving the Flag Status Column in Outlook 2003’s Mail Folder View

The new follow-up flags for Microsoft Office Outlook 2003 messages appear on the right side of a mail folder view, instead of on the left side with the other icons, such as the icon for attachments. Is there a way to move the Flag Status column to the left side of the mail folder view? […]

How can I configure the Windows Server 2003 Service Pack 1 (SP1) Windows Firewall from a command line?

Windows 2003 SP1 improves the Netsh command to let you specify the “firewall” argument to access the firewall configuration. Netsh lets you * configure the default state of Windows Firewall (Off, On, On with no exceptions) * configure which exceptions should be enabled, including the scope of each exception and whether exceptions are enabled on […]

How can I use group policy to prevent the screen saver from activating while I am watching a video?

To prevent this behavior, disable the Allow Screen Saver group policy at User Configuration / Administrative Templates / Windows Components / Windows Media Player / Playback. The Allow Screen Saver explain text contains: Enables a screen saver to interrupt playback. This policy displays a screen saver during playback of digital media according to the options […]

When you visit the Windows Update Web site from Windows XP, you receive ‘0x800C0002 initialization error’?

The subject behavior occurs if the Identserver Value Name informs Windows Update that the Iuident.cab file is not located on your current computer. To resolve this behavior: 1. Open a CMD.EXE window. 2. Type the following command and press Enter: REG DELETE HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdateIUControl /V Identserver /F 2. Close the CMD.EXE window.

When I connect a client to a Windows Server 2000 or later Terminal Services server, how can I tell the client to connect via a nonstandard port?

Typically, when you connect to a Windows-based terminal server, you connect to port 3389. However, if someone has changed the listening port on the terminal server (by changing the value of the HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal ServerWinStationsRDP-TcpPortNumber subkey), you need to tell the client to connect to the new port. To do so, add a colon and the […]

Windows Update hangs when you attempt to download and install updates?

This behavior can be the result incorrect DCOM settings. Windows XP 1. Open a CMD.EXE window, type dcomcnfg, and press Enter. 2. Expand Component Services. 3. Expand Computers. 4. Right-click My Computer in the right-hand pane and press Properties. 5. Select the COM Security tab. 6. Press Edit Limits under Access Permissions. 7. If the […]

How can I prevent Internet Explorer from prompting users to save User Names and Passwords?

To prevent Internet Explorer from prompting users to save User Names and Passwords, you can enable the Do not allow AutoComplete to save passwords Group Policy at User Configuration Administrative Templates Windows Components Internet Explorer. When you enable this policy, it disables the automatic completion of user names and passwords in forms on Web pages, […]

How can I use a script to determine the number of processors in a machine?

You can use a Windows Management Instrumentation (WMI) script to easily ascertain the number of processors on a machine. To do so, use these VBScript commands in a script file: Set oShell = WScript.CreateObject(“WScript.Shell”) Set oEnv = oShell.Environment(“SYSTEM”) WScript.Echo oEnv(“NUMBER_OF_PROCESSORS”)