Uncheck “Install new versions automatically” in Internet Explorer 10 during deployment

IF you during deployment you want to easily uncheck “Install new versions automatically” feature, there is a registry setting you can configure prior to actual IE setup.exe or msi, whatever you use. Copy the following text to a notepad and save it as a REG file. Then use REG IMPORT “Disable_AutoUpdate.reg” before you deploy your…

June 7, 2013 · 1 min · 118 words · Vitalie Ciobanu

Uninstall software on remote computers using WMIC

Recently, I wanted to install Nokia Ovi Suite to several computers in a company that started to have problems with their internet provider; it’s a third day when they do not have internet connection. So I thought it’s a good idea to show them how they can use their Nokia E72 phones to connect their…

April 16, 2013 · 2 min · 310 words · Vitalie Ciobanu

Uninstall KB 2823324 using ConfigMgr

Create a CMD file with the following content @echo off :: – – – – – Check if KB is installed – – – – – – – – systeminfo | findstr 2823324 :: – – – – – If not installed (1), exit – – – – – – – IF %errorlevel% EQU 1…

April 16, 2013 · 1 min · 154 words · Vitalie Ciobanu

Find computer name for a remote computer using PSExec

Let’s say you know the IP address of a computer but you don’t know the hostname. Seems to be an easy task with ping –a, if you have a working DNS If not, you can try the following approach: Create a cmd file on client’s computer. Say in \IP\C$\Windows\Temp\FindHostname.cmd Edit FindHostname.cmd. Type in: echo %computername%…

April 15, 2013 · 1 min · 71 words · Vitalie Ciobanu

Open local group policy settings on a remote system

From Run or Command Prompt window: gpedit.msc /gpcomputer: Computername

April 8, 2013 · 1 min · 9 words · Vitalie Ciobanu

Collection with Windows 7 computers without SP1

First, if you want your query to display the right information, you must have a collection with all Windows 7 computers, regardless of the service pack version installed. Here is the simplest query to create “All Windows 7 computers” collection (please make this collection “Not collection limited”): 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…

October 19, 2012 · 1 min · 133 words · Vitalie Ciobanu

Find OS Architecture using Win32_OperatingSystem class

WMI queries to find 64 and 32 bit computers: SELECT * FROM Win32_OperatingSystem WHERE OSArchitecture = “64-bit” SELECT * FROM Win32_OperatingSystem WHERE OSArchitecture = “32-bit”

October 19, 2012 · 1 min · 25 words · Vitalie Ciobanu

Computers without Java 6 Update 30

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.Version < “6.0.300” and SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName like “Java(TM) 6%”

October 19, 2012 · 1 min · 21 words · Vitalie Ciobanu

Count Adobe Reader versions

SELECT DISTINCT TOP (100) PERCENT DisplayName0, Version0, COUNT(Version0) AS Total FROM dbo.v_GS_ADD_REMOVE_PROGRAMS GROUP BY DisplayName0, Version0 HAVING (DisplayName0 LIKE ‘%Adobe Reader%’) ORDER BY Total DESC, DisplayName0

October 19, 2012 · 1 min · 26 words · Vitalie Ciobanu

Collections with computers without Forefront Endpoint Protection 2010 client

A customer asked me today to help him with creating some collections with client computers that do not have FEP 2010 installed so he can advertise the antivirus client to those computers. You can find the queries bellow. All Windows 7 without Forefront Endpoint Protection 2010 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_COMPUTER_SYSTEM on…

October 19, 2012 · 2 min · 326 words · Vitalie Ciobanu