Wednesday, October 8, 2008

Status Check for Wake On Lan

On Error Resume Next

Const wbemFlagReturnImmediately = &h10
Const wbemFlagForwardOnly = &h20

arrComputers = Array("ComputerName")
For Each strComputer In arrComputers
   WScript.Echo
   WScript.Echo "=========================================="
   WScript.Echo "Computer: " & strComputer
   WScript.Echo "=========================================="

   Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\WMI")
   Set colItems = objWMIService.ExecQuery("SELECT * FROM MSNdis_DeviceWakeOnMagicPacketOnly", "WQL", _
                                          wbemFlagReturnImmediately + wbemFlagForwardOnly)

   For Each objItem In colItems
      WScript.Echo "Active: " & objItem.Active
      WScript.Echo "EnableWakeOnMagicPacketOnly: " & objItem.EnableWakeOnMagicPacketOnly
      WScript.Echo "InstanceName: " & objItem.InstanceName
      ''WScript.Echo   " **Computer" & strComputer & "  WOL Settings Failed to Retrive"
     
   Next
Next

Dell recommend using SMS WOL BIOS Settings remote Enable


Dell recommend using SMS and Dell OpenManage Client Instrumentation (OMCI).  However, this requires WMI scripting which may be prevented if security lockdown settings prevent such scripts from running.

Pros: Exposes the Dell BIOS to WMI and therefore enables almost any modification to be made by running VB script.  It also means SMS hardware inventory can then report upon  BIOS settings by extending the SMS_DEF.MOF.

Cons: Requires agent software to be run on the client.

The Dell Client Configuration Utility (DCCU) can be used as an alternative to the OMCI client to create stand-alone executables that can output configuration settings ('Get Values') to an XML file and/or configure BIOS settings ('Set Values'), including enabling WOL.

Pros: Leaves not footprint on the client

Cons: An executable file needs to be created for every action you want to perform against the BIOS; meaning heavier network utilization.

BiosConfigUtility.exe


HP provides a number of tools based on HP Client Management Interface (CMI).  The exception is HP System Software Manager (SSM) which includes a bundled utility called BiosConfigUtility.exe that modifies BIOS settings through a text-based file format, which can be used independently of SSM.   HP says a future version of HP SSM will leverage HP CMI on 32-bit and 64-bit platforms.

Modify the DNS Server Search Order for a Network Adapter

Modify the DNS Server Search Order for a Network Adapter


Configures a TCP/IP-bound network adapter to use two DNS servers: 192.168.1.100 and 192.168.1.200. Note that even if a computer only uses one DNS server, the IP address of that server must still be passed to the SetDNSServerSearchOrder method as an array (in that case, an array with only one element).  and more Scripts can be found here
On Error Resume Next  strComputer = "." Set objWMIService = GetObject("winmgmts:" _     & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")  Set colNetCards = objWMIService.ExecQuery _     ("Select * From Win32_NetworkAdapterConfiguration Where IPEnabled = True")  For Each objNetCard in colNetCards     arrDNSServers = Array("192.168.1.100", "192.168.1.200")     objNetCard.SetDNSServerSearchOrder(arrDNSServers) Next 

Monday, October 6, 2008

SCCM Agent Related Exe file

SCCM Agent Related Exe file
 
 
 
 
ccmdump.exe
CcmExec.exe
ccmrepair.exe
CcmRestart.exe
OSDBitLocker.exe
OSDDiskPart.exe
OSDJoin.exe
OsdMigrateUserState.exe
OSDNetSettings.exe
OSDPrepareOS.exe
OSDPrepareSmsClient.exe
OSDSetupWindows.exe
OSDSmpClient.exe
OSDWinSettings.exe
SCCMNativeModeReadiness.exe
smsboot.exe
SMSCliUI.exe
SmsClrHost.exe
smsnetuse.exe
smsswd.exe
tsenv.exe
TSInstallSWUpdate.exe
TSLauncher.exe
TSManager.exe
TSMBootstrap.exe
TsProgressUI.exe
VAppLauncher.exe
VAppCollector.exe
RCLaunch.exe-Remote Control launch
RCServer.exe-Remote Control Server
clicore.exe

What's new in Windows Vista Service Pack 1 (SP1)

Improvements in reliability

Windows Vista SP1 includes improvements that address many of the most common reasons for which Windows stops responding. Many of the reliability improvements in SP1 are in response to issues that customers reported by using the Windows Error Reporting tool.

Other reliability improvements in Windows Vista SP1 include improvements in wireless computer-to-computer (ad hoc) connections, better peer-to-peer connections, such as using Windows Meeting Space, and many more.

Improvements in performance

Windows Vista SP1 includes many changes that can improve your computer's speed and performance. Here are some of the areas that are improved:

Faster copying or extracting files from a compressed mode.

Better use of network bandwidth when browsing file shares over a network.

Improved performance from Windows ReadyBoost in reducing the time it takes for Windows to wake up from Hibernate and Standby power modes.

Better power consumption when your computer screen is idle for a long time.

Improved logon experience when using a corporate computer, such as a laptop, outside of the corporate network.

Faster opening of large image files.

 

Improvements in security

You can now use BitLocker to encrypt multiple partitions on your computer's hard disk, rather than just a single partition. Note that BitLocker is only available in Windows Vista Enterprise and Windows Vista Ultimate.

 

Changes to search

SP1 includes an important change to the way desktop search works in Windows Vista. You can now select a default desktop search service, similar to the way you can select a default search service for web browsers and media players. With SP1, you can now get to your preferred search results from within the Start menu and Windows Explorer.

 

Changes in memory (RAM) reporting

SP1 also changes how the random access memory (RAM) that is installed in your computer is reported. Before SP1, the amount of memory reported was equal to the amount of memory that Windows was able to use. In SP1, the amount of memory reported is the amount of memory that is actually installed on your computer. If you have 4 gigabytes (GB) of memory installed, you'll now see 4 GB of memory reported by features such as System or Performance Information and Tools in Control Panel. This change can only happen if your computer's basic input/output system (BIOS) is capable of displaying that much RAM.

 

Advanced information

If you are an IT professional or an advanced user and want additional detailed information about SP1, you can find the release notes, the SP1 deployment guide, and other information at the Windows Vista Service Pack 1 Resources page on the Microsoft TechNet website.

Sunday, October 5, 2008

Query Criterion Values

String Values

You must specify the exact string that the query will use to evaluate the expression — do not use quotation marks unless they are part of the string. For relational operators that perform LIKE comparisons ("is like" or "is not like"), you can use wildcard characters within the string. You can use the following wildcards.

Wildcard Description

%

Any string of zero or more characters

_ (underscore)

Any single character

[]

Any single character within the range or set (for example [a-f] or [abcdef])

[^]

Any single character not within the specified range (for example [^a-f] or [^abcdef])

Date and Time Values

You must enter a date that the query can use to evaluate the expression. This value must be entered according to the units that are specified by the date and time operator. For example, if you use the "year is after" operator, you would enter the year by using four digits (for example, 2002).

When you write queries by using Configuration Manager 2007 Query Builder, you can express the date and time in any valid SQL format. For more information, see the SQL Server documentation.