Setting Up C0000422-KIT - Full Hardware 2023

Auteur avatarGareth Green | Dernière modification 14/02/2024 par Stuga Engineer en cours de rédaction

Introduction

This process takes the components to create a standard "C000422-KIT".

This kit can then be stored and pulled off the shelf when required. It will then need to be set up for the particular customer machine using Setting Up Windows PC C0000422-KIT 2023


Parts needed

  • Dell PC (7010 micro PC at time of writing)
  • Modification kit (contains extra RAM, Windows license, cables, extra SSD)
  • External USB Hard Drive containing Stuga Images (Currently a black external Maxtor drive)
    • Host image (for Macrium Reflect)
    • Virtual machine image (for Windows Hyper-V)
  • Stuga Asset tags (little blue/silver shiny labels)
  • Sticky labels (C0442____) from Zebra Printer.
  • Monitor, keyboard, mouse for imaging and setup.

Notes

  • There are two PCs running on the same hardware, The Host PC and the Virtual machine.
    • Host PC (For support)
      • The base Windows install running directly on the hardware installed to Dell NVME drive.
      • Has its own OEM Windows license supplied by Dell linked directly to the hardware (no product code – stored in the Dell hardware)
      • Imaged by Macrium reflect.
    • Virtual PC – Stuga VM
      • Used for Stuga software -  the VM can run on any PC without changing drivers, etc. Host OS version / hardware unimportant as long as it runs Hyper-V.
      • A second install of Windows running on a virtual machine, hosted by the Host PC above. It has a dedicated SSD (the Kingston Drive) stored on [:Fichier:///D:/VMPC.vhdx D:\VMPC.vhdx], with 8GB RAM.
      • Has its own dedicated Windows 11 PRO license present in the kit, product code stored on Monday and on the license.
      • Copied to host and setup manually during install.
There is a setup program for the specific client after this process has completed: P_Stuga_P… on the desktop of the host.

Étape 1 - Fill in the tracking records and stick labels

On Monday spreadsheet: IT Stock Asset Tracking

  1. Use a currently incomplete entry at the end of the list for an existing kit. (Or create a new entry if kits are not registered yet)
  2. Fill in the Service Tag field with the Dell service tag number from the box or from the PC. (Dell Silver sticker e.g. ABCD1234)
  3. Assign a new Stuga Asset Tag Number (just the next number in the list), record in the field and stick the matching blue shiny sticker to the side of the Dell PC.
  4. From the Kit, get the Windows 11 product code and fill in the Product Code field in the spreadsheet.
  5. Get a large sticky label with C0422____ fill in the Kit number from spreadsheet and stick to the PC box.
  6. Change PC status to “In Stock”

Étape 2 - Transfer Items from kit to PC box

  • Display-port to HDMI cable.
  • Display-port to VGA cable
  • SSD (at time of writing 512GB Kingston)
  • SSD Caddy (small black frame)
  • USB boot dongle
  • Large metal mounting frame for PC
  • Physical Windows 11 license (for virtual machine)
  • Get a large sticky label with Machine ID …return to IT Desk and add to physical licence if not on.

Étape 3 - Remove the PC

Remove the PC from the Dell box with power adapter and power cable. Keyboard and mouse (if supplied) can be returned to stores (not needed here)

Étape 4 - Unscrew the cover from the PC and remove

(it slides forward)

Étape 5 - Add extra RAM

  1. Detach the fan cooling housing covering the processor and RAM sockets. (catch at rear of housing)
  2. Get RAM module from kit and insert in spare memory socket (already at least one RAM module present)
  3. Reattach the fan cooling housing as before.

Étape 6 - Add the extra SSD

  1. Take the SSD and caddy from the kit – snap disk into caddy if its not already.
  2. Slot the SSD into the spare SATA socket on the motherboard
...the caddy sits on top of the motherboard – its not attached except for the SATA/SATA power socket

Étape 7 - Replace Cover

  1. Makes sure fan housing is clamped down correctly
  2. Replace the PC cover and tighten the screw.

Étape 8 - Plug in host PC

  • Plug in PC power, keyboard, mouse. Do not plug in network for now (it causes boot issues). NOTE: USE THE POWER SUPPLY AND POWER PLUG FROM THE PC BOX. (So its tested for use in the field)
  • Get USB boot dongle from the kit and insert into a USB3 socket on the PC (blue socket marked SS)

Étape 9 - BIOS setup

  1. Start the PC – keep pressing ‘F2’ on the keyboard to go into the BIOS setup. (if Windows boots, restart the PC and try again – we don’t want the pre-installed Windows installation)
  2. Look for the Power Settings menu item within the BIOS
  3. Change the AC Power Recovery or similar setting to “On” (So PC turns on when power is restored)
  4. Press the "F10" key to save the BIOS setting changes and exit the BIOS


Étape 10 - Select Boot Device

  1. Boot PC and keep pressing F12 to get boot menu.
  2. Select and boot from the USB boot dongle inserted above. Macrium Reflect should load after a minute or so. (Sometimes the screen goes black for 1min+)
  3. Insert the external HDD into a USB3 port on the PC (USB2 will be very slow to transfer)

Étape 11 - Image the PC

...Warning – be careful not to select either of the USB drives during the next steps as a destination or they could get wiped (however unlikely)

  1. Select Restore tab.
  2. SOURCE = Disk image from the external USB drive (*.MRIMG)CANT REMEMBER THE ACTUAL file NAME
  3. DESTINATION = NVME SSD drive (Careful not to select the USB boot dongle)
  4. Confirm overwrite when asked.
  5. Wait ~10 mins for imaging to complete (external disk on USB3)
  6. Shut down the PC
  7. Remove the USB boot dongle and return it to the PC box.
  8. Remove external drive drive for now – but keep ready.

Étape 12 - Boot into Windows

  1. Boot Dell PC with no USB drives attached. Windows should auto login.
  2. Reattach the network (LAN) cable to the back of the PC, once booted.
  3. Check the network connects and the time on the PC is correct. If not launch, Adjust Date and Time, then select Sync Now – it should correct itself.
  4. Run Windows update and make sure Windows is up to date.
  5. Ignore warning about an uninitialized drive if it appears (dealt with in next section).

Étape 13 - Initialise the dedicated VM disk

  1. In Windows, launch Disk Manager
  2. There should be an uninitialized SSD drive present (the new SSD we inserted earlier)
  3. Initialize the drive (use GPT (GUID partition table) – not MBR)
  4. Format the empty space as NTFS – use the full disk.
  5. Assign drive letter D: Name the disk VMPC

Étape 14 - Copy the virtual machine VHDX

  1. Insert the External USB Image drive again
  2. Browse the contents and find a virtual disk named VMPC.VHDX (or similar – may have a date afterward, use most recent version) CANT REMEMBER THE ACTUAL NAME
  3. Copy this file to the root of the new D:\ (Should take ~10 mins on USB3)
  4. Rename it to be D:\VMPC.vhdx if it has any dates after the name.
  5. Disconnect external drive.

Étape 15 - Setup Hyper-V and Virtual machine

  1. In Windows, launch Hyper-V Manager
  2. Create a new Hyper-V virtual machine via the Wizard.
  3. Before you begin: Next
  4. Virtual Machine Name: “Stuga VM”
  5. Store the Virtual machine in a different location: D:\
  6. Generation: 2 (Do not select 1)
  7. Assign memory: Startup memory = 8192, Use dynamic memory (The RAM we added earlier)
  8. Network connection: Stuga Switch
  9. Connect virtual hard disk: Use Existing Disk, Browse, Select VMPC.VHDX from above.
  10. Finish the Wizard.
  11. Go to settings on the new Stuga VM virtual machine
    1. CheckPointsDisable checkpoints
    2. Integration Services → Enable all checkboxes
    3. OK.

Étape 16 - Finish Virtual Machine setup

In Hyper-v Manager

  1. Start the virtual PC Stuga VM (RMB, start or from the menu to right hand side)
  2. Double click its icon to launch Virtual Machine connection
  3. These instructions are for the VIRTUAL MACHINE (not the host)
    1. Activate Windows and use the product code from the Windows license in the PC box. (Type “Activation Settings” from start menu search.
    2. Launch windows update and check everything is up to date.                 

Étape 17 - Finally

  1. Shutdown the HOST PC (don’t worry about the VM – it will sleep and should be left running)
  2. Package it back into its box along with its Power cables.
  3. On Monday.com, mark PC as In Stock, if it wasn’t before.

Commentaires

Draft