Controlling Software Inventory (skpswi.dat)

Sometimes you want to exclude certain folders or drives from beeing scanned to have a clean Inventory, an example you may not want to scan a server with large volues for data like home directories or the IT department Install library. This causes both load on the server /client having the drive and it causes you to get this information into the database and you need to handle it in your reports.

Simply do like this

  • Create a file named skpswi.dat
  • Add the attribute hidden
  • Put it in the folder/drive you would like to exclude from Software Inventory

More is to be found here: http://technet.microsoft.com/en-us/library/cc180976.aspx

Resetting Windows update Agent on Windows XP

Sometimes you need to reset the Windows update Agent to get it working like it should. If you haven’t updated to the SP2 version of WSUS i strongly recommend doing that on your Software Update Point as allot of fixes where released in that Service Pack. Below is a set of commands you can use to reset a Windows update Agent, the easiest way is to save the commands in a bat file and launch it on your XP clients in proffered way manually of with software distribution.

net stop bits
net stop wuauserv
Del "%ALLUSERSPROFILE%Application DataMicrosoftNetworkDownloaderqmgr*.dat"
Ren %systemroot%SoftwareDistributionDataStore *.bak
Ren %systemroot%SoftwareDistributionDownload *.bak
Ren %systemroot%system32catroot2 *.bak
sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
cd /d %windir%system32
regsvr32.exe atl.dll
regsvr32.exe urlmon.dll
regsvr32.exe mshtml.dll
regsvr32.exe shdocvw.dll
regsvr32.exe browseui.dll
regsvr32.exe jscript.dll
regsvr32.exe vbscript.dll
regsvr32.exe scrrun.dll
regsvr32.exe msxml.dll
regsvr32.exe msxml3.dll
regsvr32.exe msxml6.dll
regsvr32.exe actxprxy.dll
regsvr32.exe softpub.dll
regsvr32.exe wintrust.dll
regsvr32.exe dssenh.dll
regsvr32.exe rsaenh.dll
regsvr32.exe gpkcsp.dll
regsvr32.exe sccbase.dll
regsvr32.exe slbcsp.dll
regsvr32.exe cryptdlg.dll
regsvr32.exe oleaut32.dll
regsvr32.exe ole32.dll
regsvr32.exe shell32.dll
regsvr32.exe initpki.dll
regsvr32.exe wuapi.dll
regsvr32.exe wuaueng.dll
regsvr32.exe wuaueng1.dll
regsvr32.exe wucltui.dll
regsvr32.exe wups.dll
regsvr32.exe wups2.dll
regsvr32.exe wuweb.dll
regsvr32.exe qmgr.dll
regsvr32.exe qmgrprxy.dll
regsvr32.exe wucltux.dll
regsvr32.exe muweb.dll
regsvr32.exe wuwebv.dll
netsh reset winsock
proxycfg.exe -d
net start bits
net start wuauserv

NO_SMS_ON_DRIVE.sms

How do I prevent Config Mgr from putting files on certain drives ? By default Config Mgr chooses the the NTFS drives that has most available space, and in many ways you dont want this behaviour. So to keep some kind of hygiene on your server you can put a file named in a specific way just like the blog title says. NO_SMS_ON_DRIVE.sms , You can read more about this its an old trick from back in the days  in this KB article http://support.microsoft.com/kb/871234

Download Config Mgr prereqs !

Is it possible to just download the prerequsites on forehand if you dont have Internet access on the server where you intend to install Configuration Manager.

Yes you can , you need to use the command  without the quotes “MEDIAPATH:SMSSETUPBINI386setup.exe /download drive:path”

Make sure the folder you download to is created before you execute the command otherwise it will not launch.

Creating a domain-join account

I just got the question on what rights the domain join account needs. So here it is.

First of all you need to create an account for it in this example I named min svc-sccm-domainjoin and then locate the OU where your computer accounts will reside in. And then right click on it and set the security rights.

First you need to set the following rights on the OU and with the setting Apply to: This object and all descendant objects.

  • Create Computer Object
  • Delete Computer Object

image

After that you need to add the following rights with the setting apply to: Descendant Computer objects.

  • Read All Properties
  • Write All Properties
  • Read Permissions
  • Modify Permissions

image

  • Change Password
  • Reset Password
  • Validated write to DNS host name
  • Validated write to service princ

image

TechDays 2010 – Sweden

Just want to put up a reminer !

Dont forget to register before the 31th of December to get the discount for the event.

 http://www.microsoft.com/sverige/techdays/

 I will be there and System Center User Group will be there, so dont miss it !

WordPress Themes