Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

Tuesday, 23 August 2011

Windows Installer reference counting implementation on the registry

The old reference counting strategy was using the SharedDlls key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDlls

This is legacy, for many good reasons.
But where is the new reference counting strategy implemented?
The "new", in quote because it has been around for a while nowadays, Windows Installer way is implemented under a different registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData

where the key S-1-5-18 is for per applications installed machine-wide, while the eventual other SIDs are for the user applications.

Thursday, 17 February 2011

How to defragment the System Volume Information folder

How to defragment the System Volume Information folder?
We may use Mark Russinovich's Contig, one of the utilities in the Windows Sysinternals suite.
We have to start a Command Prompt as Local System, in example as described here, and then run:

contig -v -s "c:\System Volume Information"

P.S: I just discovered Mark wrote a book, Zero Day, now that is a promising reading :)

Tuesday, 15 February 2011

Where is Orca?

You have got the Windows SDK (in my case Windows 7 and .NET Framework 3.5 SP1), and you are looking for Orca, where is that?

Mount the ISO (in my case the x64 version, GRMSDKX_EN_DVD.iso), or explore that with some tool (in my case 7zip x64 9.20, which you will have to use in every chance), drill to Setup\WinSDKTools_amd64\cab1.cab, you will see a WinSDK_Orca_Msi_5E20C107_DAA3_4D49_AFAE_7FB2594F0CDC_amd64 file, extract that, rename it to orca.msi, and that's it.

Tuesday, 27 October 2009

Simbolo Microsoft Windowsiano

Dal breviario degli evangelisti (Microsoft):

Credo in un solo Sistema Operativo,
Supervisore onnipotente,
creatore dell'allocazione e del processo,
di tutte le cose eseguibili ed ineseguibili.

Credo in un solo Sistema Operativo, Windows,
unigenito Figlio di Microsoft,
nato da Microsoft prima di tutti i secoli:
Sistema Operativo da Sistema Operativo,
Desktop da Desktop,
Sistema Operativo vero da Sistema Operativo vero,
acquistato, non copiato,
allo stesso stessa prezzo imposto da Microsoft; (*)
per mezzo di lui tutti i processi sono stati eseguiti.

Per noi utenti
e per la nostra salvezza
è stato messo in vendita
e per opera degli OEM
si è integrato nel seno del controllo qualità,
e si è fatto codice eseguibile.

Fu infettato per noi sotto Arbusto Figlio, (**)
crasciò
e fu formattato

Il terzo giorno si è autoreinstallato,
secondo le Istruzioni,

e si è autoallocato,
ed esegue alla destra di Microsoft.

E di nuovo verrà eseguito, nella gloria,
per giudicare i processi in esecuzione e zombie,
e la sua esecuzione non avrà fine.

Credo negli OEM,
che sono Microsoft e danno la vita,
e procedono da Microsoft e da Windows,
e con Microsoft e Windows sono adorati e glorificati,
e parlano per mezzo dei pubblicitari.

(*) Punto moltro controverso, gli omousiani ritengono che il prezzo
sia imposto uguale per tutti, per omoiusiani che sia indicativo, poi
ci sono altri eretici che propongono le tesi più strampalate.
(**) Proconsole di America durante la generazione di Windows, anche se
alcuni ritengono fosse in realtà Pillo Clinto, mentre altri parlano di
Lusai Baraccopama.

Thursday, 16 October 2008

What if you really cannot press F8?

You may then edit the boot.ini file.
Microsoft has got a quite terse KB about that, titled Safe-Mode Boot Switches for Windows Boot.ini File.
Good safe-mode computing ..