Pages

Thursday, July 29, 2010

Fetch list software installed on software when WMIC fails

first try : WMIC > product list full /Format:csv /Output:c:\gt.csv 
if it does NOT works then and only then use :  

To fetch software installed  installed on any windows server (where WMIC does not works)
here is a VBScript that should output the same thing as product get name. Save it to a file GtPrdNames.vbs and execute it.

= = = = = = = = = = = = = = 
Option Explicit
Dim strComputerDim objWMIService, colProducts, objProductDim arrstrProducts(), i

strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colProducts = objWMIService.ExecQuery("Select * From Win32_Product")

i = 0
For Each objProduct in colProducts
    ReDim Preserve arrStrProducts(i)
    arrStrProducts(i) = objProduct.Name
    i = i + 1
Next
WScript.Echo Join(arrStrProducts, vbNewLine)
 
= = = = = = = = = = = = = = 

Warning: This method has worked for me on windows 2000 & 2003 env, But could not guarantee for you. You may use is as is, Risk involved !

Tuesday, July 13, 2010

bad day till now

6 hrs on one damn issue :(

Aabra ka Daabra gili gili chhooo

cleartrip
Chal ud jaa re panchi ke ab yeh desh hua begana :)

Monday, July 12, 2010

Is it raining at your end??

Is it raining at your end??

Its raining here badly :-)

Traffic crawls after rain in Delhi

Heavy rains towards the evening hours gave much respite to Delhiites from hot and humid conditions but it ...
World Cup 2010: Goal.com Player Of The Day: Andres Iniesta - Spain
Goal.com - Andrés Iniesta Luján - ‎11 minutes ago‎
Welcome to Goal.com's World Cup feature: Goal.com Player of the Day. Each day a candidate will be put forward who deserves recognition for achieving ...
Nifty northbound Bharti Airtel Tata Steel most active

Moneycontrol.com - ‎20 minutes ago‎
At 13:42 hours IST, the benchmark Nifty continued to trade higher though it came off a bit from its day's high post disappointing IIP data and profit ...
Sensex consolidates around 18k realty banks It up Moneycontrol.com
Experts upbeat as indices hit psychological highs Moneycontrol.com
NDTV.com - Business Standard - Oneindia - Reuters India

Thursday, July 8, 2010

FIFA Update

What I said !

Spain Won!!!!!

Octopus dear ki Jai ho :-) Paul baba you are great ;)

~~~~~^_^~~~~~
.

Wednesday, July 7, 2010

おやすみなさい:)

今日のすべての作業が..完了時間は残して

おやすみなさい:) :)

FIFA - ;)

FIFAは上今日は、きれいに何試合に勝つ今日起こるか見て;)

いただきました!賭け?スペインやドイツ??

FIFA - Statistics

Statistics

Uruguay............Netherlands
12......Shots...... 11
4...... Corner kicks...... 5
2...... Yellow cards...... 3
0......Second yellow card and red card ......0
0......Red Cards......0
47%......Possession (%) ......53%

~~~~~~~~~~~^_^~~~~~~~~~~

FIFA - Line UP

Uruguay Uruguay....................Netherlands Netherlands



1 Fernando MUSLERA.................... Maarten STEKELENBURG
3 Diego GODIN.................... John HEITINGA
5 Walter GARGANO.................... Joris MATHIJSEN
6 Mauricio VICTORINO....................Goal (C) Giovanni VAN BRONCKHORST
7 Edinson CAVANI.................... Yellow Card Mark VAN BOMMEL
10 Diego FORLAN....................(C) Goal Out (-84' ) Dirk KUYT
11 Alvaro PEREIRA....................Out (-78' ) Robin VAN PERSIE
15 Diego PEREZ.................... Goal Yellow Card Wesley SNEIJDER
16 Maximiliano PEREIRA....................Yellow Card Goal (-89') Out Goal Arjen ROBBEN
17 Egidio AREVALO.................... Yellow Card Khalid BOULAHROUZ
22 Martin CACERES....................Yellow Card (-46'HT) Out Demy DE ZEEUW14

~~~~~~~~~~^_^~~~~~~~~~~

FIFA Update

2010 FIFA World Cup™: Semi-finals

Uruguay 2 : 3 Netherlands

Highlights

Upcoming matches:
Germany vs. Spain - 8 Jul 12:00am (India Time)


~~~~~~~~~~~^-^~~~~~~~~~~~~~

Hey

Any one from Delhi?

Who will today?? Spain Or Germany ?????

octopus baba ne spain predict kar hi diya hai!!!

Who will today?? Spain Or Germany ?????

octopus baba ne spain predict kar hi diya hai!!!!

Tuesday, July 6, 2010

all the day gone in meetings

What to do???

Debug Diag IIS TroubleShooting Tools

Download: http://www.microsoft.com/downloads/details.aspx?FamilyID=28bd5941-c458-46f1-b24d-f60151d875a3&displaylang=en
The Debug Diagnostic Tool (DebugDiag) is designed to assist in troubleshooting issues such as hangs, slow performance, memory leaks or fragmentation, and crashes in any Win32 user-mode process. The tool includes additional debugging scripts focused on Internet Information Services (IIS) applications, web data access components, COM+ and related Microsoft technologies.

DebugDiag 1.0 was released as part of the IIS Diagnostic toolkit and as a standalone tool. DebugDiag 1.1 is currently available as a standalone tool.


Overview

DebugDiag provides an extensible object model in the form of COM objects and provides a script host with a built-in reporting framework.

It is composed of the following 3 components; a debugging service, a debugger host, and the user interface.

The Debugging Service
The debugger service (DbgSvc.exe) performs the following tasks:

1 Attach/Detach the host to processes
2 Collect performance monitor data
3 Implement HTTP ping to detect hangs
4 Inject leak monitor in running processes
5 Collect debugging session state information
6 Shows the state of each rule defined

The Debugger Host

The Debugger Host (DbgHost.exe) hosts the Windows Symbolic Debugger Engine (dbgeng.dll) to attach to processes and generate memory dumps. It also hosts the main analyzer module to analyze memory dumps. Dbghost.exe has no dependency on the service "DbgSvc.exe" and can be used separately.

The User Interface

The user interfaces (DebugDiag.exe and DebugDiagAnalysisOnly.exe) present an interface to analyze memory dumps, automate the creation of control scripts and show the status of running processes, including services.
It is composed of 3 views:

l Rules: Creates control script for the debugger host through a wizard. The script is located under \scripts
l Advanced Analysis: Runs a selected Analysis Script against one or more memory dumps.
l Processes: Shows status of running processes/services

Note: DebugDiagAnalysisOnly.exe does not require elevation on operating systems beginning with Vista, so it only contains the Advanced Analysis view.

Class not registered - COM+ Issue

The event log gives the following message:

The server failed to load application '/LM/W3SVC/1/Root/Sample'. The error was 'Class not registered.

You may get this error with XP Pro IIS 5.1. I am not sure about the cause.

You will see this error in event logs:
Event Type: Warning
Event Source: W3SVC
Event Category: None
Event ID: 36
Description:
The server failed to load application '/LM/W3SVC/1/ROOT. The error was 'Class not registered'.

This problem is due to Component Services, Go to Component Services MMC, you should get Error Code 8004E00F COM + was unable to talk to Microsoft Distributed Transaction Coordinator". You can fix the COM+ services using MS KB.
PRB: Cannot Expand "My Computer" in Component Services MMC Snap-In
http://support.microsoft.com/?id=301919

If above solution not solve issue, and you continue to receive 'Class not registered' error message, then you should recreate the IIS packages in COM+, try

a) Delete IIS related package in Component Services MMC
• IIS In-Process Applications
• IIS Out-of-Process Pooled Applications
• IIS Utilities

b) Open command prompt, navigate to %windir%\system32\inetsrv folder, and enter (case sensitive)
c:\winnt\system32\inetsrv\>rundll32 wamreg.dll, CreateIISPackage
then
c:\winnt\system32\inetsrv\>regsvr32 asptxn.dll

c) Enter IISRESET at command prompt to restart IIS services, then re-open Component Services MMC to verfiy the IIS packages are recreated.



If you got this while trying to fix the component services.
Error Code = 0x80040206
Non expected internal error
Not enable to register COM+ events classes.

Try regsvr32 %windows%/system32/ole32.dll, then retry the kb to fix the component services


NO guarantee from Author