29 August 2007

Announce from Microsoft

WS2008, Windows Vista SP1 and Windows XP SP3 are announced for Q1 2008

...

27 August 2007

Windows Vista Fun

Microsoft UAC is great!

...

22 August 2007

Virtual Server 2005 R2 SP1

Virtual Server 2005 R2 SP1, contains the following new functionality:
  • 32 physical processor support for the Enterprise edition
  • Native 64-bit Windows host support (not guest however)
  • Virtual Server host clustering
  • iSCSI support
  • Enhanced PXE boot
  • Hardware-assisted virtualization (Intel VT & AMD-V)
  • VHD Mount command-line tools and API
  • Volume Shadow Copy Service (VSS) support
  • Default size for dynamically expanding disks increased from 16GB to 127GB
  • More than 64 virtual machines (VMs) on 64-bit hosts
  • Service publication using Active Directory Service Connection Points. This allows all instances of the Virtual Server service to be located within the forest
You can download Virtual Server 2005 R2 SP1 at http://www.microsoft.com/windowsserversystem/virtualserver/
...

MS KB articles translated into French

Microsoft publishes a very large number of articles in its Knowledge Base (KB) but a lot are not translated and are available only in a machine translated version. The quality of these machine translations not being always perfect, Bernard Opic (ex-MVP Microsoft Office Outlook) offers translations into French of articles relating to Outlook, Exchange and Visual Studio Tools for Office (VSTO).

To read these articles translated into French, visit the site of media-tips to the following address:
http://www.media-tips.com/services/translations/index.asp
...

21 August 2007

Universal TCP/IP Network Bootdisk - Version 6.01 Released!

The Universal TCP/IP Network Bootdisk is a DOS bootdisk that provides TCP/IP networking support. It's designed for use in Microsoft networking environments, on either peer-to-peer or domain based LANs. Currently 92 different network card drivers all included, all on the single 1.44MB disk!

Note: Take a look at Microsoft Article ID : 811497 to resolve a problems logging on to a Windows 2000-based server or a Windows 2003-based server
...

20 August 2007

Skype blames Windows Update for 48-hour outage

Skype is pointing the finger at Windows Update for a critical system crash that wiped out the VoIP service for two days.

In a statement posted on the company's support page, the company claims: "The disruption was initiated by a massive restart of our user's computers across the globe within a very short timeframe as they re-booted after receiving a routine software update." This is presumably the Windows updates that were sent out on Patch Tuesday last week, which required the PC to be restarted.

"The abnormally high number of restarts affected Skype's network resources," the company adds. "This caused a flood of log-in requests, which, combined with the lack of peer-to-peer network resources, prompted a chain reaction that had a critical impact."

Skype, which hasn't suffered serious problems with Windows Update before, says its normal failsafes proved ineffective. "Normally Skype's peer-to-peer network has an inbuilt ability to self-heal, however, this event revealed a previously unseen software bug within the network resource allocation algorithm which prevented the self-healing function from working quickly. Regrettably, as a result of this disruption, Skype was unavailable to the majority of its users for approximately two days."

The company insists, however, that despite rumours to the contrary, it wasn't the victim of hackers. "The issue has now been identified explicitly within Skype. We can confirm categorically that no malicious activities were attributed or that our users' security was not, at any point, at risk."

News Source: www.pcpro.co.uk

...

Dealing With Vista's Not-So-Secret Garbage Dump

This is actually not an indictment of Vista alone, but something I've seen in Windows for quite some time now: the user profile \TEMP directory. It fills up with the most amazing amount of trash imaginable, and over time it can cause programs to malfunction left and right in ways that defy analysis.

Vista does have a way to deal with it: the Disk Cleanup tool. which purges the \TEMP directory on demand. However, as a safety measure, it doesn't delete anything newer than one week -- for instance, temporary files created as part of a program's installation process.
...

17 August 2007

How to take a last log from the Servers?

I’ve a few servers those same times I have to take a log from them. I’m interesting just in the LAST log from each server. Because of the huge numbers of the servers I’ve created a script Logs-from-Servers.bat, which helps me in my task. Additionally, this script takes a screenshot from each server.

Before show the content of my script I’d like to say what the prerequirements. I used a few tools in the script for simplify it. One is LINEX.exe the other one is LSGRAB.exe and the last 7za.exe

LINEX.exe helps to analyze and manipulate with each line in the TXT fail.
LSGRAB.exe – command line tools, which takes a screenshot from the remote server.
7za.exe - command line tools, which create a ZIP-archive of all logs.

Logs-from-Servers.bat analyzes a file SRVLIST.txt. In the SRVLIST.txt located a list of all my servers. This is an example of the SRVLIST.txt:

172.1.1.10
172.1.1.12
172.1.1.14

InletEx offers free licenses to Microsft MVPs

Any person, who has the Microsoft MVP status, can get one INLETEX Easy Remote Control (ERC) PRO Version single-user NFR (Not For Resale) licenses of free of charge. This offer will be available from August 1, 2007 till July 31, 2008. To get free licenses, you just need to contact InletEx and include in your message, your full name, MVP status, link with the status confirmation and titles of necessary programs and we will reply to you during 72 hours.

To see the offer at IntelEx website, clic here.

If you don't already know ERC, here's a short presentation of this very nice remote administration software.

InletEX ERC-Easy Remote Control can help you eliminate problem to effectual remote support. Easy Remote Control (ERC) is one of the best programs for remote administration under Windows that allow you to work remotely on a computer using the regular graphic user interface (GUI).

Easy Remote Control is based on a wide experience of many System Administrators and was tested with them before it was released.

The main goals are simplicity and comfort, therefore the name Easy Remote Control.

Easy Remote Control can help System Administrators or Helpdesk representatives solve multiple problems remotely and with ease.

ERC enables remote desktop control, even through firewalls or behind NAT!

No prior interaction or pre-installed client software is needed.

...

Set IP setting for any Network Card from Command Line

Many administrators are familiar with an opportunity of cloning Windows OS (Sysprep). I already described process of cloning.

Recently, one my client has put a task, to install one Windows server, to set up all and to prepare system for cloning. Also it was required, that on all servers would be static IP addresses.

Equally, it's a not so complicated, but we have only one small problem. At cloning, on different servers Windows set different a name for network cards, once Local Area Connection, once Local Area Connection 2, sometimes Local Area Connection 5 and so on. As you understand, it makes a certain inconvenience at automation of process. To solve the given problem I’ve created a script, Set-IP.bat.

At start Set-IP.bat will ask what IP Address, Subnet Mask and Default Gateway to define on a network card of the given server. I wish to pay your attention that the script itself will determine a name of a network card and will rename on necessary to you, in my case I renamed it to Production Network 1. Before the Sysprep, I have created directory C:\Scripts and have put down there Set-IP.bat.

Then in key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce

created a Key SET-IP in format REG_SZ with value C:\Scripts\SET-IP.bat

Here contents of SET-IP.bat:


@Echo off
SET /P IP=Please Enter the IP Address for this Server:
SET /P Subnet=Please Enter the Subnet Musk for this Server:
SET /P GW=Please Enter the IP Address of the Defaul Gateway for this Server:
SET /P DSRV=Please Enter the IP Address of the DNS for this Server:


For /F "tokens=3* delims= " %%a in ('ipconfig^|find /i "Ethernet adapter "') do Set NIC=:%%a %%b
For /F "tokens=1 delims=:" %%c in ('echo %NIC%^|find /i "Local Area"') do Set NIC=%%c

netsh.exe interface set interface name = "%NIC%" newname = "Production Network 1"
netsh interface ip set address "Production Network 1" static %IP% %Subnet%
netsh interface ip set address "Production Network 1" gateway = %GW% gwmetric = 1
netsh interface ip set dns "
Production Network 1" static %DSRV%

The End! :)

...

Check Service Status

Most Windows 2000 / 2003 servers running IIS, have remote registry access disabled, for security reasons. by using psservice I've write a script to determine if the IISADMIN and W3SVC service is running on remote Server:

@Echo off
rem This Script Check the Status of IISADMIN & W3SVC (IIS Server)

SET STATE=
SET SERVICE1=IISADMIN
SET SERVER1=172.1.2.12

:IISADMIN
For /F "Tokens=3 Delims=: " %%a in ('psservice \\%SERVER1% query %SERVICE1%^|find /i "STATE"') do SET STATE=%%a
if "%STATE%" EQU "RUNNING" goto W3SVC

:W3SVC
For /F "Tokens=3 Delims=: " %%a in ('psservice \\%SERVER1% query %SERVICE1%^|find /i "STATE"') do SET STATE=%%a
if "%STATE%" EQU "RUNNING" goto END

:Status
@echo The %SERVICE1% on %SERVER1% is %STATE%
goto END

:END

Note: In my case, the Server's IP is: 172.1.2.12
You can change the line "@echo The %SERVICE1% on %SERVER1% is %STATE%" in Status block to any command, for example to command that send e-mail to you about status of the Server.

...

Send keypresses by Launchkey

If you need to send key to the any application, you can use a VBScript, like following example:

set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "calc"
WScript.Sleep 100
WshShell.AppActivate "Calculator"
WScript.Sleep 100
WshShell.SendKeys "1{+}"
WScript.Sleep 500
WshShell.SendKeys "2"
WScript.Sleep 500
WshShell.SendKeys "~"
WScript.Sleep 500
WshShell.SendKeys "*3"
WScript.Sleep 500
WshShell.SendKeys "~"
WScript.Sleep 2500

But, if you want to use a batch script, use a LaunchKey. LaunchKey is a freeware command-line utility that runs an application and sends keypresses to it.

The syntax for using LaunchKey is:

Launchkey "KEYS TO SEND" "APPLICATION TO RUN" ["APPLICATION PARAMETERS"]

as in:

Launchkey "Here is some text." Notepad

"You can send all the normal key character keys as well as special keys like ALT, CTRL, F1-F12 etc. More information about how to send key presses is contained in the accompanying Helpfile."

Download LaunchKey.zip

...