I was fighting with this one for a couple of days. Lenovo X1 Carbon - deploying Windows 7 x64. All drivers were fine and dandy but I was getting randon "Incorrect hash value" errors when the OSD was failing.
This was determined by looking in the SMSTS.log once the OSD had failed.
It transpires that if the USB to Ethernet adapter was plugged in to the right hand USB socket it was dropping loads of packets. Plugging it into the left hand side worked a treat.
As simple a solution as it sounds this may be far too obvious for some tecchy to even try. I managed to replicate this on 3 different units so it wasn't just faulty parts.
Felt like a complete numpty once I discovered the fix!
These are the ramblings of a 30 something (going on 60) year old disgruntled IT Professional. This is gradually evolving into a Windows SCCM blog but there's a bit of "me stuff" in here too as I like to write so have a look at some of my work. Please feel free to leave a comment...
Thursday, 21 March 2013
Monday, 4 February 2013
Unable to display all rows in SCCM reports
Just recently I found a few of our larger reports weren't
displaying/returning all rows properly so a call went into MS with the
following resolution:
Issue:-
Unable to view complete Reports. Row count limited to 2035
Cause:-
1> ASP buffer Limit was set to false
2> Buffer limit was using default settings.
Resolution:-
1> Enable the Buffer Limit to true.
2>. On all computers on which a reporting point is
enabled, run Regedt32 or
Regedit.
3. Navigate to the following registry key:
\HKEY_LOCAL_MACHINE\Software\Microsoft\SMS\Reporting
or on a
64 bit Operating System:
\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\SMS\Reporting
4. In the Reporting key, create a DWORD value named
Rowcount, edit this value, and enter ffffffff for this new entry.
5. All rows should now be returned by any report query run
from this reporting point.
Open command prompt
to C:\Inetpub\AdminScripts and run the following command:
Cscript adsutil.vbs
set w3svc/aspbufferinglimit "209715200"
6. Restart the IIS and SMS_Reporting services.
Wednesday, 23 January 2013
This program cannot run because a reboot is in progress or software distribution is paused.
Really quick post here. You may find when running an SCCM2007 task sequence from Run Advertised Programs that you get an error regarding another program is installing please try later.
when examining the execmgr.log you will see This program cannot run because a reboot is in progress or software distribution is paused.
This worked for me - not claiming it to be a fix for everyone but you could try it. On the problematic machine go to either:
Set both "Paused" keys in there back to "0" if they are on "1" and then reboot. Fixed it for me!!!
when examining the execmgr.log you will see This program cannot run because a reboot is in progress or software distribution is paused.
This worked for me - not claiming it to be a fix for everyone but you could try it. On the problematic machine go to either:
- x86 – HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Mobile Client\Software Distribution\State\
- x64 – HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\SMS\Mobile Client\Software Distribution\State\
Set both "Paused" keys in there back to "0" if they are on "1" and then reboot. Fixed it for me!!!
Lenovo X1 Carbon PXE Boot Issues
I was recently given the nice new shiny Lenovo X1 Carbon to play with and deploy our corporate Windows 7 image to it. To maintain its slim physique it hasn't got a built in Ethernet adaptor and is supplied with a Lenovo USB 2.0 to Ethernet Adapter. Obviously we now had to track down the driver to inject to our Boot Image.
Initially we used the Lenovo USB 2.0 Ethernet Adapter Driver 5.4.3.0 which PXE booted but then seemed to fail and hang once WinPE loaded up.
I then downloaded the Lenovo X1 Carbon SCCM Driver Pack which came with v5.12.4.0 which also seemed to give me problems.
Eventually I found that it was the manufacturers Vista driver that worked for me.
From the AXIS website you can download the AXIS AX88772B Vista Driver which worked a treat. With the SSD this was a dream to image and was quite quick in comparison to others.
Hope this helps.
Chris.
Initially we used the Lenovo USB 2.0 Ethernet Adapter Driver 5.4.3.0 which PXE booted but then seemed to fail and hang once WinPE loaded up.
I then downloaded the Lenovo X1 Carbon SCCM Driver Pack which came with v5.12.4.0 which also seemed to give me problems.
Eventually I found that it was the manufacturers Vista driver that worked for me.
From the AXIS website you can download the AXIS AX88772B Vista Driver which worked a treat. With the SSD this was a dream to image and was quite quick in comparison to others.
Hope this helps.
Chris.
Wednesday, 10 October 2012
Create a bootable USB pen for SCCM Windows 7 Build Deployment
If you are ever in a situation where deploying your OS by SCCM's more conventional methods (ie PXE or LAN based deployments) isn't feasable (bandwidth/no connectivity) then you can prepare a USB pen and deploy to machines via a USB boot.
I've found the SCCM built in method of making a USB pen to be quite unreliable so I opt for the manual method.
Just a few heads up first:
We are still using a drive letter "U:" so we want to type:
format U: /fs:fat32 /q YOU WILL LOSE EVERYTHING ON THE PEN HERE
Enter a label for the drive - this is how it will show in "Computer"
I copy the files manually - it works - but if you want to do it "properly" use this command:
In command prompt navigate to the location of your build files - this is what would have been extracted from the ISO that was produced in SCCM when you "Created Removable Media" from the OSD task sequence - if you need a guide on this mail me or leave a comment...
Type xcopy\*.* /s/e/f \
With our extracted ISO in C:\Win7Build and our pen being U:\ This would look like:
Type xcopy c:\Win7Build\*.* /s/e/f U:\
Don't forget you may/will need to adjust the boot order in the BIOS to accommodate booting from USB - you can find a guide here: http://bit.ly/TvndIW
I've found the SCCM built in method of making a USB pen to be quite unreliable so I opt for the manual method.
Just a few heads up first:
- I'd recommend at least an 8GB drive but in reality your build (if corporate) will eventually exceed this.
- The pen will be totally wiped clean - all data will be lost.
- Open command prompt
- Type diskpart and press enter
- Type list disk and press enter
- Find your disk in the list
- Type select disk * (* being your number)
- Type clean and press enter - you should see "DiskPart succeeded in cleaning the disk."
- Type create partition primary and press enter - you should see "DiskPart succeeded in creating the specified partition."
- Type select partition 1 and press enter - you should see "Partition 1 is now the selected partition."
- Type active and press enter - you should see "DiskPart Marked the current partition as active."
- Type assign and press enter - you should see "DiskPart successfully assigned a drive letter ..."
- Type detail disk and press enter. For this example we will work with a drive letter "U" for USB
- Type exit to leave the Diskpart command and return to a standard prompt
We are still using a drive letter "U:" so we want to type:
format U: /fs:fat32 /q YOU WILL LOSE EVERYTHING ON THE PEN HERE
Enter a label for the drive - this is how it will show in "Computer"
I copy the files manually - it works - but if you want to do it "properly" use this command:
In command prompt navigate to the location of your build files - this is what would have been extracted from the ISO that was produced in SCCM when you "Created Removable Media" from the OSD task sequence - if you need a guide on this mail me or leave a comment...
Type xcopy
With our extracted ISO in C:\Win7Build and our pen being U:\ This would look like:
Type xcopy c:\Win7Build\*.* /s/e/f U:\
Don't forget you may/will need to adjust the boot order in the BIOS to accommodate booting from USB - you can find a guide here: http://bit.ly/TvndIW
Monday, 8 October 2012
Parking Fail
Have a look at a group I like on Facebook - great for shaming those parking fails we all hate!
www.facebook.com/officialparkingfail
www.facebook.com/officialparkingfail
Java Deployment (x86)
I've spent many hours searching the net for a definitive guide on how to successfully deploy Java across a network and to newly deployed machines.
In this instance I'm trying to add Java to an Operating System Deployment using Microsoft SCCM with two particular settings automated into the deployment.
I want the automatic updates to be disabled as this is constantly screwing up our clinical systems that get delivered to the users desktop as an update of Java resets several settings we have to configure post install.
The other is the Proxy set to "Direct Connection" as again our clinical systems hate any interference from the Proxy settings.
I've decided to repost my steps here in hope that it will help a fellow tecchy one day:
#Tue Apr 13 13:59:54 BST 2010
deployment.version=6.0
deployment.proxy.type=0
deployment.javaws.autodownload=NEVER
deployment.javapi.cache.update=true
deployment.security.mixcode=DISABLE
deployment.browser.path=C\:\\Program Files\\Internet Explorer\\iexplore.exe
#Java Deployment jre's
#Tue Apr 13 13:59:54 BST 2010
deployment.javaws.jre.0.product=1.6.0_31
deployment.javaws.jre.0.registered=true
deployment.javaws.jre.0.osname=Windows
deployment.javaws.jre.0.platform=1.6
deployment.javaws.jre.0.path=C\:\\Program Files\\Java\\jre6\\bin\\javaw.exe
deployment.javaws.jre.0.location=http\://java.sun.com/products/autodl/j2se
deployment.javaws.jre.0.enabled=true
deployment.javaws.jre.0.osarch=x86
In this instance I'm trying to add Java to an Operating System Deployment using Microsoft SCCM with two particular settings automated into the deployment.
I want the automatic updates to be disabled as this is constantly screwing up our clinical systems that get delivered to the users desktop as an update of Java resets several settings we have to configure post install.
The other is the Proxy set to "Direct Connection" as again our clinical systems hate any interference from the Proxy settings.
I've decided to repost my steps here in hope that it will help a fellow tecchy one day:
- Download your choice of Java - I'm using 1.6.0.31.
- Run the.exe and run to C:\Users\
\AppData\LocalLow\Sun\Java\jre1.6.0_31
- Copy the Data1.cab and jre1.6.0_31 files out of there into a folder of their own.
- I already have a working WIM image I captured last week and didn't want to go through another capture so using the DISM GUI tool I mounted my WIM and added a folder structure and the deployment.properties file to: C:\Users\Default\AppData\LocalLow\Sun\Java\Deployment. Other settings for the deployment.properties file are available here.
- Within deployment.properties was the following - it's actually one I created by manually altering the settings from the Java control panel and capturing the file from C:\Users\[username]\AppData\LocalLow\Sun\Java\Deployment
#Tue Apr 13 13:59:54 BST 2010
deployment.version=6.0
deployment.proxy.type=0
deployment.javaws.autodownload=NEVER
deployment.javapi.cache.update=true
deployment.security.mixcode=DISABLE
deployment.browser.path=C\:\\Program Files\\Internet Explorer\\iexplore.exe
#Java Deployment jre's
#Tue Apr 13 13:59:54 BST 2010
deployment.javaws.jre.0.product=1.6.0_31
deployment.javaws.jre.0.registered=true
deployment.javaws.jre.0.osname=Windows
deployment.javaws.jre.0.platform=1.6
deployment.javaws.jre.0.path=C\:\\Program Files\\Java\\jre6\\bin\\javaw.exe
deployment.javaws.jre.0.location=http\://java.sun.com/products/autodl/j2se
deployment.javaws.jre.0.enabled=true
deployment.javaws.jre.0.osarch=x86
- I committed the changes to the Wim and uploaded it back to our deployment server :::EDIT::: DON'T FORGET TO UPDATE THE DISTRIBUTION POINT!!!
- Created a package for Java 31
- Used the command line for the package program: msiexec.exe /i jre1.6.0.31.msi /qn
- Hey presto - I'm now getting a Java deployment that automatically uses the settings defined in the deployment.properties file I created! BOOM !!!
Subscribe to:
Posts (Atom)