Post in evidenza

Recovery - Access, Excel, Word, Office and Photo recovery tools and other blog procedures

During these years I had necessity to recover various files (.doc, mdb, .xls, photos...)  I utilized various free tools (here is an exampl...

SCCM 2012 - Change Client Cache Size

Deploying the SCCM Client we can define cache size (default is 5510 Mb SMSCACHESIZE ) otherwise we can change it running an opportune .vbs script like the following:

On Error Resume Next
Dim UIResManager
Dim Cache
Dim CacheSize

Set UIResManager = createobject ("UIResource.UIResourceMgr")
Set Cache=UIResManager.GetCacheInfo()
Otherwise, if you are interested, you can a custom powershell script at the following link:

SCCM 2012 - Unknown SQL error in ConfigMgr after installing DotNet updates

Looking on internet I have found an interesting article that inform about the problem after installing the following patch 


on a SCCM Server.

Here are the relative Error:

SMS_STATE_SYSTEM The State System message file processing could not process file '********.SMX' and moved it to the corrupt directory. Review the statesys.log file for further details.
Microsoft SQL Server reported SQL message 50000, severity 16: *** Unknown SQL Error!

STATESYS.LOG *** *** Unknown SQL Error!
CMessageProcessor - Encountered a non-fatal SQL error while processing
CMessageProcessor - Non-fatal error while processing ********.SMX

SITESTAT.LOG omGetServerRoleAvailabilityState could not read from the registry on ; error = 6; ---->: Failed to get the Availability State on server fro role Distribution Point.

The problem has been solved removing  

Microsoft should resolve the fix problem anyway  you can find temporary solutions for these issues in this blog post: Issues Reported with MS13-052 (KB2840628) and Configuration Manager

SCCM 2012 - .vbs to force Hardware Inventory/Software Inventory on client

With SCCM 2012 there are 3 ways to force Hardware Inventory/software Inventory.

1) Create a Client Policy and deploy it to the client with the scheduled required

2) Create two .vbs like the following:


hInventoryActionID = "{00000000-0000-0000-0000-000000000001}"
Set oLocator = CreateObject("WbemScripting.SWbemLocator")
Set oServices = oLocator.ConnectServer( , "root\ccm\invagt")
oServices.Delete "InventoryActionStatus.InventoryActionID=""" & hInventoryActionID & """"
wscript.sleep 3000
Set cpApplet = CreateObject("CPAPPLET.CPAppletMgr")
Set actions = cpApplet.GetClientActions
For Each action In actions
If Instr(action.Name,"Hardware Inventory") > 0 Then
End if

For more information, refer to the following MSDN article:


sInventoryActionID = "{00000000-0000-0000-0000-000000000002}"
Set oLocator = CreateObject("WbemScripting.SWbemLocator")
Set oServices = oLocator.ConnectServer( , "root\ccm\invagt")
oServices.Delete "InventoryActionStatus.InventoryActionID=""" & sInventoryActionID & """"
wscript.sleep 3000
Set cpApplet = CreateObject("CPAPPLET.CPAppletMgr")
Set actions = cpApplet.GetClientActions
For Each action In actions
If Instr(action.Name,"Software Inventory") > 0 Then
End if

For more information, refer to the following MSDN article:

3) use this tool where its possible to force/call HW/SW inventory from menu

Windows 8 - ViStart

ViStart è un’applicazione dedicata a tutti gli utenti che nel passaggio dalla versione 7 alla 8 del sistema operativo Windows sono rimasti spiazzati dai cambiamenti apportati da Microsoft all’interfaccia grafica. In particolare, tra le tante modifiche presenti nella nuova interfaccia, figura anche la rimozione del classico menu “Start”, storicamente posizionato in basso a sinistra nella finestra principale. Con questo programma è possibile ripristinare il pulsante Start in Windows 8 in maniera semplice e veloce, senza andare a toccare configurazioni di sistema con il rischio di compromettere il corretto funzionamento di Windows.



 ViStart is an application dedicated to all users in the transition from version 7 to 8 of the Windows operating system are taken aback by the changes made by Microsoft to the graphical interface. In particular, among the many changes in the new interface is also included the removal of the classic "Start" menu, historically located at the bottom left of the main window. With this program you can restore the Start button in Windows 8 in quickly and easily, without touching system configurations with the risk of jeopardizing the proper functioning of Windows.


Programma - MyLanViewer Lan Scanner

MyLanViewer è un software di analisi grazie al quale è possibile scannerizzare l’intera rete in modo da conoscere tutti i dispositivi che sono connessi in quel momento. Il programma permette anche di utilizzare numerosi utili strumenti come NetBIOS scanner, whois, traceroute e offre la possibilità di eseguire shutdown da remoto dei computer connessi.
MyLanViewer è semplice da utilizzare e si presenta con un’interfaccia utente estremamente intuitiva da cui è possibile accedere a tutte le funzioni del programma. Per ogni client connesso è possibile conoscere il nome della macchina, l’indirizzo IP di connessione, l’indirizzo MAC, le risorse condivise ed i dettagli tecnici del PC. La lista dei dispositivi connessi viene mostrata mediante un’interfaccia grafica.
Tra le principali caratteristiche dell’applicazione:
  • analisi in tempo reale della LAN;
  • visualizzazione grafica dei risultati;
  • visualizzazione informazioni su tutti i client connessi.


 MyLanViewer is an analysis software with which you can scan your entire network in order to know all the devices that are connected at that time. The program also allows you to use many helpful tools such as NetBIOS scanner, whois, traceroute, and offers the possibility to be shutdown remotely connected computers.

MyLanViewer is easy to use and comes with an intuitive user interface from which you can access all the functions of the program. For each connected client can know the name of the machine, the connecting IP address, MAC address, shared resources and the technical details of the PC. The list of connected devices is shown through a graphical interface.

Among the main features of the application:

     real-time analysis of the LAN;
     graphic visualization of results;
     display information about all connected clients.


Office - Automatically change incoming message colors and fonts based on sender, subject, or recipients

Conditional formatting is a way to make messages that meet defined conditions stand out in the message list by using color, fonts, and styles. You specify conditions that an incoming message should meet, such as a sender’s name or email address, and then conditional formatting is applied only to those messages.
For example, a conditional rule can specify that all messages sent from your manager appear in red text in the message list.

Here is the relative article:

Linux - Best diagnostic Tool

Here are some important Linux diagnostic tool:

1) Memtest86

2) S.M.A.R.T. Monitoring Tools

3) Temperature Sensor:


Tips - File .ost not Backup up

Backup program usually don't backup Outlook .ost files.

If you would like to bypass this problem you shold make the following registry modify:


  1. Look for "OutlookOST" key 
  2. Delete it.
  3. Restart Backup program
[original Post]

Outlook - Automatic Outlook Signature with .vbs collecting data from AD Environment

There's a very useful way to setting up an automatic Signature inside Microsoft Outlook.

This way is implementing a .vbs on each client that get the user information in AD and automatic create the relative signatures with the right images and formatting model.

The script could be put inside NETLOGON share or local PC/Client depending upon the requirements.

Here is the .vbs and the link to the original article:

On Error Resume Next

Set objSysInfo = CreateObject(“ADSystemInfo”)
strUser = objSysInfo.UserName

objUser = GetObject(“LDAP://” & strUser)
strName = objUser.FullName
strTitle = objUser.Title

‘strDepartment = objUser.Department

‘strCompany = objUser.Company

‘strPhone = objUser.telephoneNumber
Set objWord = CreateObject(“Word.Application”)
objDoc = objWord.Documents.Add()
objSelection = objWord.Selection
objSelection.Style =
“No Spacing”
objEmailOptions = objWord.EmailOptions
objSignatureObject = objEmailOptions.EmailSignature
objSignatureEntries = objSignatureObject.EmailSignatureEntries
‘Name of Staff
objSelection.Font.Name =
objSelection.Font.Bold =
objSelection.Font.Size =
objSelection.Font.Color = RGB(

objSelection.TypeText strName

‘Role of Staff
objSelection.Font.Name =
objSelection.Font.Bold =
objSelection.Font.Size =
objSelection.Font.Color =

objSelection.TypeText strTitle

‘Company Logo (stored in network share accessed by everyone)

‘Company Contact details
objSelection.Font.Color = RGB(
“Tel +44 (0) 744 525 5214″
“Fax +44 (0) 744 524 2244″
objSelection.Font.Color = RGB(
objLink = objSelection.Hyperlinks.Add(objSelection.Range,;,,“Sujeeth Home Page”,“”)


‘environment message
objSelection.Font.Name =
objSelection.Font.Size =
objSelection.Font.Color = RGB(
“P “
objSelection.Font.Name =
objSelection.Font.Size =
“Please consider the environment before printing this e-mail.”
Set objSelection = objDoc.Range()
objSignatureEntries.Add “Standard Signature”, objSelection
objSignatureObject.NewMessageSignature =
“Standard Signature”
objSignatureObject.ReplyMessageSignature =
“Standard Signature”
objDoc.Saved = True


Samsung ST72 16,2 Mpixel - Macchina Fotografica Digitale ad 85,90 Euro

Vendo la seguente macchina digitale su Ebay ad 85,90 Euro:

  • Sensore immagini CCD
  • Circa 16,2 megapixel


  • Dimensione 3"
Auto, 80, 100, 200, 400, 800, 1600, 3200


  • 1280 x 720 (30 fps), 640 x 480 (30 fps), 320 x 240 (30 fps), per condivisione (30 fps)


Batteria ricaricabile: BP-70A, 3,7 V, Connettore alimentazione CC: 5 pin,


  • Memoria esterna (opzionale): Micro SD™ (fino a
    2 GB garantiti) micro SDHC (fino a 32 GB garantiti), micro SDXC (fino a 64 GB garantiti)

Dimensioni / Peso

  • 9,44 x 5,795 x 1,77 (20) cm
  • 108 g (senza batteria e scheda di memoria)

Stabilizzatore d'immagine

  • Stabilizzazione digitale dell'immagine (DIS)

SCCM 2012 - 20 Tutorial Step By Step to install, configure and use Primary and Secondary Site, SP1 install and backup solution. 
Per quanto riguarda SCCM copio ed incollo i vari tutorial del Blog da me appuntati per l'installazione di SCCM 2012 del Primary Site, secondary Site, WSUS, installazione SP1, soluzioni di backup.

Spero siano utili a qualcuno

P.S. Per visionare tutti gli articoli del blog su SCCM 2012 vi intito a visionare il seguente link:


Here you can find different tutorial, self maded, that explain you, step by step, how to install a primary and secondary Site, backup solution, SP1 install and WSUS patching.

I hope that you'll find them useful

P.S. If you are interested to view every blog article about SCCM 2012 you can follow the above link:

Outlook - How to Disable download Dangerous Attachment

Using Outlook it's possible that the attachment received are in grey color.

To solve this problem we must use:

start --> run ... --> regedit.

looking for this section:

Microsoft Office Outlook 2013HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Security
Microsoft Office Outlook 2010HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Security
Microsoft Office Outlook 2007HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Security
Microsoft Office Outlook 2003HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Security
Microsoft Outlook 2002
Microsoft Outlook 2000

When we have found our section we must create a new STring Level1Remove and we should insert the file extension that we want enable to download (For example .exe, .com, .vbs)   

SCCM 2012 - p.20 - Backup and Recovery

For backup and Recovery an SCCM 2012 Site you need to follow this two articles, very usefule and with a visive step by step tutorial:

SCCM 2012 - p. 12 - Install Reporting Point, WSUS Role and deploy Patch

Now that we have setting up different roles on SCCM 2012 we can follow this tutorial that usually use to add Reporting Point Role:

Add Reporting Point Role

Later if we want install WSUS role and learn how to deploy Windowsu client update here are the article that usually read during installation:

Add WSUS and SUP role:

Deploy Monthly Updates:

Antivirus - Malicious Software Removal Tool

Malicious Software Removal Tool

The Microsoft Malicious Software Removal Tool is an anti-malware utility that checks computers running Windows 8, Windows 7, Windows Vista, Windows XP, Windows 2000, Windows Server 2012, Windows Server 2008, and Windows Server 2003 for infections by specific, prevalent malicious software—including Blaster, Sasser, and Mydoom—and helps remove malware and any other infections found.
When the detection and malware removal process is complete, the tool displays a report describing the outcome, including which, if any, malware was detected and removed.

New anti-malware additions

We have added detection and cleaning capabilities for:
See the list of malicious software cleaned by this tool.
Note: The version of the tool delivered by Microsoft Update and Windows Update runs in the background and then reports if a malware infection is found. To run this tool more than once a month, use the version on this web page or install the version that is available at the Microsoft Download Center.
Because computers can appear to function normally when infected, it's a good idea to run this tool regularly even if your computer seems to be fine. You should also use up-to-date antivirus software, such as Microsoft Security Essentials, to help protect your computer from other malware. Windows 8 includes antivirus and antispyware software called Windows Defender. Windows Defender for Windows 8 replaces Microsoft Security Essentials.

Get a free safety scan

To scan your computer for malicious and potentially unwanted software, see the Microsoft Safety Scanner.
The Microsoft Safety Scanner is a free downloadable security tool that provides on-demand scanning and helps remove viruses, spyware, and other malware. It works with your existing antivirus software, but is not a replacement for antivirus software.

Technical assistance

Contact your anti-malware vendor for assistance with identifying or removing virus or worm infections. If you need more help with malware removal and other virus-related issues, contact Microsoft Support.
If you would prefer to bring your computer to a local repair person or to have someone come to you, use Microsoft Pinpoint to enter your zip code and find a Microsoft partner in your area that can help you remove malware.

[original Article:]

[update 2017.08.16]

new link:  

About some tools I would suggest these:

Malwarebytes and Bitdefender.

Here they are some free MAC Antivirus:

About Wannacry and similar ramsoware you can review this blog article, consider these toos to:

Antivirus - WannaCry Free Decryptor tool

Hacker - MS17-010 patch KB4012598 against Wannacry Ramsoware

-  immunizer against Petya and other ransomware. 

Some precedently information was taken reviewing this interesting article:

Tips - The trust relationship between this workstation and the primary domain failed - SOLUTION

To solve the error on a Workstation in a Microsoft Domain that give this error during login

The trust relationship between this workstation and the primary domain failed.

It could be solved without the rejoin on Domain.

This Join often appen when you do a rollback to an old snapshot of some month in Virtualized Environment.

Here are the soluzion:

1) MS solution:

2) logon locally as administrator and give the following command:

C:\>cd /Windows/System32

netdom.exe resetpwd /s: /ud:DOMAIN\ /pd:*

2012 Server - Free ebook: Introducing Windows Server 2012 R2 Preview Release

We’re very excited to announce another free ebook offering from Microsoft Press. Introducing Windows Server 2012 R2 Preview Release (ISBN 9780735682931), by Mitch Tulloch with the Windows Server Team, introduces new features and capabilities, with scenario-based advice on how the platform can meet the needs of your business. Get the high-level overview you need to begin preparing your deployment now. This book is based on the Preview release and will be updated to cover Windows Server 2012 R2 RTM.
Download the PDF version of this title here (108 pages, 5 MB). UPDATE: The EPUB format is here and the MOBI format is here.
Watch for the lengthier RTM edition of this ebook later this year!
If you prefer a hard copy of the book, you can order it here from our official distributor, O’Reilly Media, for $9.99.
NOTE: O'Reilly Media is the official distributor of Microsoft Press books. View O'Reilly's terms of service for use of their services (including payment services) and the privacy policy applicable to how O'Reilly handles your data.

Original Microsoft Article 

SCCM 2012 - How to enable Query Patch on Hardware Inventory for windows 7/8/2008/2012

If you manage, as usually, client patching with SCCM 2012 SP1 it’s very useful create an opportune collection to identify client that, with hardware inventory, has already installed the last Microsoft Patch.

On windows XP the query to use it’s the following:

Client with last patch installed

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName like "%KB2846071%"

Client with last patch not installed
select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_OPERATING_SYSTEM on SMS_G_System_OPERATING_SYSTEM.ResourceID = SMS_R_System.ResourceId where SMS_R_System.Client = 1 and SMS_R_System.ClientType = 1 and SMS_R_System.ResourceId not in (select SMS_R_System.ResourceID from SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName like "%KB2846071%") and SMS_G_System_OPERATING_SYSTEM.CSDVersion = "Service Pack 3"

With Windows Vista/7/8 client and 2008/2012 Server you need to make the following change to client Settings 

The collection with installed the last patch has the following syntax:

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_QUICK_FIX_ENGINEERING on SMS_G_System_QUICK_FIX_ENGINEERING.ResourceId = SMS_R_System.ResourceId where SMS_G_System_QUICK_FIX_ENGINEERING.HotFixID like "%kb2829530%"

To create an opportune Collection without the followed patch not installed:

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.Client = 1 and SMS_R_System.ClientType = 1 and SMS_R_System.ResourceId not in (select SMS_R_SYSTEM.ResourceID from SMS_R_System inner join SMS_G_System_QUICK_FIX_ENGINEERING on SMS_G_System_QUICK_FIX_ENGINEERING.ResourceId = SMS_R_System.ResourceId where SMS_G_System_QUICK_FIX_ENGINEERING.HotFixID like "%kb2829530%")

A patch workflow it could be to populate the collection modifyng the last KB microsoft that you want to push, install the patch
(I use the following script on SCCM without WSUS installed on SCCM Server

After the patching you can schedule an Hardware Inventory. Later the collection with patch installed it would be populate so you can have an immediate patching feedback