WSS / Sharepoint Cannot access site from local server

You receive error 401.1 when you browse a Web site that uses Integrated Authentication and is hosted on IIS 5.1 or a later version

Solution : http://support.microsoft.com/kb/896861

Method 1: Specify host names (Preferred method if NTLM authentication is desired)

To specify the host names that are mapped to the loopback address and can connect to Web sites on your computer, follow these steps:

  1. Set the DisableStrictNameChecking registry entry to 1. For more information about how to do this, click the following article number to view the article in the Microsoft Knowledge Base:
    281308 Connecting to SMB share on a Windows 2000-based computer or a Windows Server 2003-based computer may not work with an alias name
  2. Click Start, click Run, type regedit, and then click OK.
  3. In Registry Editor, locate and then click the following registry key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0
  4. Right-click MSV1_0, point to New, and then click Multi-String Value.
  5. Type BackConnectionHostNames, and then press ENTER.
  6. Right-click BackConnectionHostNames, and then click Modify.
  7. In the Value data box, type the host name or the host names for the sites that are on the local computer, and then click OK.
  8. Quit Registry Editor, and then restart the IISAdmin service.

or

Method 2: Disable the loopback check (less-recommended method)

The second method is to disable the loopback check by setting the DisableLoopbackCheck registry key.

To set the DisableLoopbackCheck registry key, follow these steps:

  1. Set the DisableStrictNameChecking registry entry to 1. For more information about how to do this, click the following article number to view the article in the Microsoft Knowledge Base:
    281308 Connecting to SMB share on a Windows 2000-based computer or a Windows Server 2003-based computer may not work with an alias name
  2. Click Start, click Run, type regedit, and then click OK.
  3. In Registry Editor, locate and then click the following registry key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
  4. Right-click Lsa, point to New, and then click DWORD Value.
  5. Type DisableLoopbackCheck, and then press ENTER.
  6. Right-click DisableLoopbackCheck, and then click Modify.
  7. In the Value data box, type 1, and then click OK.
  8. Quit Registry Editor, and then restart your computer.

TrendMicro Officescan 10 on Windows 2008 R2

When you install Officescan 10 on a Windows 2008 R2 server you get 2 errors:

  1. When you login to the webconsole you get the error: Your OfficeScan Session has timed out. Please log in again
  2. When you use the remote installerr you get the error: Incorrect parameter in the initialization file

You can fix this problem by change the NTFS rights (Everyone/modify) on the maps.

C:\Program Files (x86)\Trend Micro\OfficeScan\PCCSRV\TEMP
C:\Program Files (x86)\Trend Micro\OfficeScan\PCCSRV\Web_OSCE\Web_console

Please TrendMicro fix your installer!

Speed up your firefox

How longer you use firefox how slower the automatic search will be. There is a plugin thats defragment the search database.

Quote Vacuum Places Improved 1:

Defragments your Firefox “Places” database (history/bookmarks)
This greatly reduces the lag while typing in the address bar and the start-up time.
This extension features configurable automatic cleaning, periodic reminder, and internationalization.

URL: https://addons.mozilla.org/nl/firefox/addon/13878

Show 5 fsmo roles script

Set objRootDSE = GetObject(“LDAP://rootDSE“)

‘ Schema Master
Set objSchema = GetObject(“LDAP://” &_
objRootDSE.Get(“schemaNamingContext”))
strSchemaMaster = objSchema.Get(“fSMORoleOwner”)
Set objNtds = GetObject(“LDAP://” & strSchemaMaster)
Set objComputer = GetObject(objNtds.Parent)
WScript.Echo “Forest-wide Schema Master FSMO: ” &_
objComputer.Name

Set objNtds = Nothing
Set objComputer = Nothing

‘ Domain Naming Master
Set objPartitions = GetObject(“LDAP://CN=Partitions,” & _
objRootDSE.Get(“configurationNamingContext”))
strDomainNamingMaster = objPartitions.Get(“fSMORoleOwner”)
Set objNtds = GetObject(“LDAP://” & strDomainNamingMaster)
Set objComputer = GetObject(objNtds.Parent)
WScript.Echo “Forest-wide Domain Naming Master FSMO: ” &_
objComputer.Name

Set objNtds = Nothing
Set objComputer = Nothing

‘ PDC Emulator
Set objDomain = GetObject(“LDAP://” &_
objRootDSE.Get(“defaultNamingContext”))
strPdcEmulator = objDomain.Get(“fSMORoleOwner”)
Set objNtds = GetObject(“LDAP://” & strPdcEmulator)
Set objComputer = GetObject(objNtds.Parent)
WScript.Echo “Domain’s PDC Emulator FSMO: ” & objComputer.Name

Set objNtds = Nothing
Set objComputer = Nothing

‘ RID Master
Set objRidManager = GetObject(“LDAP://CN=RID Manager$,CN=System,” & _
objRootDSE.Get(“defaultNamingContext”))
strRidMaster = objRidManager.Get(“fSMORoleOwner”)
Set objNtds = GetObject(“LDAP://” & strRidMaster)
Set objComputer = GetObject(objNtds.Parent)
WScript.Echo “Domain’s RID Master FSMO: ” & objComputer.Name

Set objNtds = Nothing
Set objComputer = Nothing

‘ Infrastructure Master
Set objInfrastructure = GetObject(“LDAP://CN=Infrastructure,” & _
objRootDSE.Get(“defaultNamingContext”))
strInfrastructureMaster = objInfrastructure.Get(“fSMORoleOwner”)
Set objNtds = GetObject(“LDAP://” & strInfrastructureMaster)
Set objComputer = GetObject(objNtds.Parent)
WScript.Echo “Domain’s Infrastructure Master FSMO: ” & objComputer.Name

Source: http://www.thevortex.nl/index.php?option=com_content&task=view&id=48&Itemid=29

Manually Remove Trend Micro Officescan Client

  1. Go to Control Panel Services (services.msc), and stop the following services:
    • OfficeScanNT Listener
    • OfficeScanNT RealTimeScan
    • OfficeScanNT Personal Firewall (if enabled)
  2. Run Registry Editor (regedit.exe).
  3. Navigate to the following registry key

hive:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

  1. Delete the following keys (if available):
    • Ntrtscan
    • Tmlisten
    • TmFilter
    • VSApiNt
    • TMPreFilter
    • TM_CFW
    • OfcPfwSvc
  2. Navigate to the following registry hive:

HKEY_LOCAL_MACHINE \SOFTWARE\TrendMicro

or

HKEY_LOCAL_MACHINE \SOFTWARE \Wow6432Node\TrendMicro (in 64-bit Windows operating system)

  1. Delete the following keys (if available):
    • OfcWatchDog
    • Pc-cillinNTCorp or OfficeScanCorp (depending on the client)
    • RemoteAgent
    • PC-cillin
    • CFW
  2. Browse to the following registry key hive:

HKEY_LOCAL_MACHINE \SOFTWARE \Microsoft\Windows\CurrentVersion\Run

  1. Delete the OfficeScanNT Monitor key.
  2. Navigate to the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

  1. Delete the OfficeScanNT key.
  2. Delete the OfficeScan program group (Trend Micro OfficeScan Client) from the Windows Start menu.
  3. Restart the computer.
  4. Delete the directories that contain the OfficeScan Client program files, normally located inside Program Files folder.

Above steps work for OfficeScan 7.x client in Windows 2003/XP/2000/NT/Vista/2008 machine. For Trend Micro OfficeScan Corporate Edition (OSCE) – 5.58, OfficeScan Corporate Edition (OSCE) – 6.5, Client / Server / Messaging Suite for SMB – 2.0, follow these manual uninstallation steps instead.

  1. Delete the Trend Micro OfficeScan Client program shortcut in Start Menu, by right click on it and then choose Delete.
  2. Delete the installed files located in the OfficeScan folder under the \Program Files\Trend Micro\OfficeScan Client directory.
  3. Open the Registry Editor (regedit).
  4. Navigate to the following registry key:

HKEY_LOCAL_MACHINE\Software\TrendMicro

  1. Delete the following keys:
    • OfcWatchDog
    • PC-cillin
    • PC-cillinNTCorp
  2. Also delete the following registry hives:
    • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\OfficeScanNT Monitor
    • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\OfficeScanNT
    • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ntrtscan
    • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\tmfilter
    • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\tmlisten
    • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TmPreFilter (for Win2003)
    • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VSApiNt
  3. Right click on My Computer

, click Manage and then select Device Manager.

  1. Enable the Show Hidden Devices option.
  2. Remove the following hidden devices in Non-Plug and Play Drivers tree pertaining to OfficeScan (right-click and select Uninstall):
    • Trend Micro VSAPI NT
    • Trend Micro FILTER
    • Common Firewall Driver
    • NTRTSCAN (if available)
    • TMLISTEN (if available)
  3. Restart the OfficeScan client machine.

Source: http://www.mydigitallife.info/2008/07/18/how-to-manually-uninstall-trend-micro-officescan-corporate-edition-client/

Install XP from USB (easy setup)

What you need

PeToUSB
– Copy of Windows XP
– 1GB USB flash

1: Put your Windows disc in your drive.
2: Insert your USB flash.
3: Load PeToUSB
4: Configure it with your sources and destination like this

5: Click start
6: Once it’s finished remove the USB flash and insert it into your EEE PC. Set the BIOS to boot from the USB flash.
7:
Watch it install!

Ps. @ Windows7 you must manually format the stick to FAT32 and run the software as aministrator

Source: http://netbooks.modaco.com/content/msi/261632/installing-xp-via-a-usb-stick/

Terminal server memory solutions

Many terminalservers have an memory problem. You easily can write a fix for it with a simple but powerful Windows 2003 server resource kit tool.

  • Then copy empty.exe from the resource kit to c:\scripts\freemem or something
  • Write a batch file c:\scripts\freemem\freemem.bat

Example batch file:

@echo off

c:\scripts\freemem\empty.exe iexplore.exe
c:\scripts\freemem\empty.exe outlook.exe
c:\scripts\freemem\empty.exe winword.exe

Run this script every 30 minutes en you have al lot of extra memory to spent 🙂

Also add the /PAE to your boot.ini to get 700mb extra (if you have 4 gig of ram). See this support article

Good luck!