When you create a performance alert, by default it runs as the Network Service account. However, you can specify a different account for its execution. If you specify another account, ensure that the named account has the following rights:
* Read access to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib
* Full Access to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SysmonLog and its subkeys
* Read access to the files %windir%\system32\PERFC*.dat and %windir%\system32\PERFH*.dat

Loading ...
Posted in General, Networking, Scripting, Windows 2000, Windows 2003, Windows XP | No Comments »
Tagged With:
February 18th, 2006 . by Ali
The following code will delete the passed computer name (e.g., “delme”) from the alibutt domain.
Dim objDC
Dim strComputer, strDomain
strComputer = “delme”
strDomain = “alibutt”
Set objDC = getobject(”WinNT://” & strDomain )
objDC.Delete “Computer”, strComputer

Loading ...
Posted in General, Scripting, Windows 2000, Windows 2003, Windows XP | No Comments »
Tagged With:
August 26th, 2005 . by Ali
To disable the Windows XP Notification Area balloon tips:
1. Use the registry editor to navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced.
2. on the Edit menu, press New and DWORD value.
Read the rest of this entry »

Loading ...
Posted in General, Scripting, Windows XP | 1 Comment »
Tagged With:
August 3rd, 2005 . by Ali
You can use the whoami command with the /groups switch to display all the groups in the currently logged on user token as the following command and output show:
whoami /groups
Read the rest of this entry »

Loading ...
Posted in General, Scripting, Windows 2000, Windows 2003, Windows XP | No Comments »
Tagged With:
An excellent article on lesessais.com about the issues dealt with people trying to quit this game:
Here. Bear with me. Let me describe an emotional state, and you come up with the cause. First, emptiness. Emptiness like hunger, ravenous hunger; emptiness like the blackness that descends behind closed eyelids at the crepuscule before sleep; emptiness as need; emptiness as blind desire; emptiness visualized as a gaping hole where the heart once held court. Then, regret. Regret for loss, regret that the emptiness exists, regret that the memory of what once filled the hole—the heart, now, the heart, remember—lies dead and dies more each and every passing day; regret that the knowledge of what other people do to fill up their life has been lost along countless missteps and misspent hours trying to find the path on which you once, as a child, so deftly picked your way; regret that something is gone and has left an emptiness as deep as the blackest reaches of outer space. Anger, next. Anger that emptiness is remembered with regret; anger at the witless world that allowed such a gain that could become a loss that could be defined as emptiness with vast regret; anger that you, who once were so strong, so supple, so springboard-ready to bounce back to a mean emotional state, a psychical purpose, can see yourself suffering and maundering over the black heart, its regretful state, and your pointless rage. Despair, finally, that you will ever be another way.
Love, you say? If you did, and I hope you did, then you got it right, at least in purpose and point of origin, for though it smacks of the lovelorn puppy dog ministrations of a mooney-eyed lover, the emotional state I described was of an addict’s absence of soul, of spirit, of the will to experience. Which is to say, they are not all that different.
Read the rest of this entry »

Loading ...
Posted in Exchange, General, Networking, Scripting, Sharepoint, Windows 2000, Windows 2003, Windows XP | 31 Comments »
Tagged With:
To quickly export your IP (inc dns / wins) settings to a text file, use the following command:
netsh -c interface dump > c:\work-net.txt
When you connect to another LAN
Read the rest of this entry »

Loading ...
Posted in General, Networking, Scripting, Windows 2000, Windows 2003, Windows XP | 2 Comments »
Tagged With:
If you have Microsoft IIS with SMTP installed on a server, you can use the following code to send a basic email message from within a script:
Set objMessage = CreateObject(”CDO.Message”)
objMessage.Subject = “Subject”
objMessage.Sender = “ali@alibutt.com”
objMessage.To = “you@yourself.com”
objMessage.TextBody = “test mail”
objMessage.Send

Loading ...
Posted in Exchange, General, Networking, Scripting, Windows XP | No Comments »
Tagged With:
To prevent this behavior, disable the Allow Screen Saver group policy at User Configuration / Administrative Templates / Windows Components / Windows Media Player / Playback.
The Allow Screen Saver explain text contains:
Read the rest of this entry »

Loading ...
Posted in General, Scripting, Windows XP | 1 Comment »
Tagged With: