Friday, January 29, 2010

manually deleting a windows service

to manually delete a windows service follow these steps:-

Method 1: -
  • Start
  • Run and type cmd in the Open: line.
  • Click OK
  • Type: sc delete
  • Reboot the system
Method 2: -
  • Click Start
  • Run and type regedit in the Open: line. Click OK
  • Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
  • Scroll down the left pane, locate the service name, right click it and select Delete.
  • Reboot the system.

there was an error locating one of the items needed to complete this operation. it might have been deleted

You get this error when you try to configure outlook to connect to exchange.


To resolve this, close outlook and look for mapisvc.inf and delete this file, and restart your outlook.

how to rapair and restore ms word

how to rapair and restore ms word


  • Click on Help Menu > Detect and Repair
  • Select “Repair My Shortcuts While Repairing” and (if available) “Discard my customized settings and restore default settings”
  • Click OK .

win 2003 sp2 setup could not verify the integrity of the file update.inf

Clear the temporary file and restart the hotfix installation or the service pack installation


Note: Skip this method if the operating system is Windows 2000.

To clear the temporary file and restart the hotfix installation or the service pack installation, follow these steps:

  • Delete all the tmp*.cat files in the following folders:

%systemroot%\system32\CatRoot\{127D0A1D-4EF2-11D1-8608-00C04FC295EE}

%systemroot%\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}
  • Delete all the kb*.cat files in the following folders:

%systemroot%\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}

%systemroot%\System32\CatRoot\{127D0A1D-4EF2-11D1-8608-00C04FC295EE}
  • Delete all the oem*.* files from the %systemroot%\inf folder.
  • At the command prompt, type the following commands. Press ENTER after each command.
  • net stop cryptsvc
  • ren %systemroot%\System32\Catroot2 oldcatroot2
  • net start cryptsvc
  • exit
  • Restart the failed hotfix installation or service pack installation.

Wednesday, January 27, 2010

exhcange 2007 installation Ldife.exe - prerequisites error

Exhcange 2007 installation Ldife.exe – prerequisites error


  • Open up the cmd prompt and type:
  • ServerManagerCmd -i RSAT-ADDS
You should then see if it completed successfully or if it was ran already.

The command requires a reboot after it installs. After you reboot, try the prep again.

disable ipv6 from windows 2008

To completely disable IPv6 on a Windows Server 2008-based computer, follow these steps:


  • Open Registry Editor.
  • Locate the following registry subkey:
  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters
  • In the details pane, click New, and then click DWORD (32-bit) Value.
  • Type DisabledComponents, and then press ENTER.
  • Double-click DisabledComponents, and then type 0xffffffff in Hexadecimal or 4294967295 in Decimal.
Note :The 0xffffffff value or the 4294967295 value disables all IPv6 components except for the IPv6 loopback interface.

move wsus updates and change default updates path

If you are getting out of space on the drive where you are saving WSUS updates, you can install a new drive and then move the updates to the new location. You can use WSUSUtil.exe with MoveContent command to move the updates to new location.


Eg:

wsusutil movecontent contentpath logfile -skipcopy [/?]

Parameter Definition

contentpath

The new root for content files. The path must exist.

logfile

The path and file name of the log file to create.

-skipcopy

Indicates that only the server configuration should be changed, and that the content files should not be copied.

/help or /?

Displays command-line help for movecontent command.

unable to search network drive

If you are connected to a network using VPN and when you try to search network drives mapped to remote servers, window search do not display any results or unable to search network drive.


This usually happen when you do a search over a slow network like over VPN or over WAN in Windows server 2003 and Windows XP. The search gives you empty results, this happens even though the file you are searching is present on the network drive. The actual message you receive on search is “Search is complete. There are no results to display.”

The cause of this problem is when you search network drives over slow link Windows incorrectly determines that the files or the folders you are searching are offline. And therefore windows exclude them from the search.

To resolve this issue you need to install a hotfix from mircosoft. You can download it from http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=885843&kbln=en-us

To read more about this issue. You can visit

http://support.microsoft.com/kb/885843/en-us

Monday, January 25, 2010

accept mail for a domain (Exchange 2003)

We can configure all of your servers running Microsoft Exchange Server to accept mail for a domain by adding that domain to your default recipient policy.


To add a domain to your default recipient policy:

  • Click Start, point to Programs, point to Microsoft Exchange, and then click System Manager.
  • In the details pane, double-click the top-level node.
{This is the name of your Exchange Server organization, which might be named something like First Organization (Exchange Server).}
  • Double-click Recipients, and then click Recipient Policies.
  • On the opposite side of Exchange System Manager, double-click Default Policy.
  • On the E-Mail Addresses (Policy) tab, click New.
  • Choose SMTP Address and then click OK.
  • In the Address box, enter the domain name (such as @Example.com). The domain should be prefaced with a @ symbol. Ensure that the This Exchange Organization is responsible for all mail delivery to this address check box is selected.
  • Click OK.
  • Select the check box next to the new SMTP domain name, and then click OK.
  • When prompted for your user’s e-mail addresses from this domain, click Yes.
Updating e-mail addresses can take a while to complete. When completed, you can send mail to users at the domain you specified and have it delivered to their mailboxes.

back Up mailbox and public folder databases in exchange 2003

To back up Exchange Server databases:
  • Click Start, point to Programs, point to Accessories, point to System Tools, and then click Backup.
  • If you are using the wizard, select the option to Back up selected files, drives, or network data. If you are not using the wizard, click the Backup page.
  • Navigate to the Microsoft Exchange Server node.
  • Expand the Microsoft Exchange Server node to list the Exchange servers available for backup.
  • Expand the entry for the server you wish to back up.
  • Check Microsoft Information Store.
(This backs up all of the mailbox and public folder data on the Exchange server.You do not have to select individual database files. You do not even have to know the file locations. Exchange Server online backup automatically finds the correct files. When you restore a backup, Exchange Server automatically restores files to their correct locations, even if locations have been changed since the backup was taken.)
  • Under Backup media or file name, click Browse, and select a location to store your backup.
  • Click Start Backup, and then click Start Backup again.

Tuesday, January 19, 2010

Create an E-Mail Distribution List

A distribution list can be used to send e-mail messages to multiple people at once by sending mail to a single e-mail address.


To create a distribution list:

  • Click Start, point to Programs, point to Administrative Tools, and then click Active Directory Users and Computers.
  • In the details pane, double-click the domain name (such as contoso.com).
  • Right-click Users, point to New, and then click Group.
  • Enter an account name for the group.
This is the name of the account that users can use to send mail to the members of this group, such as myteam.
  • Under Group Type, select Distribution, and then click Next.
  • Check Create an Exchange e-mail address, and then click Next.
  • Click Finish.
  • Double-click the name of the distribution list you just created.
  • On the Members tab, click Add, and enter the names of the users you want to become distribution list members.
  • When you have completed adding names to your distribution list, click OK to close all open dialog boxes.
After the group has been created, you can send e-mail messages to the distribution list and all of the members will receive the message.

(0x8004011d) Exmerge Error opening message store (MSEMS). Verify that the Microsoft Exchange Information Store service is running and that you have the correct permissions to log on

  • Verify that the user account under which you run the Exchange Mailbox Merge program has the Receive As and Send As security permissions set to Allow for the Mailbox Store. To do this, follow these steps: 
  • Start Exchange System Manager. To do this, click Start, point to Programs, point to Microsoft Exchange, and then click System Manager.
  • Expand Servers, expand the server that you want, expand the storage group that you want (for example, expand First Storage Group), and then expand Mailbox Store.
  • Right-click Mailbox Store, and then click Properties.
  • Click the Security tab, and then click the user account whose permissions you want to verify.
  • In the Permissions list, click to select the Receive As check box in the Allow column, click to select the Send As check box in the Allow column, and then click OK.
  • If the user account is a member of a group (domain administrators or enterprise administrators), this group must also have send as and receive as rights to the mailbox store.
  • Verify that the user account under which you run the Exchange Mailbox Merge program has delegation authority at the Organization level in Exchange System Manager. To do this, follow these steps:
  • In Exchange System Manager, right-click the organization (for example, right-click First Organization (Exchange)), and then click Delegate control. The Exchange Administration Delegation Wizard starts.
  • Click Next.
  • If the user account under which you run the Exchange Mailbox Merge program is not listed in the Users and groups box, and if it does not have the role of Exchange Full Administrator, click Next, add this user account with the role of Exchange Full Administrator, and then click OK.
  • Click Next, and then click Finish.
  • Quit Exchange System Manager.
  • Restart the Microsoft Internet Information Service (IIS) Admin Service. To do this, follow these steps.NOTE: This restarts the Exchange Information Store service.
  • Click Start, click Run, type services.msc in the Open box, and then click OK.

Install Openoffice as a windows service

  • Download and install openoffice
  • run openoffice once before installing it as a service
  • Download and install windows 2003 resource kit from microsoft website.
  • Create a service account and give it log on as a service rights ( i used openoffice as service account name)
  • Create a service named OpenOfficeUnoServer to do so run the following command “C:\Program Files\Windows Resource Kits\Tools\Instsrv.exe” OpenOfficeUnoServer “C:\Program Files\Windows Resource Kits\Tools\Srvany.exe
  • Go to services snap in and change the log on account with the account you created in step 4.
  • Open registry and configure the values as shown in the screen shot shown below:

Create parameters key and make sure the values match as shown below. You have to create Application and AppParameters REG_SZ values.

Start Service

  • Open command prompt and change directory to c:\program files\openoffice.org 3\program


  • Run the following command


  • soffice -accept=”socket,port=8100;urp;StarOffice.ServiceManager


  • Run netstat -anp tcp


  • This should show a listening on port 8100.Chances are that the service will only listen on the 127.0.0.1 interface; this means you can only connect from the same machine and it’s good from a security point of view. However, if you want to be able to connect from other machines as well you need to change the accept string to "socket,host=0.0.0.0,port=8100;urp;" in the AppParameters registry value

Exchange Distribution Groups do not receive external emails

hen you create a new distribution group within Exchange and try to send an email from an external address to this group, you will receive a error message which states that you must be authenticated to send to this group.


This is the default behavior of Exchange 2007 to avoid SPAM.

To change this behavior open the Exchange Management Console an navigate to the affected distribution group. Open the Settings for this group and switch to the tab “Mail Flow Settings“. On this tab mark “Message delivery restrictions” and select “Properties“.


In the new Window ensure that the checkbox “Require that all senders are authenticated” is not selected.

office 2007 :The windows installer service cannot update one or more protected windows

  • From Windows install disk goto E:\I386 folder and open open (Double click) on the FP40EXT.CAB file. It should open.
(or – if you do not have the disk, find a working XP computer and go to C:\Program Files\Common Files\Microsoft Shared\web server extensions\40\bin).
  • find fp4autl.dll in the list and copy it (ctrl-c)
  • go to c:\program files\common files\microsoft shared\web server extensions\40\bin and paste it (ctrl-v)
  • Restart the 2007 office install

Can’t open or save an attachment in Outlook 2003?

“Can’t create file: Right-click the folder you want to create the file in, and then click Properties on the shortcut menu to check your permissions for the folder”.
  • Open REGEDIT.EXE and go to Edit -> Find… In the Find dialog box type “OutlookSecureTempFolder” without the quotes and locate that registry key.
  • That key will contain [...]

When you double-click your C: drive It gives you an option to choose a program to open with...

Method 1:-
  • Double-click on My Computer on Desktop.
  • Choose Tools and select "Folder options"
  • Click on "View" tab, select "Show Hidden files and folders" and uncheck "Hide Extention...."
  • Click on "Hide protected operating system files" (these selections are important to find the files you need to delete)
  • Click "OK."
  • Open Windows Task Manager (ctrl-alt-del) and select the "Processes" tab
  • Click on "Image name" to sort the list
  • Find "wscript.exe" and click on "End Process" (if there is more than one process with that name you have to end all of them)
  • Close Windows Task Manager.
  • Click on Start and select "Search" and search for "autorun.inf" (search the computer)
  • Delete all the files that contain the text MS32DLL.dll.vbs (the virus) by pressing Shift+Delete. (There obviously should not be Autorun.inf in the C: root).
  • You will also delete the virus from the system (C:\WINDOWS\ MS32DLL.dll.vbs) by pressing g Shift+Delete.
  • Next you have to edit the Register. (Please not that you have to be very careful in the Registry tools; certain mistakes in the Registry can crash your computer)
  • Click on "Start" and select "Run" and type in "Regedit" and press "Enter".
  • Select HKEY_LOCAL_MACHINE --> Software -->Microsoft -->Windows --> Current Version --> Run.
  • Find "MS32DLL" and delete that entry.
  • Select HKEY_CURRENT_USER --> Software --> Microsoft --> Internet Explorer --> Main. There you find Window Title "Hacked by Godzilla" and you should delete that entry. You can close the Registry now.
  • Click on Start --> Run and type in "gpedit.msc" and press "Enter."
  • Open "Group Policy": select User Configuration --> Administrative Templates --> System --> and there you will double click on "Turn Off Autoplay"
  • In the window there you should select "Enabled" and select "All drives" (they say in a certain Thai website that select all turn of Autoplay will be safer for not getting viruses). Now you can close the Group Policy.
  • Click on Start --> Run and type "msconfig" and press "Enter".
  • Open "System Configuration Utility".
  • Click on "Startup" tab
  • Find the file MS32DLL, choose Enable All, then uncheck "MS32DLL"
  • Click Apply and then OK to close
  • Exit the "System Configuration Utility" and select "Exit Without Restart" when prompt.
  • After this, double-click on My Computer and select "Tools" and "Folder Options" and "View" tap to change back there.
  • select "Hide Extention..." and "Hide protected operating system file" and "Don't show hidden files and folders".
  • Empty the "Recycle bin" and "Restart" your computer.
Method 2:-
Follow the set of commands below to show and delete the autorun.inf
  • Open Start>>Run and type cmd and press enter. This will open a command prompt window. On this command prompt window type the following steps.
  • type cd\
  • type attrib -r -h -s autorun.inf
  • type del autorun.inf
  • now type d: and press enter for d: drive partition. Now repeat steps 3 and 4. Similarly repeat step 5 for all your hard disk partition.
  • Restart your system and your trouble will be fixed.