/bundles/itninjaweb/img/Breadcrumb_cap_w.png

Blogs

PXE boot with error after update to version 6 of K2000

Estavamos utilizando a versão 5.1 do K2000 e subimos para a versão 6.0. Seguimos os passos de configuração, como por exemplo, alterar o 67 do DHCP de k2000.0 para undionly.kpxe.
Assim que o fizemos, não conseguimos mais fazer boot nos clientes. Já desabilitamos o DHCP da nossa rede e ativamos o DHCP do KACE, porém o erro continua o mesmo, ou seja, o problema não é o DHCP Windows.
Subimos um servidor novo do zero e o erro é o mesmo.

"We were using version 5.1 of K2000 and we went up to version 6.0. We follow the configuration steps, such as changing the DHCP 67 from k2000.0 to undionly.kpxe.
Once we did, we could not boot our customers any more. We have disabled the DHCP of our network and activated the DHCP of KACE, however the error remains the same, that is, the problem is not DHCP Windows.
We upload a new server from scratch and the error is the same."

ne0jjy.png
Alguém pegou esse erro?
"Did someone get this error?"

Thank You!!
View comments (1)

Register now for KACE UserKon Europe!

Register now for KACE UserKon Europe 

November 13-14 at Les Jardin de Marais, Paris

KACE UserKon is the only conference specifically for KACE users. 

Find out more and register

Be the first to comment

I'm an Emergency Physician and wanted to talk about Apple Watch's new ECG

taken from https://www.reddit.com/r/apple/comments/9fkb3t/im_an_emergency_physician_and_wanted_to_talk/

I'm an Emergency Physician and read/interpret ECGs on a daily basis. I wanted to talk about the Apple Watch's new ECG feature as there are a lot of misconceptions about this new function. Apple Watch's new ECG feature is pretty neat and a lot of people here are understandably excited about it, but it does have limitations.

I also wanted to do a brief tutorial on the basics of ECGs.

 

Electrocardiography aka ECG or EKG

At it's basic core, ECGs measure voltage activity in the heart. As the heart beats, electrical activity moves along the heart and shows up as the bumps and spikes in the ECG.

Voltages are measured across gradients meaning you need at least two electrodes with vectors go across the heart. An ECG computer measures these voltages and calculates certain vectors or "leads" based on the orientation of the electrodes and displays them as a rhythm strip, that looks something like this.

Some of these vectors are direct measurements of certain electrodes, while others are calculated by the computer across multiple electrodes.

 

The most comprehensive ECG is known as a 12-lead ECG.

This ECG uses 10 electrodes, 4 on each limb, and 6 in a specific orientation around the heart in order to represent 12 separate vectors across the heart. In some ways you can think about this type of ECG as almost a 3D measurement of electrical activity in the heart.

 

The heart monitors typically used in the hospital settings usually use 3-5 electrodes, limiting the number of leads that are measured, but still useful for other diagnostic tests as they are typically continuous.

 

What is Apple Watch's ECG?

The Apple Watch ECG is a single lead ECG, measuring Lead I. This is great for measuring the rate and rhythm of the heart which can be very useful for the screening of atrial fibrillation.

Atrial Fibrillation Rhythm Strips

The normal bottom strip is nice and regular and also includes something called a P-wave that represents the beat of the atrium and is supposed to be before every big spike. The top strip represents afib, the spikes are disorderly and not regular, it is also notably missing that P-wave.

In it's current state, the Apple Watch will continuously monitor your heart beat with it's optical sensor, and if it detects an arrhythmia, prompt you with a notification at which point you can conduct an ECG.

 

Atrial Fibrillation

Atrial Fibrillation (aka a-fib) is the most common cardiac arrhythmia, and up to 25% of people above the age of 40 will experience at least one episode of afib. It occurs when the normal path of electrical activity is interrupted and disorganized.

Atrial fibrillation can occur in episodes that may only last a few minutes and go back to normal rhythm by itself. Some of these episodes can be precipitated by certain events like drinking alcohol, being sick, or other medical conditions. Some people will have recurrent episodes of self resolving afib, also known as paroxymal atrial fibrillation with no known cause. The extreme of this are people who have persistent afib and who's rhythm can be very difficult to flip back back to normal.

Having atrial fibrillation in it of itself is not necessarily an emergency. Many people with atrial fibrillation are completely asymptomatic and others may only have the feeling of palpitations or an irregular heart beat.

Where atrial fibrillation can get dangerous is if it causes vital sign abnormalities, where your blood pressure can get so low you pass out, you feel short or breath, or your heart rate is dangerously fast. If your heart rate is greater than 100-110 or so, you are in a state called atrial fibrillation with rapid ventricular response. At this point we would control your heart rate with IV medications in an emergent setting.

While brief periods of asymptomatic afib can be benign, sustained atrial fibrillation increases your risk for stroke, clots in the lung, and heart failure. Depending on the patient's risk factors, some people will require blood thinners to reduce these risks. The longer your heart is in uncontrolled afib, the more difficult it is to reverse as there can be an element of cardiac remodeling.

 

What the Apple Watch is not

  • At this point in time, the Apple Watch ECG feature is not indicated for the detection of any heart conditions except Atrial Fibrillation.
  • It is also not indicated for people who already have a diagnosis of atrial fibrillation, who should be seeing a physician regularly.
  • It is NOT capable of ruling in or out a heart attack. Even a full 12-lead ECG can miss certain heart attacks.
  • It is also NOT considered an FDA approved medical device as some people have claimed it to be. The FDA simply released clearance letters, also known as a 510k Pre Market notification clearance, that also explicitly state that it is not intended for people under the age of 22. It is considered as an over-the-counter (OTC) device and classified as Class II, which is the same class as things like condoms and home-pregnancy kits.
  • It is also not a continuous monitor of your heart's electrical activity. It is only capable of measuring an ECG while your other hand is on the crown.
    • A single electrode ECG is also physically impossible. In order to measure electrical activity, there needs to be a complete circuit that passes through the heart. Not even a wireless device on the other hand can get around this as it wouldn't be part of the same electrical circuit.

Be the first to comment

BIOS/UEFI Combined Tasks

We consider this the new way to deploy an image.  Capture a BIOS configured single partition image.  Then for deployment, create the following 2 bat script tasks.

Preinstall bat task

@echo off
wpeutil UpdateBootInfo
for /f "tokens=2* delims= " %%A in ('reg query HKLM\System\CurrentControlSet\Control /v PEFirmwareType') DO SET FIRMWARE=%%B
echo Firmware Type: %FIRMWARE%
echo Explanation of Firmware Type: (0x1 is BIOS, 0x2 is UEFI)
if %FIRMWARE%==0x1 goto BIOS
if %FIRMWARE%==0x2 goto UEFI
goto END

:UEFI
(
ECHO select disk 0
ECHO clean
ECHO convert gpt noerr
ECHO create partition efi size=200
ECHO assign letter=s
ECHO format quick fs=FAT32
ECHO Create partition msr size=128
ECHO create partition primary
ECHO assign letter=c
ECHO format quick fs=NTFS
ECHO exit
)>X:\Windows\System32\UEFI.txt
diskpart /s X:\Windows\System32\UEFI.txt
goto END

:BIOS
(
ECHO select disk 0
ECHO clean
ECHO create partition primary
ECHO select partition 1
ECHO assign letter=c
ECHO active
ECHO format quick fs=NTFS
ECHO exit
)>X:\Windows\System32\BIOS.txt
diskpart /s X:\Windows\System32\BIOS.txt
goto END

:END

Make sure there is a tab and a space between 'delims=' and " %%A"

Then create a midlevel bat task

@echo off
for %%I in (Z W V U S R Q P O N M L K J I H G F E D C) do (
if exist %%I:\BOOT if not exist %%I:\SOURCES\BOOT.WIM set BOOTSYS_DRIVE=%%I:
if exist %%I:\WINDOWS if not exist %%I:\SOURCES\BOOT.WIM set WINDOWS_DRIVE=%%I:
)
wpeutil UpdateBootInfo
for /f "tokens=2* delims= " %%A in ('reg query HKLM\System\CurrentControlSet\Control /v PEFirmwareType') DO SET FIRMWARE=%%B

@echo on
echo Boot Drive: %BOOTSYS_DRIVE%
echo Windows Drive: %WINDOWS_DRIVE%
echo Firmware Type: %FIRMWARE% (0x1 is BIOS, 0x2 is UEFI)
echo Explanation of Firmware Type: (0x1 is BIOS, 0x2 is UEFI)

if %FIRMWARE%==0x1 goto BIOS
if %FIRMWARE%==0x2 goto UEFI
goto END

:UEFI
bcdboot %WINDOWS_DRIVE%\windows /s s: /f UEFI
bcdedit /store S:\efi\microsoft\boot\bcd /set {bootmgr} device partition=s:
bcdedit /store S:\efi\microsoft\boot\bcd /set {memdiag} device partition=s:
bcdedit /store S:\efi\microsoft\boot\bcd /set {default} device partition=%WINDOWS_DRIVE%
bcdedit /store S:\efi\microsoft\boot\bcd /set {default} osdevice partition=%WINDOWS_DRIVE%
Bcdedit /store S:\efi\microsoft\boot\bcd /set {FWbootmgr} displayorder {Bootmgr} /addfirst
bootsect /nt60 s:
goto END

:BIOS
if not defined BOOTSYS_DRIVE (
bcdboot %WINDOWS_DRIVE%\windows /s %WINDOWS_DRIVE%
)
goto END

:END

Make sure there is a tab and a space between 'delims=' and " %%A"

Attach these 2 tasks to your BIOS captured single partition image and go at it!!!

These 2 tasks will automatically determine if you are running BIOS or UEFI and applly the appropriate partitioning.
***Warning, issues can arise if using these on images that are not single partition or were captured from a UEFI system.

These tasks will be included as a task group when upgrading to SDA version 6.1, later this year.




View comments (1)

[I wrote] An open source Powershell Module for the Kace SMA API

[updated: 9/18/18] The module now supports a handful of POST requests, meaning you can invoke scripts or modify existing ones. More useful cmdlets will be added over time.

Like Powershell? Like KACE? If you're like me, you've noticed the KACE API sitting out there in right field, waiting on someone to hit a long fly. It's fantastic, but the barrier-to-entry might be a little daunting if you're unfamiliar with APIs.

I've written a small pet project called KaceSMA, a light weight SMA Powershell module that you can install on Windows,Mac,or Linux (mac/linux via PSCore). What it does is it essentially wraps the API in a Powershell compatibility layer and returns objects in a easy to digest format for all your automation needs. How do you use it you ask?

[edit] Updated way to install:

From a PS shell:

Install-Module KaceSMA


Here's some basic examples of what you can do, along with the code to do it:


  • Invoke a script against a list of machines
  • Add a task to an existing script
  • Return Machines with Encryption status of "Fully Encrypted"
  • Return SMA inventory machines with title 'Arduino' installed
  • Return all inventory members of smart label named "D - SmartLabel - Test"
  • Find the registry uninstall strings of all Software Inventory VMWare products
The only limit is really your API parameter creativity.

I expose the following Functions for use (today). More are being added often.

(Get-Command -Module KaceSMA).name
Get-SmaAgentlessInventory
Get-SmaAsset
Get-SmaAssetType
Get-SmaBarcodeAsset
Get-SmaCurrentUserAccount
Get-SmaMachineInventory
Get-SmaMachineProcess
Get-SmaMachineService
Get-SmaManagedInstall
Get-SmaManagedInstallMachineCompatibility
Get-SmaOperatingSystemInventory
Get-SmaReportingDefinition
Get-SmaScript
Get-SmaScriptDependency
Get-SmaScriptRunStatus
Get-SmaScriptTask
Get-SmaSoftwareInventory
Get-SmaStartupProgramInventory
Get-SmaUserPermissions
New-SmaScriptTask
Invoke-SmaScript

This isn't an exhaustive list of the API, there are a few I'm not exposing yet due to bugs on the SMA API end (dutifully ticketed and tracked already via support request with Quest), namely the Managed Install endpoint. If anyone has a request for a GET method that isn't covered, let me know- or submit a Pull Request!


You can install via "Install-Module KaceSMA", and update with "Update-Module KaceSMA". You can also clone the repository if you'd rather.

Here's an output if a simple asset retrieval:

BB3tPM.png


Thanks, and happy coding!

Nathaniel Webb (isudothings)

View comments (1)
Showing 1 - 5 of 3219 results