venerdì 3 aprile 2015

Sulla vicenda dell'America's Cup

E' notizia di questi giorni che il defender dell'Americas Cup, Teamo Oracle e altri tre challenger hanno votato per cambiare le regole di stazza della 35a coppa per ridurre i costi, al di là della notizia e delle motivazioni, ciò che mi è piaciuto e che sento sia il caso di riportare qui è uno stralcio della dichiarazione di Patrizio Bertelli fondatore del team:

“In sports, as in life, one cannot always go for compromise, after compromise, after compromise,” states team owner Patrizio Bertelli. “Sometimes it is necessary to make decisions that are painful but must be clear cut, as only these can make everybody aware of the drifts of the system and therefore set the basis for the future: respect of legality and sportsmanship”

La notizia completa è visibile qui: http://www.sailingscuttlebutt.com/2015/03/31/new-americas-cup-class-approved/?utm_medium=email&utm_campaign=Scuttlebutt+4303+-+April+3+2015&utm_content=Scuttlebutt+4303+-+April+3+2015+CID_59089a79f6927b2b542626f703f3d2ae&utm_source=Email%20Newsletter&utm_term=smaller%20and%20more%20affordable%20boat

mercoledì 11 marzo 2015

Disable Internet Explorer Java ActiveX check

Per permettere l'esecuzione di versioni java obsolete che sono compatibili con applicazioni di terze parti come Unicredit banking eseguire i seguenti passi:

reg add "HKCU\Software\Microsoft\Internet Explorer\VersionManager" /v DownloadVersionList /t REG_DWORD /d 0 /f

del “%LOCALAPPDATA%\Microsoft\Internet Explorer\VersionManager\versionlist.xml”
 
 
Il secondo passaggio conviene farlo partendo da “%LOCALAPPDATA%
 
Altri workaround
http://blogs.msdn.com/b/ie/archive/2014/08/06/internet-explorer-begins-blocking-out-of-date-activex-controls.aspx
 

lunedì 26 gennaio 2015

UAC control and dll registration.

Recently I installed on a user pc an application with many Ocx and Dll registrations, after that for user friendliness, I disabled the UAC. This office does not have IT staff so the user should install software without help. I know this is not a goog behaviour but nothing else should be done, the user has to be autonomous.

So after disabling UAC the software installed stopped to work, dll or ocs missing. I presume this is due to the virtual directories where uac store files when install a software. So I want to try this:
 "
Disable only the VirtualStore feature not the entire UAC. A possibly better choice if you feel this feature is not important to the way you use your computer. This can be done by going to Local Security Policy -> Local Policies -> Security Options and Disabling User Account Control: Virtualize file and registry write failures to per-user locations "

Another test is to make the application trusted, this should be done by assign full access right to users group at application directory level.

Some useful links:


Inside Windows 7 User Account Control



http://www.sevenforums.com/news/19426-user-account-control-data-redirection.html


LUA Buglight

http://blogs.msdn.com/b/aaron_margosis/archive/2012/11/28/lua-buglight-2-2-with-support-for-windows-8.aspx

Windows Process Monitor

https://technet.microsoft.com/en-us/sysinternals/bb896645.aspx

https://decibel.ni.com/content/groups/windows-7/blog/2009/10/02/uac-virtualization-and-how-it-affects-your-installers

sabato 24 gennaio 2015

Il testo di un poeta moderno

VIENI A BALLARE IN PUGLIA
CAPAREZZA
I delfini vanno a ballare sulle spiagge
Gli elefanti vanno a ballare in cimiteri sconosciuti
Le nuvole vanno a ballare all'orizzonte
I treni vanno a ballare nei musei a pagamento
E tu dove vai a ballare?

Vieni a ballare in Puglia Puglia Puglia
Tremulo come una foglia foglia foglia
Tieni la testa alta quando passi vicino alla gru
Perchè può capitare che si stacchi e venga giù

Ehy turista so che tu resti in questo posto italico
Attento! Tu passi il valico ma questa terra ti manda al manicomio
Mare adriatico e Jonio, vuoi respirare lo iodio
Ma qui nel golfo c'è puzza di zolfo, che sta arrivando il demonio
Abbronzatura da paura con la diossina dell'ILVA
Qua ti vengono pois più rossi di Milva e dopo assomigli alla Pimpa
Nella zona spacciano la morìa più buona
C'è chi ha fumato i veleni dell'ENI, chi ha lavorato ed è andato in coma
Fuma persino il Gargano, con tutte quelle foreste accese
Turista tu balli e tu canti, io conto i defunti di questo paese
Dove quei furbi che fanno le imprese, no non badano a spese
Pensano che il protocollo di Kyoto sia un film erotico giapponese

Vieni a ballare in Puglia Puglia Puglia
Dove la notte è buia buia buia
Tanto che chiudi le palpebre e non le riapri più
Vieni a ballare e grattati le palle pure tu
Che devi ballare in Puglia Puglia Puglia
Tremulo come una foglia foglia foglia
Tieni la testa alta quando passi vicino alla gru
Perché può capitare che si stacchi e venga giù

E' vero, qui si fa festa, ma la gente è depressa e scarica
Ho un amico che per ammazzarsi ha dovuto farsi assumere in fabbrica
Tra un palo che cade ed un tubo che scoppia in quella bolgia si accoppa chi sgobba
E chi non sgobba si compra la roba e si sfonda finché non ingombra la tomba
Vieni a ballare compare nei campi di pomodori
Dove la mafia schiavizza i lavoratori, e se ti ribelli vai fuori
Rumeni ammassati nei bugigattoli come pelati in barattoli
Costretti a subire i ricatti di uomini grandi ma come coriandoli
Turista tu resta coi sandali, non fare scandali se siamo ingrati e ci siamo dimenticati d'essere figli di emigrati
Mortificati, non ti rovineremo la gita
Su, passa dalla Puglia, passa a miglior vita

Vieni a ballare in Puglia Puglia Puglia
Dove la notte è buia buia buia
Tanto che chiudi le palpebre e non le riapri più
Vieni a ballare e grattati le palle pure tu
Che devi ballare in Puglia Puglia Puglia
Dove ti aspetta il boia boia boia
Agli angoli delle strade spade più di re Artù
Si apre la voragine e vai dritto a Belzebù

O Puglia Puglia mia tu Puglia mia
Ti porto sempre nel cuore quando vado via
E subito penso che potrei morire senza te
E subito penso che potrei morire anche con te.

venerdì 16 gennaio 2015

use MDT to install application

Six months are gone after I started using MDT, I used version 2010 an 2012 and finally deployed more or less 100 pc in more or less two weeks.
It takes longer to copy and configure user's profile thant to install the new os and the new hardware.

Anyway the most interesting part is the application install.

After you have installed all the staff you can setup a task just to install some application, prepare the silent installation of the application you need and configure accordingly the task.

Then on the client (no matter if this was a new one with other oem OS) open a command window, connect to the mdt share and launch LiteTouch.wsf, select the proper application then exit.

net use \\server\mdt$  
cscript \\server\mdt\Scripts\LiteTouch.WSF

lunedì 17 novembre 2014

DHCP Authiorization troubleshoting Windows 2003/2008

Nowadays often DHCP has to be migrated on new servers, sometimes this should be tricky most times for a wrong procedure so here some steps:

1. dump existing dhcp configuration on source server:
open elevated command prompt and type 
netsh dhcp server \\ export [ip scope]

2. unauthorize server on source server
3. stop dhcp server service and disable it from autostart
4. install new role in the server and do not configure.
5. import configuration in new server:
netsh dhcp server %computername% import
6. start server 
7. authorize
8. make service DHCP auto start


if some troubles come up, like "unable to autorize" or "server already authorized" you should retry the authorization with this useful window:


Outlook Favorites missing and troubleshooting

If your outlook 2007 or 2010 do not show all the favorites try to reset the functionality
outlook.exe /resetnavpane

Else look at this file:
c:\Users\\AppData\Roaming\Microsoft\Outlook\outlook.xml

There's should be some strange character inside.