Posted in Scripting

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 […]

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 […]

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

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 […]

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] […]

Why do 10 million people play World Of Warcraft ?

A friend of mine recently sent me this email and I believe it answers the title of this post perfectly:

I guess it’s a combination of things. Work was taking up more of my time and WOW felt like a second job when just one job was already enough for me. But ultimately it came down to this. If I put in 10 hours pumping out presentations for my boss, reading about mutual funds online, etc. I came out the better for it. However, if I spent the same 10 hours playing, maybe I’d get a level up out of it but when I log off the game, what do I have to show for the last 10 hours of my life. Not much.

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 […]

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 = “” objMessage.To = “” objMessage.TextBody = “test mail” objMessage.Send

How can I use group policy to prevent the screen saver from activating while I am watching a video?

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: Enables a screen saver to interrupt playback. This policy displays a screen saver during playback of digital media according to the options […]