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

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

http://www.david-obrien.net/2013/02/07/how-to-configure-the-configmgr-client/



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 

KB2840628

http://henkhoogendoorn.blogspot.com.br/2013/07/unknown-sql-error-in-configmgr-after.html

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:

HARDWARE INVENTORY


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
action.PerformAction
End if
Next


For more information, refer to the following MSDN article: http://msdn.microsoft.com/en-us/library/cc144592.aspx

SOFTWARE INVENTORY

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
action.PerformAction
End if
Next



For more information, refer to the following MSDN article: http://msdn.microsoft.com/en-us/library/cc145432.aspx

3) use this tool where its possible to force/call HW/SW inventory from menu
http://sourceforge.net/projects/smsclictr/

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.

Download:

http://download.html.it/software/vistart/?utm_source=newsletter&utm_medium=email&utm_campaign=Newsletter:+Download.HTML.it&utm_content=21-09-2013+vistart-810 


<------------>

 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.

Download:

http://download.html.it/software/vistart/?utm_source=newsletter&utm_medium=email&utm_campaign=Newsletter:+Download.HTML.it&utm_content=21-09-2013+vistart-810

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.
Download:

http://download.html.it/software/mylanviewer/?utm_source=newsletter&utm_medium=email&utm_campaign=Newsletter:+Download.HTML.it&utm_content=21-09-2013+mylanviewer-4164 

<------------>

 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.


Download:

http://download.html.it/software/mylanviewer/?utm_source=newsletter&utm_medium=email&utm_campaign=Newsletter:+Download.HTML.it&utm_content=21-09-2013+mylanviewer-4164

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:

http://office.microsoft.com/en-us/outlook-help/automatically-change-incoming-message-colors-and-fonts-based-on-sender-subject-or-recipients-HA102054868.aspx

Linux - Best diagnostic Tool

Here are some important Linux diagnostic tool:

1) Memtest86

http://www.memtest86.com/

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

http://smartmontools.sourceforge.net/

3) Temperature Sensor:

http://lm-sensors.org/

[from http://www.html.it/articoli/linux-i-migliori-tool-per-la-diagnostica-3/]

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:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\BackupRestore\FilesNotToSnapshot

  1. Look for "OutlookOST" key 
  2. Delete it.
  3. Restart Backup program
[original Post http://www.achab.it/blog/index.cfm/2013/9/quando-il-backup-del-pc-non-fa-il-backup-di-outlook.htm]

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

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

‘strDepartment = objUser.Department

‘strCompany = objUser.Company

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

objSelection.TypeText strName

objSelection.TypeText(Chr(
11))
‘Role of Staff
objSelection.Font.Name =
“Calibri”
objSelection.Font.Bold =
False
objSelection.Font.Size =
“11″
objSelection.Font.Color =
0

objSelection.TypeText strTitle

objSelection.TypeText(Chr(
11))
‘Company Logo (stored in network share accessed by everyone)
objSelection.InlineShapes.AddPicture(
“\\servername\netlogon\signature.jpg”)

objSelection.TypeParagraph()
‘Company Contact details
objSelection.Font.Color = RGB(
38,38,38)
objSelection.TypeText
“Tel +44 (0) 744 525 5214″
objSelection.TypeText(Chr(
11))
objSelection.TypeText
“Fax +44 (0) 744 524 2244″
objSelection.TypeText(Chr(
11))
objSelection.Font.Color = RGB(
23,54,93)
objLink = objSelection.Hyperlinks.Add(objSelection.Range,
http://www.sujeeth.net/&#8221;,,“Sujeeth Home Page”,“www.sujeeth.net”)

objSelection.TypeParagraph()

objSelection.TypeParagraph()
‘environment message
objSelection.Font.Name =
“Webdings”
objSelection.Font.Size =
“14″
objSelection.Font.Color = RGB(
115,155,63)
objSelection.TypeText
“P “
objSelection.Font.Name =
“Calibri”
objSelection.Font.Size =
“9″
objSelection.TypeText
“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
objWord.Quit

———————-

http://technobuff.wordpress.com/2009/08/21/set-up-outlook-signature-with-logo-hyperlink-and-active-directory-information/ 

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



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

http://cgi.ebay.it/ws/eBayISAPI.dll?ViewItem&item=181213195411

Sensore
  • Sensore immagini CCD
  • Circa 16,2 megapixel

Display

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

Filmati

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

Alimentazione

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

Archiviazione

  • 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.

http://mountainss.files.wordpress.com/2013/02/system-center-2012-logo.png 
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:

http://www.alessandromazzanti.com/search/label/SCCM%202012


<---------->

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:

http://www.alessandromazzanti.com/search/label/SCCM%202012

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
HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Outlook\Security
Microsoft Outlook 2000
HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Outlook\Security


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:

http://anoopcnair.com/2012/07/01/sccm-configmgr-2012-primary-site-server-and-database-recovery-part-1/

http://technet.microsoft.com/en-us/library/gg712697.aspx

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

http://www.windows-noob.com/forums/index.php?/topic/4550-using-sccm-2012-rc-in-a-lab-part-11-adding-the-reporting-services-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:

http://www.windows-noob.com/forums/index.php?/topic/5683-using-system-center-2012-configuration-manager-part-5-adding-wsus-adding-the-sup-role-deploying-the-configuration-manager-client-agent/

Deploy Monthly Updates:

http://www.windows-noob.com/forums/index.php?/topic/6799-using-system-center-2012-configuration-manager-part-9-deploying-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: https://www.microsoft.com/it-it/download/malicious-software-removal-tool-details.aspx]


[update 2017.08.16]


new link:


https://www.microsoft.com/it-it/download/malicious-software-removal-tool-details.aspx  

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

Vaccinator
-  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:
http://support.microsoft.com/kb/162797.

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

http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-17-44-metablogapi/6153.9780735682931x_5F00_5EFBD7BF.jpg

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
http://blogs.msdn.com/b/microsoft_press/archive/2013/08/01/free-ebook-introducing-windows-server-2012-r2-preview-release.aspx?loc=zTS1z&prod=zWSz&tech=zOttechz&prog=zPressz&type=zDLz&media=zBKz&country=zUSz 

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 http://community.spiceworks.com/scripts/show/82-windows-update-agent-force-script-email-results-version-2-6?page=6).

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