RSS

Category Archives: Scripting

Free Windows Live Messenger Invites!!

Yes I have some MSN Messenger Live invites to give out.

Want one?

Its easy, just leave a comment and explain why you prefer Windows over Unix.

I will pick the best replies and mail the invites out.

Good luck !

 

Free INSTANT MSN Live Messenger Invite !!!!

No competitions, no quizzes, no waiting !…

Click here for your INSTANT free MSN messenger Live Invite !!

Enjoy :-)

 

How can I migrate shares and their data between servers?

Microsoft provides the Microsoft File Server Migration Toolkit (FSMT), which you can download from Here . The tool lets you migrate shares and data from any server running Windows NT 4.0 or later to a Windows Server 2003 (or Windows Storage Server 2003) machine.

The utility also interfaces with DFS, which lets you maintain the original UNC path of the data and avoid complications with accessing data once it has been migrated. However, Windows Server 2003 Enterprise Edition lets you maintain the original UNC path, and if the old UNC path doesn’t need to be maintained, DFS isn’t required.

 
 

Are there any registry keys or files that the account specified for a performance alert requires?

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_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPerflib
* Full Access to HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesSysmonLog and its subkeys
* Read access to the files %windir%system32PERFC*.dat and %windir%system32PERFH*.dat

 

How can I use a script to delete a computer from a domain?

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

 
Leave a comment

Posted by on February 18, 2006 in General, Scripting, Windows 2000, Windows 2003, Windows XP

 

How do I disable the Windows XP balloon tips?

To disable the Windows XP Notification Area balloon tips:

1. Use the registry editor to navigate to HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced.

2. on the Edit menu, press New and DWORD value.

3. Type a Value Name of EnableBalloonTips.

4. Double-click EnableBalloonTips and type 0.

Alternately, open a CMD.EXE window and type:

REG ADD “HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced” /V EnableBalloonTips /T REG_DWORD /F /D 0

 
1 Comment

Posted by on August 26, 2005 in General, Scripting, Windows XP

 

How can I determine which groups I’m a member of for my current logon session?

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

C:Documents and Settingsali>whoami /groups

[Group 1] = “UKDomain Users”
[Group 2] = “Everyone”
[Group 3] = “MERCURYDebugger Users”
[Group 4] = “BUILTINAdministrators”
[Group 5] = “BUILTINUsers”
[Group 6] = “UKDomain Admins”
[Group 7] = “UKEnterprise Admins”
[Group 8] = “UKSchema Admins”
[Group 9] = “LOCAL”
[Group 10] = “NT AUTHORITYINTERACTIVE”
[Group 11] = “NT AUTHORITYAuthenticated Users”

 
 

Why do 10 million people play World Of Warcraft ?

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.

Unhealthy obsessions, selfish solipsism…the fables and myths that give us succor and teach us morals warn against anything so monomaniacal: it is hardly necessary to think of Narcissus to extend any story’s teleology to death by personal infirmity, moral laxity, or, quite simply, gazing too long at a mirrored self. Love, the quaint excuse for the angst-ridden teen’s outrageous outcries—the union of two souls! Death by dissolution! Not life, no, but bliss!—is seldom more than a mirror made to trick the viewer into seeing a better self. What of other mirrors? Other tricks? What of those that mask the truth but lightly, and in the dancing points of light you can see the fiction, the misdirection, life not lived but carefully avoided, painted in unearthly colors and brighter, happier, than even the most stunted man-child could ever want life to be? We could say that the infirmity is weaker, the morals ignored with more purpose and pain, the waters of immurement approached with more knowledge, dire knowledge, that it is death the soul seeks.

All this is pretty heavy-handed for someone talking of love. Still more for someone speaking of a video game. But there it is. Here. Where love once filled the hours of thousands of men and women who had nothing else to divert their attention away from the painful, plodding progress of life as we know it, we have a game. To be sure, there are other diversions, some do drugs, others take to drink, but for general amusement, for avoiding thinking, there have always been games and activities meant to satisfy other base yearnings—accomplishment, pride, mental facility, physical prowess, social adaptability—but no game quite like this…

Click here for full article and the source

Also ….
PICTURE: What will a World Of Warcraft player look like in the year 2030?

 

Import / Export IP Settings Using Netsh

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

netsh -c interface dump > c:home.txt

Once you have everything in a text file, you can use this command to import the settings depending on your location

netsh -f c:work-net.txt

 

How can I send an email message from within a VBScript script?

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

 
Leave a comment

Posted by on June 17, 2005 in Exchange, General, Networking, Scripting, Windows XP

 
 
Follow

Get every new post delivered to your Inbox.