Logging User logon event.

 If you want to keep track the user logon and logoff event to the domain, you can try this method:


Step 1: Create the following two files using Notepad or your favorite text editor:

——logon.cmd—-
echo logon %username% %computername% %date% %time% >> \\dc1\share\logon.log

—–logoff.cmd—–
echo logoff %username% %computername% %date% %time% >> \\dc1\share\logoff.log


Step 2: Update Group Policy to run the appropriate batch file. In Group Policy, go to:
User Configuration-> Windows Settings-> Scripts (Logon/Logoff)-> Logon
User Configuration-> Windows Settings-> Scripts (Logon/Logoff)-> Logoff

Step 3:
As users log on and off, your log file should look something like this:

logon Richard WS01 Tue 22/02/2005 10:39:51.12
logon Peter WS02 Tue 22/02/2005 10:42:01.07

logoff Richard WS01 Tue 22/02/2005 10:41:08.45
logoff Peter WS02 Tue 22/02/2005 10:42:46.81

For paid solution and better reporting, you can use the software from:
http://manageengine.adventnet.com/products/desktop-central/

Publish IIS 6 on ISA2004/2006 Server when they are on the same server.

If you want to publish the HTTP service in IIS which was installed on the same machine as ISA, you are require to disable socket pooling on it. Otherise, HTTP service will bind itself to all network interfaces which prevent ISA to listen for incoming request.


1. Install the Support Tools form the W2K3 Server installation disc. It was located in the SUPPORT\TOOLS folder.
2. Run “net stop http /y” 
3. Run “net stop w3proxy” if you enabled the web proxy service.
4. Go to the Support Tools folder and Run “httpcfg delete iplisten -i 0.0.0.0″
5. Run “httpcfg set iplisten -i 192.168.8.8″ where “192.168.8.8” is the IP of which HTTP service should be  listen to.
6. Run “net start http”
7. Run “net start w3svc”
8. Run “net start w3proxy”


You can run “httpcfg query iplisten” to check which IP does the HTTP service is currently listening to.
You can also run “netstat -na | more” to check the active listening ports.


 


If you want to stop socket pooling on FTP service, you can do this:


1. cd c:\Inetpub\AdminScripts
2. net stop msftpsvc
3. cscript adsutil.vbs set msftpsvc/disablesocketpooling true
4. net start msftpsvc


If you want to stop socket pooling on SMTP service, you can do this:


1. cd c:\Inetpub\AdminScripts
2. net stop smtpsvc
3. cscript adsutil.vbs set smtpsvc/disablesocketpooling true
4. net start smtpsvc


You can also disable socket pooling for POP3 and IMAP4 services by changing the command:
cscript adsutil.vbs set imap4svc/disablesocketpooling true
cscript adsutil.vbs set pop3svc/disablesocketpooling true

Disable Mapped Drive Reconnect Warning (Windows 95/98/Me)

Open your registry and find or create the key below.


Create a new DWORD value, or modify the existing value, called “RestoreDiskChecked” and set it according to the value data below.


Exit your registry; you may need to restart or log out of Windows for the change to take effect.


User Key: [HKEY_CURRENT_USER\Network]
Value Name: RestoreDiskChecked
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = disabled, 1 = enabled)


 

Error message when you try to install Windows Vista on a computer that uses more than 3 GB of RAM: "STOP 0x0000000A"

When you try to install Windows Vista, you may receive an error message that resembles the following:


STOP 0x0000000A (parameter1, parameter2, parameter3, parameter4)
IRQL_NOT_LESS_OR_EQUAL
This problem occurs if the following conditions are true:
The computer uses more than 3 GB of RAM.
The computer uses a storage system that is running the Storport miniport driver.
The computer uses a controller that uses 32-bit direct memory access (DMA).

RESOLUTION


loadTOCNode(1, ‘resolution’);

To resolve this problem, install update 929777.

To install this update, visit the following Microsoft Web site:


or