Monday, October 09, 2006

Displaying Opened TCP/IP and UDP Ports

CurrPorts displays the list of all currently opened TCP/IP and UDP ports on your local computer. For each port in the list, information about the process that opened the port is also displayed, including the process name, full path of the process, version information of the process (product name, file description, and so on), the time that the process was created, and the user that created it.

In addition, CurrPorts allows you to close unwanted TCP connections, kill the process that opened the ports, and save the TCP/UDP ports information to HTML file , XML file, or to tab-delimited text file.

CurrPorts also automatically mark with pink color suspicious TCP/UDP ports owned by unidentified applications (Applications without version information and icons)

Link:
http://www.nirsoft.net/utils/cports.html

Personal Download
http://digitalvault.bt.com/document/collectionDetails.jsp?collectionName=69e9-10e0c1aad23-gemini01&mediaType=M

Monday, August 07, 2006

Changing the Attached Word Template

Problems with Microsoft Word templates.

If you move the document to a different computer that doesn't have the template, the attachment will be broken. If you move the template into a different directory on your computer, the attachment will probably be broken. If your template is on your server and you give the server a different name, the attachment will be broken. You can change the template attached to a document using:

In Microsoft Word 2003

  • Tools => Templates and Add-Ins...
  • Click Attach, then browse to the correct location i.e. file://Servername/Templates and then select the appropriate template.
  • Tick automatically update document styles
  • Click Ok
  • Save the document.

In Microsoft Word 2007

  • Click the Microsoft Office Button , and then click Word Options.
  • Click Add-Ins.
  • In the Manage list, select Templates, and then click Go.
  • Click the Templates tab.
  • Click the Attach button then browse to the correct location i.e. file://servername/Templates and then select the appropriate template.
  • Tick automatically update document styles
  • Click Ok
  • Save the document.

Links:

Template basics
Word 2007 beta help

Wednesday, June 21, 2006

Creating a Persistent Route

The Route command is used to manually configure the routes in the routing table.

If problems accessing websistes or external services, with a system with two network cards setup up a Persistent Route.

To display existing active routes: - in a command prompt, type

Route Print


To create the Persistent Route type:

SYNTAX:

ROUTE [-f] [-p] [command [destination] [MASK netmask] [gateway] [METRIC metric] [IF interface]

-f
Clears the routing tables of all gateway entries. If this is used in conjunction with one of the commands, the tables are cleared prior to running the command.

-p
When used with the ADD command, makes a route persistent across boots of the system. By default, routes are not preserved when the system is restarted. When used with the PRINT command, displays the list of registered persistent routes. Ignored for all other commands, which always affect the appropriate persistent routes. This option is not supported Windows'95. command

command
One of these:
PRINT Prints a route
ADD Adds a route
DELETE Deletes a route
CHANGE Modifies an existing route destination

destination
Specifies the host.

MASK
Specifies that the next parameter is the 'netmask' value.

netmask
Specifies a subnet mask value for this route entry. If not specified, it defaults to 255.255.255.255.

gateway
Specifies gateway.

interface
the interface number for the specified route.

METRIC
Specifies the metric, ie. cost for the destination.


EXAMPLE:

route add -p 192.168.1.33 MASK 255.255.255.255 134.30.254.254

Additional information:
http://www.computerhope.com/routehlp.htm#01
http://www.microsoft.com/resources/documentation/windows/xp/all
/proddocs/en-us/route.mspx?mfr=true

Thursday, June 08, 2006

Microsoft Virtual Server

Using the keyboard in a virtual machine in Virtual Server

Virtual Server 2005 provides much of the required keyboard functionality through the use of a Host key and keyboard shortcuts. By default the Host key is the right ALT key. You use the Host key in two ways:

  • If a virtual machine has captured the pointer, you can press the Host key to return control of the mouse to the host operating system.
  • You can use the Host key in combination with other keys for specific functions.

The following describes the keyboard shortcuts and the functionality that each provides.

HOST KEY+DELETE
Sends CTRL+ALT+DELETE functionality to the virtual machine operating system.
HOST KEY+C
Connects the Remote Control or VMRC to the VMRC server.
HOST KEY+A
Switches the Remote Control or VMRC to the Administrator Display.
HOST KEY+I
Displays connection information.
HOST KEY+V
Sets the virtual machine so that the guest operating system cannot be manipulated. You can only view the virtual machine window.
HOST KEY+H
Displays the control to set the Host key.
HOST KEY+ENTER
Switches the virtual machine window to full-screen display. This option is available only when you connect to a virtual machine using the VMRC client.
HOST KEY+LEFT ARROW
Switches to the previous virtual machine. This option is available only when you connect to a virtual machine using the VMRC client.
HOST KEY+RIGHT ARROW
Switches to the next virtual machine. This option is available only when you connect to a virtual machine using the VMRC client.

Special keys
Virtual Server includes menu options to send the following special keyboard shortcuts to the virtual machine:
• CTRL+ALT+DELETE
• PRINT SCREEN

Virtual Server 2005 Technical Library (TechNet) http://technet2.microsoft.com/WindowsServer/en/Library/00eb6596-14bf-4ad6-97b7-e8bcf048cd8b1033.mspx



Capture the Virtual Machine Additions Image File

The project team used the following procedure to capture the Virtual Machine Additions .iso image file to the CD/DVD drive of a virtual machine running a guest operating system.

  1. Open the Virtual Server Administration Web site.
  2. In the navigation pane, under Virtual Machines, point to Configure and then click a running virtual machine.
  3. In Configuration for the virtual machine (in the lower part of the page), click CD/DVD.
  4. Click Known image files, select VMAdditions.iso from the drop-down menu, and then click OK.
  5. On the Virtual Machine run cdrom\windows\setup.exe

Improving Virtual Server Performance - http://www.thincomputing.net/news.php?extend.1589


Switching Virtual Machines Full screen and back quickly

http://blogs.technet.com/jhoward/archive/2006/02/01/418536.aspx
So I can't admit to having written this, but I thought it was worth sharing. It's also a good example of how to use WMI to find out if a process is running, start new processes up and kill of running processes from VBScript.
Save the below as a .VBS file somewhere on your local machine. Then create a shortcut to it on your desktop and setup a keyboard quick-key access to the shortcut through the properties of the shortcut.
Assuming the virtual machine is running, you can do (assuming Z is the keystroke) type Ctrl+Alt+Z to switch between your desktop and a virtual machine. Of course, change the virtual machine name and DNS name accordingly.


strComputer = "."Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & _strComputer & "\root\cimv2")set sh = CreateObject("wscript.shell")strCmdLine = "C:\Program Files\Microsoft Virtual Server\VMRC Client\vmrc.exe"strArgs = "-fullscreen " & chr(34) & _"vmrc://localhost:5900/Contoso Client" & chr(34)
'//Determine if VMRC is running?Set colProcesses = objWMIService.ExecQuery ("SELECT * FROM Win32_Process WHERE Name = " & "'VMRC.exe'")
'//If the VMRC Process is running - Launch it, otherwise terminate it.If colProcesses.Count = 0 Thensh.Run chr(34) & strCmdLine & chr(34) & " " & strArgs,,FalseElseSet colProcessList = objWMIService.ExecQuery _("Select * from Win32_Process Where Name = 'VMRC.EXE'")For Each objProcess in colProcessListobjProcess.Terminate()NextEnd If

Monday, May 08, 2006

RealPlayer and ISA Server

Download RealPlayer - http://service.real.com/realplayer/down_in/ if the download manager does not work.

RealPlayer and ISA 2004

Create a firewall rule

Open ISA Management, go to the "Firewall Policy" node, click "Tasks" in the right frame of the screen, then choose "Create New Access Rule" which will take you through the following steps:

  • rule name: RealPlayer Rule
  • Allow rule
  • Selected Protocols option and add the RTSP protocol from under the Streaming Media category
  • From window you can choose Internal to permit requests from your internal clients
  • To window you can choose Anywhere to permit such requests to any site on the Internet
  • All Users to permit access from any user account

http://www.eggheadcafe.com/forumarchives/isaconfiguration/
http://support.microsoft.com/?kbid=288734


RealPlayer and ISA 2000


The only reliable way I found of getting the above to work (with RealPlayer 10) working with ISA in firewall mode was to do the following.
  • Install the firewall client on the workstation.
  • In ISA Server 2000
    Protocol Rule
    Set the Protocol Rule name of RealPlayer and applies to the protocols, MMS - Windows network, PNM - Realnetworks protocol (Client) and RTSP and set to Allow, set the rule to apply to a Client Set of All Clients.

    Extensions
    In Application Filters, right click HTTP Redirection Filter, in the Options tab select Send to requested Wbe Server.
  • If not set manually set the http proxy in RealPlayer preferences to the ISA server.
  • Last final section might not be required. (If required it will stop the logging of user account details)
    This final step requires you to switch off the "ask authenticated users for identification". (right click your server name under "server & arrays" -->properties-->"Outgoing web requests".
    Streaming should be reliable, although you may have issues banning users using ISA after that!

Tuesday, May 02, 2006

How to reinstall a dynamic DNS Active Directory-integrated zone

SUMMARY
This article describes how to reinstall a dynamic DNS Active Directory-integrated zone.

MORE INFORMATION
Under the following situations you may want to reinstall the dynamic DNS in a Windows 2000 Active Directory:

  • Multiple DNS errors have occurred and methods have been unsuccessful.
  • Services that depend upon DNS, such as, the File Replication service (FRS) and/or Active Directory are failing. Also, the standard troubleshooting procedures have been unable to locate the exact cause of the problem.
  • DNS had been built as a secondary DNS server or files copied from a DNS server do not support dynamic updates.
  • To create a better name space design, such as, splitting the internal and external name spaces.

You have to remove DNS and the DNS cache. Then, you must rebuild one Active Directory DNS server to set up long term stability.

The following steps can remove the defective information in Active Directory-integrated DNS:

  1. Go to the properties of the DNS zone files and change them to be a "Standard Primary".
  2. In the %Systemroot%\Winnt\System32\DNS folder, delete the text DNS Zones files.
  3. Delete the object in Active Directory Users and Computers.
  4. On the View menu, click Advanced Features, expand the System folder, click MicrosoftDNS, and then delete the zone file objects.
  5. For each Active Directory-integrated DNS server, repeat steps 1-3.
  6. In the Transmission Control Protocol/Internet Protocol (TCP/IP) properties of the first Active Directory-integrated DNS server, point it to itself. For any other DNS servers, point all of them to the first DNS server that you bring up.

    NOTE:
    Do not change the properties of any additional Active Directory-integrated DNS servers to point to themselves until you have confirmed that a full and complete zone transfer has occurred from the first Active Directory-integrated DNS server after the rebuild process.
  7. To obtain proper resolution, you must clear the Caching Resolver, which is the DNS client on the DNS server. At the command prompt, type: ipconfig /flushdns.
  8. Stop and restart DNS and the NetLogon service. Then, remove and re-add the DNS service.
    NOTE: You can use the net stop netlogon command and the net start netlogon command for the NetLogon service that registers information in DNS. Also, you can use the net stop dns and net start dns commands (to stop and start the DNS service) if DNS has not been totally removed. Or, you can stop and start the NetLogon service and the DNS service in Control Panel, in Services, or you can restart the computer.

You have completed the process to clear out a DNS server. You must complete the process for any additional DNS servers that you plan to integrate with Active Directory.

The following steps can assist you to build a strong foundation for DNS, Active Directory, and FRS:

  1. Configure all DNS servers to point to the same DNS server in the domain or forest under TCP/IP properties in DNS: Right-click My Network Places, click Local Area Connection, right-click Local Area Connection, click Properties, select the properties of TCP/IP, and then point all DNS servers to the same DNS server. Also, click the Advanced DNS tab, and then confirm that secondary DNS servers are not configured.
  2. Re-add the DNS service, or re-add the zones and configure them to be Active Directory integrated. For troubleshooting purposes, you may want to set "Allow Dynamic Updates?" to Yes. Later, you can change this setting to "Allow Only Secure Updates".
  3. Stop the DNS service and the NetLogon service by using either a command or the Computer Management snap-in.
  4. Run the ipconfig /flushdns command, and then run the ipconfig /registerdns comand. This command can help you to register your A resource record for DNS as well as your start of authority (SOA). You may want to run this command on any other servers that are critical to you.

    NOTE: The Dynamic Host Configuration Protocol (DHCP) client service needs to be running on each of these computers to register the records in Dynamic DNS. It is not relevant if the computer is a DHCP client or not. You must have this service set to "start" and the "Start up" type set to "automatic." The DHCP client service is what registers records in Dynamic DNS. (Refer to the description in the Computer Management snap-in.)
  5. Active Directory-integrated DNS is now working on your first Dynamic DNS server. You must point additional Dynamic DNS servers to the first DNS server under TCP/IP properties. You must confirm that a full and complete replication process has occurred before you change the TCP/IP properties to point to itself for any additional DNS servers.

http://support.microsoft.com/?kbid=294328

Microsoft Windows DNS

Wrong DNS Suffix after upgrade: KB 257623

How to configure DNS dynamic updates in Windows Server 2003: KB 816592

Monday, April 10, 2006

Enable Clear Type

Easy way:

Click on or cut and paste link below:
http://www.microsoft.com/typography/cleartype/
cleartypeactivate.htm?fname=%20&fsize=

or

  • Right-click on a blank area of the Desktop and choose Properties.
  • Click on the Appearance tab; click effects.
  • Check the box: Use the following method to smooth edges of screen fonts.
  • In the drop down box select: Clear Type.

Sunday, March 19, 2006

10 things you can do when Windows XP won't boot

When your computer hardware appears to power up okay, but the Windows XP operating system won't boot properly, you have to begin a troubleshooting expedition that includes getting into the operating system, determining the problem, and then fixing it. To help you get started on this expedition, here are 10 things you can do when Windows XP won't boot.

#1: Use a Windows startup disk

One of the first things you should reach for when troubleshooting a Windows XP boot problem is a Windows startup disk. This floppy disk can come in handy if the problem is being caused when either the startup record for the active partition or the files that the operating system uses to start Windows have become corrupted.

To create a Windows startup disk, insert a floppy disk into the drive of a similarly configured, working Windows XP system, launch My Computer, right-click the floppy disk icon, and select the Format command from the context menu. When you see the Format dialog box, leave all the default settings as they are and click the Start button. Once the format operation is complete, close the Format dialog box to return to My Computer, double-click the drive C icon to access the root directory, and copy the following three files to the floppy disk:
  • Boot.ini
  • NTLDR
  • Ntdetect.com


After you create the Windows startup disk, insert it into the floppy drive on the afflicted system and press [Ctrl][Alt][Delete] to reboot the computer. When you boot from the Windows startup disk, the computer will bypass the active partition and boot files on the hard disk and attempt to start Windows XP normally.

#2: Use Last Known Good Configuration

You can also try to boot the operating system with the Last Known Good Configuration feature. This feature will allow you to undo any changes that caused problems in the CurrentControlSet registry key, which defines hardware and driver settings. The Last Known Good Configuration feature replaces the contents of the CurrentControlSet registry key with a backup copy that was last used to successfully start up the operating system.

To use the Last Known Good Configuration feature, first restart the computer by pressing [Ctrl][Alt][Delete]. When you see the message Please select the operating system to start or hear the single beep, press [F8] to display the Windows Advanced Options menu. Select the Last Known Good Configuration item from the menu and press [Enter].

Keep in mind that you get only one shot with the Last Known Good Configuration feature. In other words, if it fails to revive your Windows XP on the first attempt, the backup copy is also corrupt.


#3: Use System Restore

Another tool that might be helpful when Windows XP won't boot is System Restore. System Restore runs in the background as a service and continually monitors system-critical components for changes. When it detects an impending change, System Restore immediately makes backup copies, called restore points, of these critical components before the change occurs. In addition, System Restore is configured by default to create restore points every 24 hours.

To use System Restore, first restart the computer by pressing [Ctrl][Alt][Delete]. When you see the message Please select the operating system to start or hear the single beep, press [F8] to display the Windows Advanced Options menu. Now, select the Safe Mode item from the menu and press [Enter].

Once Windows XP boots into Safe mode, click the Start button, access the All Programs Accessories System Tools menu, and select System Restore. Because you're running in Safe mode, the only option on the opening screen of the System Restore wizard is Restore My Computer To An Earlier Time, and it's selected by default, so just click Next. Then, follow along with the wizard to select a restore point and begin the restoration procedure.


#4: Use Recovery Console

When a Windows XP boot problem is severe, you'll need to use a more drastic approach. The Windows XP CD is bootable and will provide you with access to a tool called Recovery Console.

To boot from the Windows XP CD, insert it into the CD-ROM drive on the problem system and press [Ctrl][Alt][Delete] to reboot the computer. Once the system begins booting from the CD, simply follow the prompts that will allow the loading of the basic files needed to run Setup. When you see the Welcome To Setup screen, press R to start the Recovery Console.

You'll then see a Recovery Console menu. It displays the folder containing the operating system's files and prompts you to choose the operating system you want to log on to. Just press the menu number on the keyboard, and you'll be prompted to enter the Administrator's password. You'll then find yourself at the main Recovery Console prompt.

NOTE:

CHKDSK /P /R will locate bad sectors and recover readable information. (From the Recovery Console.


#5: Fix a corrupt Boot.ini

As the Windows XP operating system begins to load, the Ntldr program refers to the Boot.ini file to determine where the operating system files reside and which options to enable as the operating system continues to load. So if there's a problem rooted in the Boot.ini file, it can render Windows XP incapable of booting correctly.

If you suspect that Windows XP won't boot because Boot.ini has been corrupted, you can use the special Recovery Console version of the Bootcfg tool to fix it. Of course, you must first boot the system with the Windows XP CD and access the Recovery Console as described in #4.

To use the Bootcfg tool, from the Recovery Console command prompt, type

Bootcfg /parameter

Where /parameter is one of these required parameters:

  • /Add--Scans the disk for all Windows installations and allows you to add any new ones to the Boot.ini file.
  • /Scan--Scans the disk for all Windows installations.
  • /List--Lists each entry in the Boot.ini file.
  • /Default--Sets the default operating system as the main boot entry.
  • /Rebuild--Completely re-creates the Boot.ini file. The user must confirm each step.
  • /Redirect--Allows the boot operation to be redirected to a specific port when using the Headless Administration feature. The Redirect parameter takes two parameters of its own, [Port Baudrate ] [UseBiosSettings].
  • /Disableredirect--Disables the redirection.

#6: Fix a corrupt partition boot sector

The partition boot sector is a small section of the hard disk partition that contains information about the operating system's file system (NTFS or FAT32), as well as a very small machine language program that is crucial in assisting the operating system as it loads.

If you suspect that Windows XP won't boot because the partition boot sector has been corrupted, you can use a special Recovery Console tool called Fixboot to fix it. Start by booting the system with the Windows XP CD and accessing the Recovery Console as described in #4.

To use the Fixboot tool, from the Recovery Console command prompt, type

Fixboot [drive]:

Where [drive] is the letter of the drive to which you want to write a new partition boot sector.


#7: Fix a corrupt master boot record

The master boot record occupies the first sector on the hard disk and is responsible for initiating the Windows boot procedure. The master boot record contains the partition table for the disk as well as a small program called the master boot code, which is responsible for locating the active, or bootable, partition, in the partition table. Once this occurs, the partition boot sector takes over and begins loading Windows. If the master boot record is corrupt, the partition boot sector can't do its job and Windows won't boot.

If you suspect Windows XP won't boot because the master boot record has been corrupted, you can use the Recovery Console tool Fixmbr to fix it. First, boot the system with the Windows XP CD and access the Recovery Console as described in #4.

To use the Fixmbr tool, from the Recovery Console command prompt, type

Fixmbr [device_name]

Where [device_name] is the device pathname of the drive to which you want to write a new master boot record. For example, the device pathname format for a standard bootable drive C configuration would look like this:

\Device\HardDisk0


#9: Restore from a backup

If you can't seem to repair a Windows XP system that won't boot and you have a recent backup, you can restore the system from the backup media. The method you use to restore the system will depend on what backup utility you used, so you'll need to follow the utility's instructions on how to perform a restore operation.


#10: Perform an in-place upgrade

If you can't repair a Windows XP system that won't boot and you don't have a recent backup, you can perform an in-place upgrade. Doing so reinstalls the operating system into the same folder, just as if you were upgrading from one version of Windows to another. An in-place upgrade will usually solve most, if not all, Windows boot problems.

Performing a Windows XP in-place upgrade is pretty straightforward. To begin, insert the Windows XP CD into the drive, restart your system, and boot from the CD. Once the initial preparation is complete, you'll see the Windows XP Setup screen. Press [Enter] to launch the Windows XP Setup procedure. In a moment, you'll see the License Agreement page and will need to press [F8] to acknowledge that you agree. Setup will then search the hard disk looking for a previous installation of Windows XP. When it finds the previous installation, you'll see a second Windows XP Setup screen.

This screen will prompt you to press R to repair the selected installation or to press [Esc] to install a fresh copy of Windows XP. In this case, initiating a repair operation is synonymous with performing an in-place upgrade, so you'll need to press R. When you do so, Setup will examine the disk drives in the system. It will then begin performing the in-place upgrade.
Keep in mind that after you perform an in-place upgrade or repair installation, you must reinstall all updates to Windows.

Wednesday, March 08, 2006

User Profile Hive Cleanup Service

Brief Description
A service to help with slow log off and unreconciled profile problems.

Overview
The User Profile Hive Cleanup service helps to ensure user sessions are completely terminated when a user logs off. System processes and applications occasionally maintain connections to registry keys in the user profile after a user logs off. In those cases the user session is prevented from completely ending. This can result in problems when using Roaming User Profiles in a server environment or when using locked profiles as implemented through the Shared Computer Toolkit for Windows XP.

On Windows 2000 you can benefit from this service if the application event log shows event id 1000 where the message text indicates that the profile is not unloading and that the error is "Access is denied". On Windows XP and Windows Server 2003 either event ids 1517 and 1524 indicate the same profile unload problem.

To accomplish this the service monitors for logged off users that still have registry hives loaded. When that happens the service determines which application have handles opened to the hives and releases them. It logs the application name and what registry keys were left open. After this the system finishes unloading the profile.


http://www.microsoft.com/downloads/details.aspx?familyid=
1B286E6D-8912-4E18-B570-42470E2F3582&displaylang=en

Tuesday, March 07, 2006

How to connect to Wanadoo (Freeserve) AnyTime if you withhold your phone number

How to connect to AnyTime if you withhold your phone number

Caller Line Identification or CLID is required

Please note that if your CLID is withheld, the instructions below for overriding this will need to be applied whenever you reconfigure your computer

Ensure that your CLID is being presented by following the instructions:

If you have Windows 2000 or Windows XP
  • Double click ‘My Computer’ on your desktop
  • Double click ‘Control Panel’
  • Double click ‘Network and Dial Up Connections’
  • Right click on the Freeserve HomeTime icon
  • Click ‘Properties’
  • Remove the tick from ‘Use dialling rules’
  • Click in the ‘Phone number’ box and enter 1470, before the number
  • Click ‘OK’

Norton Internet Security Fixes

Cannot send or receive email with regular email, such as Microsoft Outlook or Outlook Express after installing Norton Internet Security http://service1.symantec.com/SUPPORT/nip.nsf/34d620401eba7
81c88256d8e0076b295/09dfad744fb5ce4965256f9b0065831a?OpenDocument&src=bar_sch_nam&seg=ag


Message: "Norton AntiVirus 2005 does not support the repair feature . . . "http://service1.symantec.com/SUPPORT/nav.nsf/docid/
2004090712504306?OpenDocument&src=hot&prod=Norton%20AntiVirus&ver=2005&csm=no&tpre
=

Error: "Your server has unexpectedly terminated the connection . . ." when sending or receiving email in Outlook or Outlook Express
http://symantec.atgnow.com/consumer/resultDisplay.do?gotoLink=743&docType=1000&contextId=2792%3A743.937&clusterName=ConsumerCluster&contentId=d60cb6d7-e033-4a6e-9012-18878c3d628c&responseId=a7a613d67668be41%3A1b1fbf4%3A108bad03ca3%3A336c&groupId=1&answerGroup=2&score=685&page=http%3A%2F%2Fservice1.symantec.com%2Fsupport%2Fnav.nsf%2Fpfdocs%2F2001060516275506&result=1&excerpt=%28Account%3A+%26lt%3Baccount+name%26gt%3B%2C+POP3+Server%3A+%26lt%3Bserver+name%26gt%3B+Error+Number%3A0x800ccc0f%26quot%3B++--+%26quot%3BXIMS%3A+Outlook+Express+POP3%2C+Error+0x800ccc0e%2C+Socket+Error+10061%26quot%3B++--+%26quot%3BThe+connection+to+the+server+has+failed.&resultType=5000#

Error: "Your email message to with the subject was unable to be sent . . ." (1003,9)http://service1.symantec.com/support/sharedtech.nsf/docid/
2004121009243713OpenDocument&seg=hho&src=_mi&
product=CC&version=103.0&language=english
&module=1003&error=9&build=Symantec

Emailing and resizing photographs from My Pictures

To send more pictures you can send the pictures as a smaller file size – not so good for printing but good enough for viewing on screen.

Here’s how to do it:

I am assuming when you transfer your pictures from your camera to your computer it saves them in the My Pictures section of My Documents.

  1. Click on “START
  2. Click on “My Pictures”, this will open a new window on your desktop, displaying all your pictures.It should include folders where you have saved your photographs.
  3. Double click the folder with the pictures you want to email, this will open the folder and display the pictures.
  4. To send one picture select the picture, by onto it clicking once, then click on the “E-Mail this file” link from the left hand side of the screen, under File and folder tasks.(To send multiple photographs in the same email, click on the first photo to select it, then hold down the CTRL key (Bottom left of the keyboard) and then click on another picture. Keep the CTRL key pressed until you have finished selecting all the photographs you want to send. To deselect a picture keep the CTRL key down and click on the picture again. With all the photos selected click on the “E-Mail the selected items” link from the left hand side of the screen, under File and folder tasks)
  5. Send Pictures via E-Mail will be displayed, Make all my pictures smaller should be selected.
  6. Click on “Show more options
  7. Select “Medium (fits in a 800 by 600 window)” for the Make my pictures this size: (This should be large enough to get the detail of the photograph, but small enough to be quicker at emailing.
  8. Click “Ok
  9. This will open a new email message, with all the photos resized and attached to the email.All that needs to be done is either type in the email address of who you want to send it to, or click the “To” button to select email addresses from your address book. (You can add multiple email address into the To section of the email address, this means the email will be sent to multiple people but only send from your computer once. If you are typing in the email addresses manually include a ; (semicolon) between the email addresses)
  10. Click the "Send" button

Reset Internet Explorer Window Location

Sometimes Internet Explorer may have problems with the location of the explorer window, possibly placing the window off the screen or only allowing you to minimize or maximize the window. This tweak should reset Internet Explorer to the default position.

Exit Internet explorer, then open your registry and find the key below.
Find the value named 'Window_Placement' and delete it, make sure you have highlighted the correct value as there is no Undo function.

Restart Internet Explorer and it should now be located in the default position.

Registry Settings

User Key: [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]Value Name: Window_PlacementData Type: REG_BINARY (Binary Value)

Sunday, March 05, 2006

Problems with Microsoft Office and Norton Internet Security

Problem

When using Internet Explorer, copying a picture to the clipboard and then trying to start Microsoft Word – Word will hang and cause the Computer to Lock up. Forcing a hardware reboot.

Resolution
Disable the Office plug-in and add the Office programs to the Firewall

Disable the Office Plug-in

  1. In Norton Internet Security
  2. Select Options, then select Norton Antivirus
  3. Under Other select Miscellaneous
    Deselect the Office Plug-in

Add the Office Programs to the Firewall

  1. In Norton Internet Security
  2. Select Personal Firewall
  3. Click Configure
  4. Click the Programs tab
  5. Click Add
    Browse to the Microsoft Program c:\Program Files\Microsoft Office\Office\Winword.exe
  6. In Program Control, select Permit
  7. Add all Microsoft Office Programs
  8. Check the All Microsoft Programs are in the list and Internet Access is set to Permit All
  9. Close Norton Internet Security

Thursday, March 02, 2006

Apache Tomcat - webpage problem

If after updating Facility MIS system or ISA server, Apache Tomcat web page is being displayed on all Internet Browser pages, this is usually due to Tomcat web server taken control of port 8080, before ISA server can use the 8080 port.

This will disable ISA server functionallity.

To change Apache Tomcat port settings, browse to the Facility\eportal\conf folder, and in notepad edit the XML file Server.xml.

Modify the section Port="8080" to Port="8085"

Restart the server.

Use a utility such as CurrPorts to display which ports are used by which application or service.
http://www.nirsoft.net/utils/cports.html

Monday, February 27, 2006

How to replace single domain controller in domain with a single domain controller?

Question
How to replace single domain controller in domain with a single domain controller?

Answer
The following article describe a guidelines to replace existing Windows 2003 Domain Controller with a new server.

The article assume the following pre-requirement settings.

  1. There no Exchange/SQL server etc. on the current Domain Controller.
  2. There only one domain, and there only one domain controller function as:DHCP/WINS/DNS/File Server/Print Server.
  3. The source server using regular (No SBS) Windows 2003 Standard or higher.

The following steps need to be taken to replace the exiting Domain Controller.

  1. Install the Windows 2003 Standard or higher on a new server.
    Tip: You will need to setup the current Domain Controller as DNS server.
  2. Promote the new server to become Domain Controller (in the same domain).
    Step-by-Step Guide to Setting Up Additional Domain Controllers
    http://www.microsoft.com/technet/prodtechnol/
    windowsserver2003/technologies/directory/activedirectory/
    stepbystep/addomcon.mspx
  3. Promote the new Domain Controller to be "Global Catalog" and reboot the server.Enable or disable a global catalog http://www.microsoft.com/technet/prodtechnol/
    windowsserver2003/library/ServerHelp/7b1c3e1c-ef32-4b8e-b4c4-e73910575f61.mspx
  4. Install DNS server on the new Domain Controller.
    How To Integrate Windows Server 2003 DNS with an Existing DNS Infrastructure in Windows Server 2003
    http://support.microsoft.com/kb/323417
    How To Install and Configure DNS Server in Windows Server 2003
    http://support.microsoft.com/default.aspx?scid=kb;en-us;814591
  5. Set the local IP of the new Domain Controller as DNS server.
  6. Option - Install WINS service on the new Domain Controller and change the Domain Controller IP settings to point on the local IP as WINS server IP.
    Tip: You can migrate the current WINS database to the new server.How to migrate a WINS Database from Windows 2000-based WINS server to a Windows 2003-based WINS server
    http://support.microsoft.com/default.aspx?scid=kb;en-us;875419
  7. Move FSMO rules to the new Domain Controller.
    How to view and transfer FSMO roles in the graphical user interface
    http://support.microsoft.com/default.aspx?scid=kb;en-us;255690
  8. Demote the original Domain Controller from using as "Global Catalog" and reboot the server.
    Enable or disable a global catalog
    http://www.microsoft.com/technet/prodtechnol/
    windowsserver2003/library/ServerHelp/
    7b1c3e1c-ef32-4b8e-b4c4-e73910575f61.mspx
  9. Demote the original Domain Controller from using as "Domain Controller".
  10. Migrate printer settings from the old server to the new one by using "Windows Print Migrator 3.1" tool.
    Microsoft Windows Server 2003 Print Migrator 3.1
    http://www.microsoft.com/WindowsServer2003/
    techinfo/overview/printmigrator3.1.mspx
  11. Migrate File Server settings from the old server to the new one by using "Microsoft File Server Migration Toolkit".
    Microsoft File Server Migration Toolkit
    http://www.microsoft.com/windowsserver2003/upgrading/
    nt4/tooldocs/msfsc.mspx
  12. Install DHCP server on the Domain Controller and migrate the DHCP settings from the old server.
    How to move a DHCP database from a computer that is running Windows NT Server 4.0, Windows 2000, or Windows Server 2003 to a computer that is running Windows Server 2003
    http://support.microsoft.com/default.aspx?scid=kb;en-us;325473
    Tip: Don’t forget to set the new Domain Controller as DNS & WINS (Optionally) for the DHCP scope/s.
  13. Edit users profiles and/or user logon scripts to point to the new Domain Controller as File Server and Printer server.
  14. Uninstall unnecessary services from the old Domain Controller.
  15. Install third party tools on the new Domain Controller (Backup Software, Antivirus etc.)
  16. Re-register users computers in the new DHCP by using ipconfig /release and ipconfig /renew.

Replacing Root Hints with the Cache.dns File. Q249868

Replacing Root Hints with the Cache.dns File. Q249868
http://support.microsoft.com/default.aspx?scid=kb;EN-US;249868

Taken from http://mss.net/TechNotes/TechNotes.htm

dcpromo /forceremoval

If you have removed a DC from the domain, dcpromo w/out the /forceremoval switch will fail since it cannot contact the domain to notify of its demotion.
Don't forget after you do a /forceremoval you have to clean up your Active directory.
Also if that DC held any roles you will have to seize them to another DC.

332199 Using the DCPROMO /FORCEREMOVAL Command to Force the Demotion of Activehttp://support.microsoft.com/?id=332199

251307 HOW TO: Remove Orphaned Domains from Active Directory Without Demotinghttp://support.microsoft.com/?id=251307

216498 How To Remove Data in Active Directory After an Unsuccessful Domainhttp://support.microsoft.com/?id=216498

Also see http://www.petri.co.il/delete_failed_dcs_from_ad.htm

255504 Using Ntdsutil.exe to seize or transfer FSMO roles to a domain controllerhttp://support.microsoft.com/?id=255504

Minime Posted by Picasa

Sunday, February 26, 2006

Dcpromo.exe - "Failed to modify the necessary properties for the machine account. Access is denied."

When you run Dcpromo.exe to create a replica domain controller, you receive the "Failed to modify the necessary properties for the machine account. Access is denied." error message.

SYMPTOMS
When you run Dcpromo.exe to create a replica domain controller, you may receive the following error message in Dcpromo.exe: Failed to modify the necessary properties for the machine account. Access is denied.

Examination of the Dcpromoui.log file indicates that the initial part of the promotion was successful (this is also verified because the computer becomes a member server in the domain), but that the promotion to domain controller did not succeed because Dcpromo.exe could not modify the machine account.

CAUSE
This problem can occur if the account that is used for the promotion operation has not been assigned the "Delegation Privilege" right. Or, if this right has been assigned, the policy has not propagated yet, possibly because of replication latency. By default, only members in the Administrators group have the "Delegation Privilege" right.

RESOLUTION

To resolve this problem, use an account in the Administrators group, or add the appropriate account to the Administrators group. To grant this right to another user or group, set the delegation privilege on the Group Policy object:

  1. In the Active Directory Users and Computers snap-in, edit the Default Domain Controllers Policy on the Domain Controllers Organizational Unit.
  2. Double-click Computer Configuration, click Windows Settings, click Security Settings, click Local Policies, and then click User Rights Assignment.
  3. Under Enable Computer and User Accounts to be trusted for Delegation, add the appropriate account or group.
  4. Apply the policy using one of the following methods:
  • At a command prompt, type gpupdate /force (Windows 2000 Server - secedit /refreshpolicy machine_policy /enforce).
  • In the Sites and Services snap-in (Dssite.msc), use the Replicate Now feature to force replication from the domain controller on which the policy was changed to the other domain controllers in the domain.
To apply the updated policy, restart the domain controller.
http://support.microsoft.com/?kbid=232070
or
http://support.microsoft.com/?kbid=250874