- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My company is starting the implementation of vPro and so I'm taking a look at the c# API. So far I have managed to figure out most things but I have a problem to get the vPro client to boot to an ISO. My IDER code looks like this:
amt.RedirectionIDER.SetInterfaceState(true);
amt.RedirectionIDER.StartIDERCD("\\\\\\\\My\\\\Path\\\\To\\\\IsoFile.iso");
amt.RedirectionSOL.StartSOL();
BootSource bootSource = new BootSource(BootSourceEnum.IDERCD);
try
{
amt.BootControl.SetNextBoot(bootSource, BootOptionsFlags.UseSOL);
Console.WriteLine("Boot option completed sucessfully");
}
catch (ManageabilityException ex)
{
Console.WriteLine("Boot operation failed");
Console.WriteLine(ex.Message);
}
try
{
amt.Power.Reset();
Console.WriteLine("PowerReset success");
}
catch (ManageabilityException ex)
{
Console.WriteLine("PowerReset failed");
Console.WriteLine(ex.Message);
}
It prints:
Boot option completed sucessfully
PowerReset success
It reset the computer successfully, boots into SOL mode but boot directly to hard drive. No error message anywhere. The iso works when I use powershell cmdlet invoke-amtforceboot.
Am I missing some step when I do this? I have tried to look at the examples and also in Remote Iso Launcher source code but cannot find anything else that I should do.
Thanks
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
According to the description of StartIDERCD() the listener should be enabled automatically when calling this method. Do I need to do something else to manually enable it as well?
I'm unsure of what you are refering to as IMRSDK tool, could you elabore a bit? I'm totaly new in this area so please bare with me.
AMT version is 7.1.3 and SDK is 8_4197.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry for the late reply, I had to be out of office for a few days.
Thanks for the detailed links. The flow in the first is based on c++ code if I'm not misstaken. Where in this flow would StartIDERCD be? IMR_Init and/or IMR_OpenTCPSession?
I can see functions called in the powershell example through a Intel.Management namespace but I cant find these in the c# API. The closest would be Intel.Managebility but I cant find any functions there to initialize the library like the powershell examples does.
When using the redirection sample IMRGUI.exe I just get an error: "Could not initalize IMR SDK". However the command line version AmtRedirection.exe seems to be working and using this tool I can open an IDER session and enter the path to my ISO. When I then do a IDER CD boot, it boots successfully to my ISO.
If I use the same code as seen above but change BootOptionsFlags to BiosSetup and remove StartIDERCD, the computer boots into Bios successfully. So it looks like IDER is working and I'm doing something wrong in telling the AMT device how to look for the ISO.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I attached the system discovery xml file for you as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page