Rune Bune’s Blog

Games, Gadgets, Code & Tech

Posts Tagged ‘OS’

How to Repair Outlook Web Access (OWA) 2003

Posted by runebune on April 24, 2009

a. Download and install the IIS 6.0 Resource Kit Tools. To obtain the IIS 6.0 Resource Kit Tools, visit the following Microsoft Web site:
http://www.microsoft.com/downloads/details.aspx?FamilyID=56FC92EE-A71A-4C73-B628-ADE 629C89499&displaylang=en

If you do not want to install all the IIS 6.0 Resource Kit Tools, click the Custom installation option to install only Metabase Explorer 1.6.
b. Start IIS Manager.
c. Back up the metabase. To do this, right-click Default Web Site, click All Tasks, and then click Save Configuration to a File. Type a file name for the file and click OK.
d. Expand Default Web Site, and then delete the following virtual directories:

• Microsoft-Server-Active-Sync
• OMA
• Exadmin
• Exchange
• Public
• ExchWeb

e. Start Metabase Explorer. To do this, click Start, point to All Programs, point to IIS Resources, point to Metabase Explorer, and then click Metabase Explorer.
f. Expand the LM key, right-click the DS2MB key, and then click Delete.
g. Close Metabase Explorer.
h. Restart the Microsoft Exchange System Attendant service to re-create the virtual directories in IIS.

Note If the virtual directories are not re-created after 15 minutes, restart the server.
i. In IIS Manager, expand Default Web Site, right-click Exchweb, and then click Properties.
j. Click the Directory Security tab, and then click Edit under Authentication and access control.
k. Verify that only the Enable anonymous access check box is selected.
l. Right-click Default Web Site, and then click Stop.
m. Right-click Default Web Site, and then click Start.

Now that is a straight copy paste from the KB Article. However.. I immediately had to wonder how the System Attendant service knew what my default website is.. or was. How does IIS flag the ‘ default website’ ?

A rummage though the IIS metabase basically shows that under the W3SVC node, the site with ID 1, is the Default Website. I made a new site, which got a unique identifier, and just renamed it to 1 in the metabase. 5 minutes later the System Attendant service had rebuild my Exchange virtual folders!

Posted in Tips & Tricks | Tagged: , , | 1 Comment »

How to Kill a Windows NT Service in command prompt

Posted by runebune on April 24, 2009

Go to the command-prompt and query the service (e.g. the SMTP service) by using sc:

sc queryex SMTPSvc
This will give you the following information:

SERVICE_NAME: SMTPSvc
TYPE : 20 WIN32_SHARE_PROCESS
STATE : 4 RUNNING
(STOPPABLE, PAUSABLE, ACCEPTS_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0×0)
SERVICE_EXIT_CODE : 0 (0×0)
CHECKPOINT : 0×0
WAIT_HINT : 0×0
PID : 388
FLAGS :

or something like this (the “state” will mention stopping).
Over here you can find the process identifier (PID), so it’s pretty easy to kill the associated process either by using the task manager or by using taskkill:

taskkill /PID 388 /F

where the /F flag is needed to force the process kill (first try without the flag).

Posted in Code, Tips & Tricks | Tagged: , , | Leave a Comment »

Installing uTorrent as windows service with webUI

Posted by runebune on April 24, 2009

this is the solution, and almost any program can be run as a windows service this way.

http://www.geekzilla.co.uk/View838302ED-E806-4314-AC3A-89872D6F8C9B.htm

Posted in Code, Tips & Tricks | Tagged: , , | 1 Comment »

Windows XP 2GB physical RAM limit work around

Posted by runebune on April 24, 2009

change the boot.ini file to something like this:

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=”Microsoft Windows XP Professional”
/fastdetect /usepmtimer /NoExecute=AlwaysOff

the /NoExecute=AlwaysOff is the section to watch
this option will disable all microsoft windows xp hardware limitation such as memory limits (4GB should be supported if hardware support it of cause)
some reduction in memory could occure 3GB ~ 2.5GB or so.
there could be some fixes to this issue…

Posted in Tips & Tricks | Tagged: , , , | Leave a Comment »