Category Archives: Scripting

PowerShell Script to Query Wireless Modem and pull Asset Information.

By | February 3, 2014
Share

Pulling a Wireless WAN Modem’s information while in the field is a daunting task. Here is a script to pull this information using AT commands with in a PowerShell script. The script was tested on a CF-53J Toughbook laptop with an embedded Sierra 7750 (Verizon LTE) modem. The script displays methods of capturing the information… Read More »

A Custom vbScript to Restore and Capture User Data using USMT 4.

By | January 31, 2014
Share

The reason for a custom script, is that the customer wanted to see a prompt displaying how large the backup .MIG file would be before initiating the backup. The script was used in an SCCM 2012/MDT 2012U1 UDI Task Sequence.  I kicked off the script using a “Run a Command Line” step and used the… Read More »

Script to Force Intel Graphics Card to Maintain Aspect Ratio When Switching Display Resolutions.

By | January 30, 2014
Share

Some people despise the “stretch”.  This stretching occurs on newer screens that normally have an aspect ratio of 16:9 or 16:10 and are set to a 4:3 aspect ratio display resolution (i.e. 1024 x 768).  In some cases setting the 4:3 ratio resolution is required for an antiquated application’s view ability.  Setting this via a script is… Read More »

How to suppress the “An ActiveX control on this page might be unsafe” error.

By | January 8, 2014
Share

This error surfaced on a customer’s unit that was running Intergraph MPS, IFR and Informer application. The application utilizes an ActiveX control and Windows 7 was prompting the user every time the application was opened. In the registry, you can add the control ID as a “Safe for Scripting”. Locating the CLSID that the application… Read More »

Two Scripts to Disabled Adaptive Display Brightness / Ambient Light Sensor in Windows 7/8

By | December 18, 2013
Share

Using a laptop/tablet’s ambient can be a godsend on the battery, but on occasion, to the user it’s a nightmare. In some cases, disabling it is the only acceptable terms to get the unit out the field working as prescribed. Here are 2 scripts I’ve seen used, which work just fine on both Windows 7… Read More »