Have you ever wondered how to extend the MMC for SMS 2003. There is a reg key that allows users to enter any kind of right click menu the system. It will be called SMS Tools.
To pull the right click tools to SCCM 2007 the guid is:
{58105356-2B9C-11D1-B0D5-00C04FBBD480}
HKLM\SOFTWARE\Microsoft\MMC\NodeTypes\{58105356-2B9C-11D1-B0D5-00C04FBBD480}\Extensions\SMS_Tools
To pull into SMS 2003
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MMC\NodeTypes\{4D26C0D4-A8A8-11D1-9BD9-00C04FBBD480}\Extensions\SMS_Tools\101]
"Description"="Client Assignment (ClientAssignment.exe)"
"Name"="Client Assignment"
"CommandLine"="C:\\Program Files\\SMS 2003 Toolkit 2\\ClientAssignment.exe"
==realize that this is for a specific computer. Please check out Microsoft for more guids that control SMS or simply open up your reg and you can see.
Use this to send a WMI command to a certain client or force a collection to perform a HW inventory. Though this started in SMS 2.0 it is still valid in 2003.
https://msdn2.microsoft.com/en-us/library/ms817015.aspx
There are many other places to find information. Once you learn the 3 or 4 nodes to use and how to create scripts or applications you can extend SMS far beyond the native deployment.
Here is an example of an sms tool http://sms-hints-tricks.blogspot.com/2007/11/sms-tool-what-collection-is-computer-in.html
SMS/SCCM, Beyond Application Deployment is a blog by Matthew Hudson covering SMS 2003, SCCM 2007, 2012 and beyond package deployment. Here you will find hints, tips, and tricks to help with managing your infrastructure. It will focus mainly on Reg files, Batch, VbScript, WMI, and possibly other methods.
Thursday, July 5, 2007
Saturday, June 16, 2007
Package contains source files
Have you ever wondered why SMS asks you if the package contains source files? Does it always contain source files?
No, if you intend on running an application that is on the system then it doesn't. Say you want to copy files from one folder to another. You don't need to push the copy command down. You just run it on the system. In this aspect the package doesn't contain any source files. It does contain the program command "copy x to Y"
No, if you intend on running an application that is on the system then it doesn't. Say you want to copy files from one folder to another. You don't need to push the copy command down. You just run it on the system. In this aspect the package doesn't contain any source files. It does contain the program command "copy x to Y"
Sunday, June 10, 2007
Remove Lookout
If you are upgrading to Office 2007 you might want to uninstall Lookout if it is installed. The problem is that they don't have a silent uninstall. The only way to get rid of it (unless the user is an admin) is to blow away Lookout. Otherwise desktop search will not install.
-------------remove lookout.vbs -------------------------
on error resume next
Set Sh = WScript.CreateObject("WScript.Shell")
Key ="HKLM\SOFTWARE\Microsoft\Fusion\References\LookoutAddIn, Version=1.0.1868.24056, Culture=neutral, PublicKeyToken=b7aa31f2379f8c07\{2EC93463-B0C3-45E1-8364-327E96AEA856}\"
Sh.RegDelete Key
Key ="HKLM\SOFTWARE\Microsoft\Fusion\References\LookoutAddIn, Version=1.0.1868.24056, Culture=neutral, PublicKeyToken=b7aa31f2379f8c07\"
Sh.RegDelete Key
Key ="HKLM\SOFTWARE\Lookout Software\Lookout\"
Sh.RegDelete Key
Key ="HKLM\SOFTWARE\Lookout Software\"
Sh.RegDelete Key
Key ="HKLM\SOFTWARE\Microsoft\Office\Outlook\AddIns\LookoutAddInShim.Connect\"
Sh.RegDelete Key
Key ="HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Lookout\"
Sh.RegDelete Key
Key ="HKEY_USERS\.DEFAULT\Software\Microsoft\Office\Outlook\Addins\LookoutAddInShim.Connect\"
Sh.RegDelete Key
Key ="HKLM\SOFTWARE\Classes\LookoutAddInShim.Connect\CLSID\"
Sh.RegDelete Key
Key ="HKLM\SOFTWARE\Classes\LookoutAddInShim.Connect\"
Sh.RegDelete Key
Key ="HKCR\LookoutAddInShim.Connect\CLSID\"
Sh.RegDelete Key
Key ="HKCR\LookoutAddInShim.Connect\"
Sh.RegDelete Key
Key ="HKEY_CLASSES_ROOT\CLSID\{86e53597-10b0-4e2e-ad00-53044a23c550}\ProgID\"
Sh.RegDelete Key
Key ="HKEY_CLASSES_ROOT\CLSID\{86e53597-10b0-4e2e-ad00-53044a23c550}\InprocServer32\"
Sh.RegDelete Key
Key ="HKEY_CLASSES_ROOT\CLSID\{86e53597-10b0-4e2e-ad00-53044a23c550}\"
Sh.RegDelete Key'''now delete the folder
Set oFSO = CreateObject("Scripting.FileSystemObject")
sDirectoryPath = "C:\Program Files\Lookout Software"
set oFolder = oFSO.GetFolder(sDirectoryPath)
oFolder.Delete(true)
-----------------------------------------------
-------------remove lookout.vbs -------------------------
on error resume next
Set Sh = WScript.CreateObject("WScript.Shell")
Key ="HKLM\SOFTWARE\Microsoft\Fusion\References\LookoutAddIn, Version=1.0.1868.24056, Culture=neutral, PublicKeyToken=b7aa31f2379f8c07\{2EC93463-B0C3-45E1-8364-327E96AEA856}\"
Sh.RegDelete Key
Key ="HKLM\SOFTWARE\Microsoft\Fusion\References\LookoutAddIn, Version=1.0.1868.24056, Culture=neutral, PublicKeyToken=b7aa31f2379f8c07\"
Sh.RegDelete Key
Key ="HKLM\SOFTWARE\Lookout Software\Lookout\"
Sh.RegDelete Key
Key ="HKLM\SOFTWARE\Lookout Software\"
Sh.RegDelete Key
Key ="HKLM\SOFTWARE\Microsoft\Office\Outlook\AddIns\LookoutAddInShim.Connect\"
Sh.RegDelete Key
Key ="HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Lookout\"
Sh.RegDelete Key
Key ="HKEY_USERS\.DEFAULT\Software\Microsoft\Office\Outlook\Addins\LookoutAddInShim.Connect\"
Sh.RegDelete Key
Key ="HKLM\SOFTWARE\Classes\LookoutAddInShim.Connect\CLSID\"
Sh.RegDelete Key
Key ="HKLM\SOFTWARE\Classes\LookoutAddInShim.Connect\"
Sh.RegDelete Key
Key ="HKCR\LookoutAddInShim.Connect\CLSID\"
Sh.RegDelete Key
Key ="HKCR\LookoutAddInShim.Connect\"
Sh.RegDelete Key
Key ="HKEY_CLASSES_ROOT\CLSID\{86e53597-10b0-4e2e-ad00-53044a23c550}\ProgID\"
Sh.RegDelete Key
Key ="HKEY_CLASSES_ROOT\CLSID\{86e53597-10b0-4e2e-ad00-53044a23c550}\InprocServer32\"
Sh.RegDelete Key
Key ="HKEY_CLASSES_ROOT\CLSID\{86e53597-10b0-4e2e-ad00-53044a23c550}\"
Sh.RegDelete Key'''now delete the folder
Set oFSO = CreateObject("Scripting.FileSystemObject")
sDirectoryPath = "C:\Program Files\Lookout Software"
set oFolder = oFSO.GetFolder(sDirectoryPath)
oFolder.Delete(true)
-----------------------------------------------
Subscribe to:
Posts (Atom)