mercoledì 20 febbraio 2019

AppexNetwork Accelerator on Windows 7 64 and network socket/connections closed

For some days I was involved in a strange problem on a custom application.
This application was written in vb6 and used oracle as a backend; after the upgrade from oracle 9 to 10 on the server side, client started to present a strange behaviour on the application.

If the user left the application in the taskbar without using it for some minutes the application freezing without any possible way out. Only killing the task.

The first actions was to verify some parameters on the network card, supposing the problem was caused by some Green feature to save energy

So with this command see the situation of the tcp stack
netsh int tcp show global
netstat –t

Used this documentation to understand the features of new network driver
http://docwiki.cisco.com/wiki/Contact_Center_Networking:_Offload,_Receive_Side_Scaling_and_Chimney
https://support.microsoft.com/it-it/kb/951037 
http://blogs.technet.com/b/onthewire/archive/2014/01/21/tcp-offloading-chimney-amp-rss-what-is-it-and-should-i-disable-it.aspx
http://www.peerwisdom.org/2013/04/25/disabling-large-send-offload-windows/


Disabled some functionality of tcp
netsh interface tcp set global chimney=disabled

netsh interface tcp set global rss=disabled


Look on something about the Nagle Alghoritm
http://apmblog.dynatrace.com/2014/07/24/understanding-application-performance-on-the-network-the-nagle-algorithm/

Then I found that the problem was presenting only in some HP pc. 
We bought two different HP workstation with Intel and AMD processors and chipset and I found 
that the problem was appeared only in AMD ones.

Even in clean windows 7 installation after the update of the os and card drivers the problem 
started presenting.
So I found a strange component called Appex Network Accelerator only in this machine, 
disabling it the problem disappeared


http://www.techsupportforum.com/forums/f31/appex-networks-accelerator-network-protocol-will-squash-your-internet-speed-877593.html
http://forums.anandtech.com/showthread.php?t=2398779

ITALIAN:

Il problema è causato da una funzionalità legata ai processori AMD e installata in automatico su qualsiasi scheda di rete, questo spiega perché alcuni test fatti con altre schede avevano dato dapprima esito positivo e successivamente (magari dopo update) esito negativo.
Ho riscontrato che disabilitando il componente Appex Network Accelerator,  evidenziato sotto, il problema si risolve senza dover reinstallare il sistema operativo.

venerdì 4 gennaio 2019

Outlook: disable use of cached credentials for users not in domain

In large organisations where mailbox is managed centrally but remote desktop or laptop are not in the same active directory context user connects to exchange via RPC or outlook Anywhere.

The account used is an active directory account with probably an expiration so happens that account expires but user do not change the cached password with new one.

To instruct outlook ask every time the password there is a this nice registry key:

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\16.0\Outlook\Security]
"PromptForCredentials"=dword:00000001

Change version accordingly to yours- If you don't know which version is, look at it into one of the office application before to load the key.

Remember that since the key is stored in the Current User if he or she does not have the rights to edit the registry you have to load the hive from an administrative account. But this is another question...

Need help on that ? write me.

Change SAP logon page language

Open SAPLOGON PAD, click on the upper left corner of SAPlogon pad -> click options -> change the language and give OK.

lunedì 10 dicembre 2018

Bush Senjor most liked place

Cavu
Ceiling and visibility unlimited

venerdì 7 settembre 2018

Windows 10 screen recording

Windows 10 ha una comoda funzionalità per la registrazione del video, basta premere la combinazione Win+G per attivare la Gaming bar che, tra le varie funzioni ha anche la registrazione dello schermo.
Molto utile per avere una veloce registrazione in formato mpeg.

martedì 12 giugno 2018

Reset POE on hp/aruba switch

no interface B1 power-over-ethernet

MySql: la noia di dover modificare l'utente root per accedere da server remoti


 Dopo aver installato mysql sul mio raspberry e php myadmin mi si è presentato un'altra volta il warning:
#1698 - Access denied for user 'root'@'localhost'

Trovo sia una scocciatura immane, quale dispositivo ora non viene utilizzato da remoto ?

Mi scrivo le note su come creare un utente con i diritti totali

sudo mysql --user=root mysql
 

CREATE USER 'michele'@'localhost' IDENTIFIED BY '****';

GRANT ALL PRIVILEGES ON *.* TO 'michele'@'localhost' WITH GRANT OPTION;

FLUSH PRIVILEGES;