Can’t Delete ConfigMgr_OfflineImageServicing Folder

Attended a customers premise the other day where they were unable to perform offline servicing of one of there images.  After trying to manually delete the files etc, learned that it was a mounted WIM, and found this post.  This resolved the issue:

Can’t Delete ConfigMgr_OfflineImageServicing Folder After Failed Servicing.

However, I did not need to reboot the server.  Followed the comment and used the

dism /unmount-win /discard

first.  Then was able to remove the folder.  Started the update again, and it went through without a hitch!

<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> SCCM | Leave a comment

SCCM – Moving database from remote server back to the SCCM server

Looking at doing the following. After basic research, this post looks like it is the go:

https://deploymentresearch.com/Research/Post/646/Moving-the-ConfigMgr-Current-Branch-database-to-another-server-as-in-back-to-the-primary-site-server

<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> SCCM | Leave a comment

CNC Basics (from Noob to almost non-Noob)

Purchased a 2417 CNC machine to have a play around.  Seems OK, though quite a big learning curve.

This is to list things that I work out and start to document.

The machine has a lazeraxe control module on it.  It came with GRBL 0.8 which is quite behind (currently 1.1 as of this writing).  However, I flashed it with the latest version, and then lost control of the axis!  A quick frantic google later and I found the .hex code for the old 0.8 version – put it back and phew – it was back alive.   I used Eagle to create my first CNC circuit, started to print it, and broke the bit about 1 minute into etching the board.  I let it continue, but not the best.  I then went googling, and read about autolevelling software.  To use this, it looks like you need 0.9g or later of the firmware.  Also, in my googling, I found a Github site (https://github.com/1wise) where Henri had create a newer version of the firmware for the board).  Compiled this and away we go (so it would appear).

To get the probe function, I will be using PIN 5 of the Nano and ground and do some testing.

As for the G-code sending application – I started off with GRBL Controller, then moved to Candle.  I am now looking at bCNC as this has auto-levelling software in it.  I might also look at Candle as there is a newer version for >1 GRBL firmware.

Commands that I have worked out

G0 – Fast moving commands
G1 – Slow moving commands

To set the spindle speed: “Sx” where x is a speed, ie “S10000”

To set the feed rate, add a F parameter after the G0 or G1 command, ie “G01 F500”.  I sometimes needed to set the feedrate if the controller reset and I couldn’t use the jog controls any longer.

After you set the 0 points, to return to this location, use the commands

“G0 Z0”
“G0 X0 Y0”

This raises/lowers the Z axis to the 0 position, then moves the head back to 0,0

<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> CNC | Leave a comment

Retro Arcade Machine

So, been inspired recently reminiscing about the old video games of yester-year.  There is now a distribution called Retropie, so I fired up a spare Pi, loaded the card and this is impressive.  Everything you want already there.  Great.

Next step was to replace the keyboard with a control panel like an arcade machine.  So, there goes many hours of looking at what other people have done, images on Google etc.  I don’t have a lot of space around the house, so instead of a full size arcade cabinet, I have instead decided on a table top cabinet.  That way it can be moved easily around the place.

So, one place I Googled, I bought his plans for the table top unit, and assembled the control panel it to see if I like it, as I didn’t really know what I wanted.  Soon it became apparent that I didn’t know what I wanted to/should use all the buttons for.

The above picture shows the test control panel used to see if the panel is easy to use. Note the missing button – that was because the joystick mechanics slightly covered up the hole so I couldn’t put a button in it without modifying it.

I decided a number of changes of this after playing with it:

  • Six buttons are better than 4 per player as this allow for street fighting games (not that I play them)
  • Need to have a pause button
  • Want to configure for a screenshot
  • Having three groups of two buttons didn’t seem logical to me

I drew up the replacement panel in QCad, and the width of the control panel has now grown from 445mm to 525mm wide, and their are now only four button along the top of the panel (1 player, Pause, Coin and 2 player).  1 player – Coin combo quits the emulator, and will look to make 1 player – Pause combo to take a screen shot.  Also, as Retropie has many different emulator engines, I would like to include a keyboard drawer as well – for example Apple IIe games require a keyboard even if the game can be played with a joystick!

Modifications to the code

In the new panel, I mounted the joysticks turned 90′ so that there would be room for a LCD display should I get around to putting one in it.  This meant that I needed to redefine my joystick in Emulation Station.  Once I did this, all was well except for the text based menus, where Left/Right became Up/Down and Up/Down became Left/Right.  To fix this, I did two modifications to the code

Edit /opt/retropie/supplementary/runcommand/runcommand.sh, search for joy2key and then change to this line

“$ROOTDIR/supplementary/runcommand/joy2key.py” “$JOY2KEY_DEV” kcub1 kcuf1 kcuu1 kcud1 0x0a 0x09 &

to be this:

“$ROOTDIR/supplementary/runcommand/joy2key.py” “$JOY2KEY_DEV” kcud1 kcuu1 kcub1 kcuf1 0x0a 0x09 &

Also, edit /home/pi/RetroPie-Setup/scriptmodules/helpers.sh, search for joy2key and change this line:

params=(kcub1 kcuf1 kcuu1 kcud1 0x0a 0x20)
to
params=(kcud1 kcuu1 kcub1 kcuf1 0x0a 0x20)

This is probably the incorrect way to do this(!) and will break on updates.  One day I might get around to looking at the actual code to understand and then feed back, in case it is looking at some config file.

More to come…

 

<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> Uncategorized | Leave a comment

Blueberry Pancakes

Picture to come

Ingredients

  • 1 1/4c Gluten Free Flour
  • 1 TBSP Chia Seeds
  • 2t Baking powder
  • 1/2t cinnamon
  • 1/4t nutmeg
  • pinch salt
  • 2T maple syrup/sugar
  • 1C Dairy Free Milk (Soy/Rice)
  • 1/2T Apple Cider Vinegar
  • 1C Blueberries

Method

Mix all together (to be checked).  Pour/spoon into a hot fry pan.  Turn over when brown and brown other side.  Serve with accompaniments as required.

<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> Mels Kitchen | Leave a comment

Corn/Courgette Fritters

fritters

These fritters are delish – even through they have courgette in them!  I am not a fan of courgette but cannot taste them.  Eat with sweet-chilli sauce.

Ingredients

  • 1 TBSP chia Seeds
  • 3 TBSP water
  • 1 Courgette (grated)
  • 1 tin corn
  • 1 onion (small)
  • 1/4tsp salt
  • Pepper
  • 1c Rice Flour (Gluten Free)
  • 1tsp Baking Soda

Method

Mix Chia seeds with water.  Set aside for 15 minutes to set.  Blend corn with a stick mixer to make creamed style corn.  Finely chop onion.  When egg replacer ready, mix all ingredients into a bowl.

Place dessertspoon size blobs into a frypan (use olive oil to prevent sticking).  Fritters will rise during cooking.  Flip over after a few minutes, or when appears to be half cook and continue to cook on the other side.  Place onto plate to cook when cooked.

 

 

 

 

<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> Mels Kitchen | Leave a comment

Smoked Chicken Salad

IMG_1434

INGREDIENTS

  • 2C Pasta Shells
  • 1/4 – 1/2 Red Onion (Sliced)
  • 1/2 Red or Yellow Capcicum
  • 6-8 Small tomatoes (halved)
  • Smoked Chicken
  • 1-2 TBSP Oil

Dressing

  • Avocado
  • 1/4tsp Salt
  • 1 TBSP lemon juice
  • 1-2 cloves crushed garlic

METHOD

Boil pasta until Al Dente (10 – 15 minutes as per packet directions)

Prepare other ingredients.  Chop up/rip up chicken.  Drain pasta in colander and run quickly under cold water.  Shake.

Mix all ingredients for dressing (Guacamole).

Place pasta in bowl and add 1-2 TBSP old to stop it sticking together.  Add chopped vegetables along with the Chicken.  Mix together.  Add dressing when ready to serve and mix thoroughly.

ALTERNATIVES

Use 3-4 rashers of bacon instead of Chicken

<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> Mels Kitchen | Leave a comment

Code 12 error when deploying through SCCM task Sequence

Had a customer have this problem on both Intel NUC and HP 8440 laptop.

Found this post: http://www.google.co.nz/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CCcQFjAA&url=http%3A%2F%2Fsocial.technet.microsoft.com%2FForums%2Fsystemcenter%2Fen-US%2F67667961-a1a1-430b-a9a0-dca083573b30&ei=TmDxUoCWNKS4iQfnm4CwBA&usg=AFQjCNEGIEU9iu-ApkPs6QyqQoTB3rRPqA

Basically it is a conflict with a PCI bus driver (Intel) which seems to cause the problem.  Steps to test is (copied verbatim)

Grim details;

Lenovo T530  64bit capable.
OS= deployed through network windows 7 32 bit.
Ended up with a Lenovo stuck in generic video mode due to error code 12.  Graphics card type HD 4000  [error code 12] driver could not start.  [It’s NOT the driver}!!

Slithered the net for a cure and found only one hint – The PCI driver supplied by Intel was a joke.

My solution after 3 days of cussing;

  1. Open device manager
  2. Expand system devices
  3. Open [double click] PCI bus
  4. Change[update] driver.
  5. “From My Computer”
  6. “Show List of compatible drivers”
  7. Even though the right driver is presently being used change it to “Microsoft PCI bus”.  It was one of the only two compatible drivers that showed up.  WATCH IT!!! If “Microsoft PCI bus” does not show up UN-tick “show compatible drivers only”
  8. Select “Microsoft PCI bus”  Do this at your own risk!! may want to create a restore point just in case before going it.

This fixed my problem when re installing a 32 bit version of Windows 7 in order to run Surpass.exe as a shared network program; Which would not auto install on a 64 bit machine in x86 mode deeming 64 bit win 7 useless for these clients.

Running a 32 bit version on 64 bit machine does have risks. The wrong Intel PCI driver was picked every time, use Microsoft’s. Trust me, this is NOT the only reason for an error code 12, just one of many.  I blame Lenovo and Intel for this silliness and their refusal to acknowledge the problem.

<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> SCCM, System Centre | Leave a comment

WSUS Update categories and what they mean

Check out this blog which explains it.

http://www.acupofit.com/2012/04/wsus-update-classifications-explained.html

<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> Uncategorized | Leave a comment

Protected: Jakes new sandpit

This content is password protected. To view it please enter your password below:

<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> Jake | Enter your password to view comments.