yakk0.org a blog on technology in the real world

22Apr/100

Path variables in batch files

This is another post documenting something I used to fix a problem at work so I don’t forget about it. We were pushing out Firefox to all our systems yesterday via SCCM. It’s pushed out using a batch file to configure various things, and I noticed that although the batch file was being called from the dozen or so distribution points we have, the script was calling back to the main server. I’ve seen this before but never looked into a solution. I started searching for a variable or a way to get the path the script is run from and found this article posted in 2008 on myITforum.com. It is addressing the exact situation I was encountering.

6Apr/100

Failure when injecting Windows 7 drivers into a SCCM 2007 OSD boot image

This problem was driving me nuts for the last week, and is more for my own memory than anything else. At work we got a demo unit from HP of the desktop computer we’re going to be rolling out this summer and I was updating the network drivers in our OS Deployment boot images. The Windows PE environment wasn’t getting the network drivers installed and finally I saw the error message “The selected driver is not applicable to any supported platforms.”

The fix was easy. Microsoft KB 978754 has a hotfix that needs to be installed on the SCCM Site Server, then the server needs to be rebooted. The drivers then installed without a problem. The KB article says the cause of the issue was the driver importing wizard couldn’t recognize drivers signed for only Windows 7.

Good to know.