06 February 2009

Patch Failed to scan and install Error 8024400E

Windows Update: Patch Management Error 8024400E  in the log file:
 
 
If you find 8024400E  error in the patching failing system that means patchs are not approved. Approve it in the update list.

-------------------
Thanks,
http://sccm07.blogspot.com/

Patch Failed to scan and install Error 8024400E

Windows Update: Patch Management Error 8024400E  in the log file:
 
 
If you find 8024400E  error in the patching failing system that means patchs are not approved. Approve it in the update list.

-------------------
Thanks,
http://sccm07.blogspot.com/

05 February 2009

vb script To Clear SCCM / SMS CCM / Cache Folder

To Clear SCCM / SMS CCM / Cache Folder
 
 
' Script to Clear SMS cache files
on error resume next
dim oUIResManager
dim oCache
dim oCacheElement
dim oCacheElements
set oUIResManager = createobject("UIResource.UIResourceMgr")
if oUIResManager is nothing then
'      wscript.echo "Couldn't create Resource Manager - quitting"
     wscript.quit
end if
set oCache=oUIResManager.GetCacheInfo()
if oCache is nothing then
     set oUIResManager=nothing
'      wscript.echo "Couldn't get cache info - quitting"
     wscript.quit
end if
set oCacheElements=oCache.GetCacheElements
'wscript.echo "There are " & oCacheElements.Count & " cache elements"
'wscript.echo
' ***** Begin CLEAR CACHE *****
for each oCacheElement in oCacheElements
oCache.DeleteCacheElement(oCacheElement.CacheElementID)
next
' ***** End CLEAR CACHE *****
' ***** Clean up *****
set oCacheElements=nothing
set oUIResManager=nothing
set oCache=nothing

-------------------
Thanks,
http://sccm07.blogspot.com/

vb script To Clear SCCM / SMS CCM / Cache Folder

To Clear SCCM / SMS CCM / Cache Folder
 
 
' Script to Clear SMS cache files
on error resume next
dim oUIResManager
dim oCache
dim oCacheElement
dim oCacheElements
set oUIResManager = createobject("UIResource.UIResourceMgr")
if oUIResManager is nothing then
'      wscript.echo "Couldn't create Resource Manager - quitting"
     wscript.quit
end if
set oCache=oUIResManager.GetCacheInfo()
if oCache is nothing then
     set oUIResManager=nothing
'      wscript.echo "Couldn't get cache info - quitting"
     wscript.quit
end if
set oCacheElements=oCache.GetCacheElements
'wscript.echo "There are " & oCacheElements.Count & " cache elements"
'wscript.echo
' ***** Begin CLEAR CACHE *****
for each oCacheElement in oCacheElements
oCache.DeleteCacheElement(oCacheElement.CacheElementID)
next
' ***** End CLEAR CACHE *****
' ***** Clean up *****
set oCacheElements=nothing
set oUIResManager=nothing
set oCache=nothing

-------------------
Thanks,
http://sccm07.blogspot.com/

Change Default Power Management settings on Laptop users

Change Default Power Management settings on Laptop users to utilize batarry save
 
@echo off
powercfg /change "Portable/Laptop" /standby-timeout-ac 30 /standby-timeout-dc 30 /hibernate-timeout-ac 45 /hibernate-timeout-dc 45
powercfg /setactive "Portable/Laptop"
 

-------------------
Thanks,
http://sccm07.blogspot.com/

Change Default Power Management settings on Laptop users

Change Default Power Management settings on Laptop users to utilize batarry save
 
@echo off
powercfg /change "Portable/Laptop" /standby-timeout-ac 30 /standby-timeout-dc 30 /hibernate-timeout-ac 45 /hibernate-timeout-dc 45
powercfg /setactive "Portable/Laptop"
 

-------------------
Thanks,
http://sccm07.blogspot.com/

Change Default Power Management settings

To Change Default Power Management settings  to your own settings that is to allway On:--
 
@echo off
powercfg /change "Always On" /monitor-timeout-ac 30 /monitor-timeout-dc 30 /standby-timeout-ac 30
/standby-timeout-dc 0 /hibernate off
powercfg /setactive "Always On"
-------------------
Thanks,
http://sccm07.blogspot.com/

Change Default Power Management settings

To Change Default Power Management settings  to your own settings that is to allway On:--
 
@echo off
powercfg /change "Always On" /monitor-timeout-ac 30 /monitor-timeout-dc 30 /standby-timeout-ac 30
/standby-timeout-dc 0 /hibernate off
powercfg /setactive "Always On"
-------------------
Thanks,
http://sccm07.blogspot.com/

04 February 2009

SCCM Query for SCCM Clients Model and Manufactures Name

Need to extract SCCM Clients Model and Manufactures Name?
 
You have to dig the Computer_System_DATA Table. Here are two shared SQL Querys.
 

Select DISTINCT Model0 from Computer_System_DATA

The above one will show all the Models

The below Query will show everything in the Database

Select

* from Computer_system_data

-------------------
Thanks,
http://sccm07.blogspot.com/

SCCM Query for SCCM Clients Model and Manufactures Name

Need to extract SCCM Clients Model and Manufactures Name?
 
You have to dig the Computer_System_DATA Table. Here are two shared SQL Querys.
 

Select DISTINCT Model0 from Computer_System_DATA

The above one will show all the Models

The below Query will show everything in the Database

Select

* from Computer_system_data

-------------------
Thanks,
http://sccm07.blogspot.com/

03 February 2009

Use a PSEXEC tool to deploy software on list of systems in text file

Use a PSEXEC tool to deploy software on list of systems in text file
 
psexec @systems.txt -c exefilname.exe /silient commands

-------------------
Thanks,
http://sccm07.blogspot.com/

Use a PSEXEC tool to deploy software on list of systems in text file

Use a PSEXEC tool to deploy software on list of systems in text file
 
psexec @systems.txt -c exefilname.exe /silient commands

-------------------
Thanks,
http://sccm07.blogspot.com/