Quantcast
Channel: Ivanti User Community : Document List - OS Deployment and Provisioning
Viewing all 639 articles
Browse latest View live

How To: Collect some Registry Key data in WinPE to be reported on the inventory and use for if Conditions

$
0
0

How To:

 

In this scenario, we have several NEW machines including different models to be provisioned and we need to deploy a different image according to the model. This scenario will show us how to collect the model of the computer in the registry within WinPE environment which will be reported back to the Core Server in the temporary inventory of this machine.

We will then use this value in the inventory to create some conditions in the provisioning template to deploy 1 image or another based on this value.

 

Step by Step:

 

     Step 1: Create a batch file with the following code

FOR /F "tokens=3*" %%a IN ('reg query "HKLM\HARDWARE\DESCRIPTION\SYstem\BIOS"  /V SystemProductName  2^>nul') do miniscan.exe /send="Custom Data - Model = %%a %%b"

 

     NOTE: This code is designed to collect the device model name from a registry key, and then use miniscan.exe available in WinPE to report a custom data back to the Core Server to be available on the inventory of the device being provisioned.

 

     Step 2: Save this batch file onto a share folder

 

     NOTE: I called it "\\<CORESERVER>\TEST_SOFTWARE\SystemProductName.bat"

 

     Step 3: Go on your provisioning template and go in "OS Installation section"

 

          a. Add a first action "Download Preferred Server" to download the batch file created in Step 1 into WinPE.

 

               NOTE: Do not forget to specify the Read credentials for the corresponding Preferred server (In my example, I defined a preferred server called "10.1.1.210")

          Screen Shot 2018-01-05 at 14.24.54.png

 

          b. Add a second action "Execute File" to execute the batch file

          Screen Shot 2018-01-05 at 14.30.31.png

 

          c. Now the value appears in the inventory of the new device:

 

          Screen Shot 2018-01-05 at 14.37.40.png

 

          d. We can use an "if conditional" action to deploy one or another image depending on this inventory data:

 

          NOTE: see How to use Conditionals in LANDESK 2016 Provisioning to know how to use the conditionals (In this article, it actually explains how to deploy an image based on an inventory value, but for a computer which was already existing on the Core Server, hence the inventory data were already there).

 

          Screen Shot 2018-01-05 at 14.44.34.png


How To: Launch Provisioning on a Client in Windows

$
0
0

Problem

 

In some situations it may be desirable to initiate a Provisioning task client side, without booting into WinPE.

Example: Launching a deploy profile Provisioning template.

 

 

Steps

 

  • Create a directory on the client to contain the ldprovision.exe
    • C:\ldprovision
  • Download/copy ldprovision.exe to the client machine.
    • Example location on Core: "C:\Program Files\LANDesk\ManagementSuite\ldlogon\provisioning\windows\ldProvision.exe"
    • Example destination on client: C:\ldprovision\ldProvision.exe
  • Launch ldProvision.exe as the Local System Account
  • ldProvision.exe will begin downloading prerequisites
  • When ldProvision.exe is ran as the Local System Account, it will present the Provisioning GUI which allows users to authenticate to the Core, and select templates.

gui1.png

 

gui2.png

 

 

Note: If ldProvision.exe is ran as any account other than Local System, it will present a command line interface.

Though this interface will allow users to authenticate to the core in the same manner as the GUI, its menu is not navigatable, as the directional keys/arrows act as escape commands.

 

 

cli.png

PXE Service is giving "Subnet Error"

$
0
0

Problem:

You will see an error under Self-Electing Subnet Services for the "Current State" which will show "Subnet Error"

Subnet_Error.jpg

 

To review the cause of this error you will need to go to the PXE Rep / Client that is running PXE Services and open the Registry. Navigate to the following key:

 

HKLM|SOFTWARE|Wow6432Node|LANDesk|ManagementSuite|WinClient|CSEP

 

Registry Key on Client
HKLM|SOFTWARE|Wow6432Node|LANDesk|ManagementSuite|WinClient|CSEP
PXE Service "Subnet Error" (Boot.wim)PXE Service "Subnet Error" (NBI / Netboot Image)
Crip_Reason_Boot.wim.jpgCrip_Reason_NetBoot.jpg

 

Log files to reference for Information about PXE:

Logs are located on the PXE Client - C:\ProgramData\LANDesk\Log\

PXESVC.Log

PXEMTFTP.Log

TMCSVC.Log

SelfElectController.Log

 

Sometimes its best to enable Xtrace logging to get more information from the logs - How to enable Xtrace Diagnostic Logging - https://community.ivanti.com/docs/DOC-32532

 

Resolution:

 

How to Fix issue with Boot.wim/Boot_x64.wim :

 

You will first want to make sure that the Boot.wim/Boot_x64.wim is copied to the PXE Rep in the following directory: C:\Program Files (x86)\LANDesk\PXE\System\images\Boot

PXE_Bootwim_Location_Agent.jpg

 

If the file is not located here we should review the PXE Logs to find out why the Boot.wim & Boot_x64.wim are not being copied over. You can also try to manually copy the files from the core server from \\%corename%\ldmain\landesk\vboot\

 

How to Fix issue with Netboot Image:

 

Navigate to OS Provisioning by going to Tools - Provisioning - OS Provisioning from your Console.

Click on "Preboot" drop down and select "Manage NetBoot Image Mappings"

 

Manage NetBoot Image MappingsMac NetBoot Image Mappings
Provisioning_ManageNetBoot.jpgMAC_NetBoot_Image_Mappings.jpg

 

Browse to the location of your NBI (NetBoot Image file) and select it. Click Apply

UEFI PXE boot failures and/or PXE-E16 errors - ThinkPad

$
0
0

Symptom:

 

When attempting to UEFI PXE boot ThinkPad notebook systems that have Intel Kabylake chipsets, the PXE process will fail and potentially return PXE-E16 errors.

 

This document has since been deleted/removed (Reference Lenovo's Document ID: HT503674 - https://support.lenovo.com/us/en/solutions/ht503674 System Is Configured With: UEFI PXE booting Kabylake Chipsets)

 

You can reference this forum post (PXE Boot error code E16 No Offers Received - Lenovo Community )

 

This issue has been resolved by Lenovo by updating to the latest BIOS version for these devices. If you run into this the first step would be to confirm you are on the latest BIOS version.

 

 

Affected Systems:

T470

T470s

L470

T470p

T570

P51s

X270

X1 Carbon

X1 Carbon Yoga

Yoga 370

P51

P71

L570

How to use CSVIMPORT.EXE to import devices

$
0
0

Description

This document covers how to use csvimport.exe to import machines into Bare Metal for LANDESK OS Provisioning.

 


Question

 

How to properly use CSVIMPORT.EXE to import devices.

 

In order to properly import devices Network view, the proper formatting, syntax, and network information must be supplied.

 

Answer

 

Automating the naming of computers during an OS Deployment task reduces the work load of the IT department, saving time and money. OSD has the ability to work with sysprep to name computers based off Device Name in the database. It uses the Mac Address of a computer to match a device to the computer name associated with that Mac Address in the Database. Newly purchased computers do not exist in the LANDESK database as these computers have never been scanned. Such computers can be manually added to the database before deploying the image allowing the computers to be automatically named as part

of an OS Deployment task.


To accomplish this, LANDESK provides a utility called csvImport.exe to manually add devices to the database. This utility is located in the C:\Program

Files\LANDESK\ManagementSuite directory.

 

Adding devices to LANDESK using csvImport is a four step process:

 

1.  Create a template

2.  Create a .csv file

3.  Run csvImport to generate mini-scans

4.  Process the mini-scans

 

Step 1 - Create a template file

 

A template file is required by the csvImport utility. This file contains information about what content will be added to the inventory for a device created with the

csvImport utility.

 

(NOTE:  The template file is a plain text file. This file should be created in a plain text editor such as notepad.) Each line in the template file represents an entry that will be inserted into a miniscan file when csvImport.exe is run. This mini-scan processed by moving it to the ldscan directory, at which point the device is added to the database.

 

Syntax

 

The template file must be created following strict syntactical guidelines.

 

(NOTE: Failure to follow the correct syntax could result in one or more of the following:

 

    1. An invalid template file.
    2. Entering invalid data into the database for the added devices.
    3. Entering no data or missing data in the database for the added devices.

 

The syntax for each desired line is as follows:

[<Heading> - <Heading> - <Head...>] - <Value name> = <Value Data>

    

 

(NOTE:  The following characters are not used: <,>,[,]. These symbols are used to help clarify the syntax only.)

 

The following line is an example of correct syntax for a line in the template file:

Network - TCPIP - Subnet Mask = 255.255.255.0

    

 

In this line, "Network" is the first heading while "TCPIP" is a sub heading. "Subnet Mask" is the Value Name and "255.255.255.0" is the Value Data.

 

Heading

 

Headings are not required as indicated by the square brackets []. There can be multiple headings. Default heading values can be seen in the Inventory of a fully scanned client on the left panel underneath the computer name.

 

If a heading has a plus sign next to it, then more headings exist underneath the first heading. Expand any heading by clicking on the + sign and the default values for that heading will be displayed. Headings are not limited to the default values. Custom values may be used and will be entered into the database.

 

Value Name

 

This is a required field. Most default Value names can be seen in the right pane by highlighting any heading. All headings are visible in the left pane. If a Value Name is given without a heading, it will be entered under the computer name on the very top

of left panel of the Inventory screen. Value Names are not limited to the default values. Custom values may be used and will be entered into the database.

 

Value Data

 

Value Data can be any date, string, or integer. It is not required to specify in the template file whether the Value Data will be a date, string, or ineger because this is automatically detected. Value Data can be specified with a variable that gets its value from the .csv file (see Variables as Value Data), or it can be statically entered (see Static Entries as Value Data).

 

Variables as Value Data

 

Variables are used to get data from the .csv file. The template file is created so each line contains data to enter into the database. The variable %<number>% describes the column in the .csv file from which the value of the variable will be assigned. %1% is or the first column, %2% is for the second column, %3 is for the third column, and so on.

 

Static Entries as Value Data

 

If a line does not have a variable (such asthe second line of the example below), the Value Data is considered static. No Column should be made in the .csv file for this line because the data will be the same for all devices. Only lines with a variable should have a column in the .csv file.

 

Minimal Information Needed for OS Deployment

 

OS Deployment will use database information to rename a computer. The minimum inventory a device needs is “Device Name” and “Network – NIC Address.” This means the template file must have at least the following two lines:

Device Name = %1%

Network - NIC Address = %2%

    

Sample Template File

 

The following is the text from a sample template file.

Device Name = %1%

Network - NIC Address = %2%

Network - TCPIP - Subnet Mask = 255.255.255.0

BIOS - Serial Number = %3%

BIOS - Asset Tag = %4%

    

Lines 1, 2, 3 and 5 use variables to get their data value from the .csv file. Line 3 gets its value from the assigned value in the template file.

 

The following is the text from a sample template file for importing Bare Metal Devices.

 

     Scan Type = BAREMETAL
     Device Name = %1%
     Network - NIC Address = %2%
     Type = Bare Metal Provision
     OS - Name = Bare Metal

 

The .csv file is an information file referenced by the csvImport. It should contain all the information for the computers that are being added to the database. This information can often come for the computervendor or it can be manually gathered from the computers. Remember that by using csvImport, the naming of computers can be automated through the imaging process. The man hours used to gather the data needed for the .csv file is significantly less than the man hours needed to manually rename every computer during or after the imaging process.

 

Syntax

 

In order for csvImport to understand the .csv file, it reads the template file. The

template file determines how the .csv file should be created. Every variable in the

template file refers to a column in the .csv file. While the columns are determined

by the number of variables in the template file, the number of rows is determined by

the number of computers; one row is needed for each computer.

 

The following is the proper syntax

value1,value2,value3,...

value1,value2,value3,...

...

    

Alternately a space can exist after each comma.

 

(NOTE: The ellipsis “...” is not part of the syntax. This is used only to represent the

idea that data for more columns and more rows can be added.)

 

The following two lines are an example of correct syntax for a line in the .csv file:

ComputerName1, 000ABBCCDD01, SN-0001, ASSETTAG-01

ComputerName2, 000ABBCCDD02, SN-0002, ASSETTAG-02

    

 

Though the above two lines have four columns, any number of columns is possible. The minimum should include columns for the Device Name and NIC Address. The number of columns and the type of data the column contains is directly related to the Template file.

 

The Relationship between the Template File and the .csv File

 

Below is a copy of the template file from the previous step:

Device Name = %1%

Network - NIC Address = %2%

Network - TCPIP - Subnet Mask = 255.255.255.0

BIOS - Serial Number = %3%

BIOS - Asset Tag = %4%

    


This sample template file has four variables %1%, %2%, %3%, %4%. This indicates that
the .csv file will have four columns. Each column should contain the data for which the variable represents. For example, in the template file shown above, %1% standsfor the NIC Address. Column one of the .csv file should contain only NIC Addresses; one NIC Address for each row, or each computer. Similarly, %2% represents the Serial Number for the BIOS. Column two of the .csv file should contain only BIOS Serial Numbers; one Serial Number for each row, or each row for each computer.

 

Sample .csv File

 

The following is a sample .csv file. This sample file has been created based on the sample template file using only four machines.

ComputerName1, 000ABBCCDD01, SN-0001, ASSETTAG-01

ComputerName2, 000ABBCCDD02, SN-0002, ASSETTAG-02

ComputerName3, 000ABBCCDD03, SN-0003, ASSETTAG-03

ComputerName4, 000ABBCCDD04, SN-0004, ASSETTAG-04

    

(NOTE:  This can be created in any text editoror in any spreadsheet application. If created in a spreadsheet application, makesure the file is saved as a comma delimited .csv file. Also note that the commas are automatically inserted when creating a file using a spreadsheet application and should not be

manually added in the spreadsheet.)

 

Step 2 - Using the CSVImport utility

 

The csvImport utility is used to create mini-scan files from a template file and a .csv file. It does not automatically enter these scans or create machines in the database.  Instead, it creates mini-scan files that must be placed in the ldscan directory so that the LANDESK Inventory service can process them. It is the LANDESK Inventory service that processes the mini-scans and adds the device to the database.

 

Syntax

 

The syntax for csvImport is as follows:

csvImport <template file> <.csv file> <output directory>

    

[template file = any template file]  [.csv file = any .csv file]  [output directory  = folder where mini-scans are created]

 

The csvImport utility requires all three options (the template file, the .csv file, and the output directory) to be specified. Ifthese files are not in the directory from

which csvImport is launched, then full paths may need to be specified.

 

Example:

csvImport c:\path\to\templatefile.txt c:\path\to\computers.csv c:\folder

    

 

Running csvImport will result in the generation of mini-scan files, one for each device in the .csv file.

 

Step 3 - Processing mini-scan files


Mini-scan files are text files with a .IMS extension that contain information about a
device. This is information is in plain text but is formatted so that the LANDESK

Inventory service can read and process it. The LANDESK Inventory service uses the information from the mini-scan to add devices to the database.

Mini-scans are created by csvImport as explained in Step 3.

 

How to Process Mini-Scans

 

To process the mini-scans, copy all the mini-scan files (files with a .ims extension) to the \Program Files (x86)\LANDESK\Managementsuite\ldscan directory on the core. These scans will be processed and deleted from the directory by the LANDESK Inventory service. The devices created from the mini-scans will be viewable in the LANDESK Console in the Network View under All Devices.

 

Note: The core server will not process a mini-scan if it does not have [Network - NIC Address = ] in it.  The scans will be placed in the ErrorScan directory and no errors messages will be generated.

 

Sample Mini-Scan

 

The following information is the output of a sample mini-scan named csvImp2.ims.

 

Notice that the mini-scan is in the same format as the template without variables.

Device Name = COMPUTERNAME2

Network - NIC Address = 000ABBCCDD02

Network - TCPIP - Subnet Mask = 255.255.255.0

BIOS - Serial Number = SN-0002

BIOS - Asset Tag = ASSETTAG-02

    

 

Creating a Mini-Scan in a Text Editor

 

Understand that csvImport is a utility that automates the creation of mini-scans. The csvImport utility is not required to create mini-scans.  Manual creation of mini-scans can be done in a text editor if created withthe correct syntax. The syntax for a miniscan is the same as for a template file without the variables; all data must be static.)

 

Test the following:

 

1.  Create a text file with the following syntax. Put in any computer name and any NIC Address not already in the database

Device Name = ANYNAME

Network - NIC Address = 000123456789

    

 

2.  Save the file as test.ims and copy the file to the ldscan directory for processing by the LANDESK Inventory service.

 

3.  In the LANDESK Console, refresh All Devices under the Network View. The new device will exist.

 

Sample Use of csvImport

 

This section will demonstrate the use of csvImport, using example files and example computers.

 

1.  Create a template file by opening a text editor and copying the information below. Save the file to c:\temp\template.txt.

Device Name = %1%

Network - NIC Address = %2%

Network - TCPIP - Subnet Mask = 255.255.255.0

BIOS - Serial Number = %3%

BIOS - Asset Tag = %4%

    

 

2.  Create a .csv file by opening a text editor and copying the information below. Notice that each column corresponds to a variable from the template file.

Save the file to c:\temp\data.csv.

ComputerName1, 000ABBCCDD01, SN-0001, ASSETTAG-01

ComputerName2, 000ABBCCDD02, SN-0002, ASSETTAG-02

ComputerName3, 000ABBCCDD03, SN-0003, ASSETTAG-03

ComputerName4, 000ABBCCDD04, SN-0004, ASSETTAG-04

    

 

3.  Open a command prompt and change to the C:\Program Files\LANDESK\ManagementSuite directory. Then run the following command:

csvImport c:\temp\template.txtc:\temp\data.csv c:\temp

    

 

4.  Once the above command is run, four .ims files (one for each computer), will be created in the c:\temp directly.
Copy those files to the \Program Files (x86)\LANDESK\ManagementSuite\ldscan directory.

 

5.  Open the console and go to the All Devices under the Network View to verify that the devices are added to the database.

 

Summary


This article has explained the four step process by which computers can be added to the database using csvImport.

 

    1. Creating a template
    2. Creating a .csv file
    3. Running csvImport to generate mini-scans
    4. Processing the mini-scans

 

Adding devices to the database using csvImport is necessary only before OS Deployment using Sysprep and is used in conjunction with OS Deployment and Sysprep to automate the naming of computers that are not already in the database.

 

Appendix A – Wake on LAN

 

For sending a wake on LAN packet, the following is the minimal information needed:

Device Name = %1%

Network - NIC Address = %2%

Network - TCPIP - Subnet Mask = 255.255.255.0

Network – TCPIP - Address = %3%

Network – TCPIP – Subnet Broadcast Address = %4%

    

 

Since 9.6, to Wake up a device, the minimal information needed are the following:

 

Device Name = %1%

Network - NIC Address = %2%

Network - TCPIP - Subnet Mask = 255.255.255.0

Network – TCPIP - Address = %3%

Network – TCPIP – Subnet Broadcast Address = %4%

Device Name = %1%

Network - NIC Address = %2%

Network - TCPIP - Subnet Mask = 255.255.255.0

BIOS - Serial Number = %3%

BIOS - Asset Tag = %4%

    

Ivanti Endpoint Manager and Endpoint Security - Provisioning Frequently Asked Questions

$
0
0

Provisioning for Ivanti Endpoint Manager and Endpoint Security

This is a list of highly recommended documents for increasing overall knowledge of this component.

If you want to review additional content regarding this component, please use the Provisioning Discussion Tab or Provisioning Documents Tab

 

Initial Install and Configuration
Additional Information and UpdatesCommon Issues
Whats new in OS Provisioning in LANDESK 2016.3What's new in Provisioning in LDMS 9.6 Service Pack 1Issue: Capture Image or Deploy Image Action Fails
What's New for Provisioning in LANDESK Management Suite 2016About LANDESK Hardware Independent Imaging (HII)Issue: MaptoPreferredHandler.exe Fails in Provisioning After 9.6 SP1 Upgrade
How to Deploy a Windows 8.1 image with IMAGEW.EXE v2 in LANDESK® Management Suite 9.6About the LANDESK HII Driver RepositoryIssue: Provisioning History shows "Running" state on completed task
How to capture an image using IMAGEW.EXE with provisioning in Management Suite 9.6About the LANDESK HII Driver Database
Use a "single agent install" to create and use a "provisioning agent" for end to end provisioningAbout Windows PE versions used in Ivanti Endpoint Manager
How to Provision a UEFI Tablet using ImageW

 

 

Ivanti Momentum Content

[Tech Brief On-Demand Webinar 2017] Technical Provisioning Configuration and Troubleshooting

[Tech Brief On-Demand Webinar 2017] Windows 10 Migration with Management Suite 2016.3

[Tech Brief Recording] Provisioning with LANDESK Management Suite

 

 

"How To" Documents

GeneralProvisioning ActionsHII (Hardware Independent Imaging)Profile MigrationPXE, vBoot and WinPE

How to use Conditionals in LANDESK 2016 Provisioning

How to Detect and Install Patches within Provisioning

How to add drivers to WinPE for LANDESK OS ProvisioningHow to: Build a Profile Migration Command Line with sample scriptHow to configure DHCP to work with LANDESK PXE boot
How to use ImageX with LANDESK Management SuiteHow to use the LANDESK OS Provisioning "Patch System" actionHow to manage drivers using the HII toolHow to capture user profiles using LANDESK ProvisioningHow To: Redeploy PXE Representatives
How To: Use Inject Scripts in ProvisioningHow to use Product to Package MappingHow to use HIICLIENT in preview modeHow to deploy user profiles using LANDESK ProvisioningHow to troubleshoot the LANDESK PXE Process
How to use the 'Includes' option in a Provisioning Template to link to other TemplatesHow to use DISM to manually inject drivers into the Boot.wimHow to configure preferred servers as a PXE representative and host a web share for Vboot files
How to use Variables in OS ProvisioningHow to change the Hii Driver Download Location Within the Patch Manager Download Updates ToolHow to Create OS Provisioning Boot Media
How to rename computers using LANDESK Provisioning "Device Name Prompter" action
How to Import/Export Provisioning Templates - Video
How to Import/Export Provisioning Templates - Video
How to Create a Disconnected Provisioning Template - Video
How to Join Specific OU in LDMS 9.6

 

General Troubleshooting

 

GeneralPXE IssuesHII IssuesTemplate Issues
Windows PE Issues
How to Troubleshoot Provisioning Template Actions - VideoHow to troubleshoot the LANDESK PXE ProcessHow to troubleshoot PXE boot (OSD and Provisioning)How to troubleshoot Provisioning Template Action HandlersHow to Troubleshoot WinPE hanging after selecting an OSD script from the Boot Menu.
How to troubleshoot the Configure Target OS (CTOS) Action in Provisioning Templates

 

NOTE:This page is not a comprehensive list of documents and issues. You can continue to search the rest of the community or the portion specific to Provisioning if this page has not helped.

How to turn on logging for the LANDESK PXE service

$
0
0

Purpose

 

This article covers how to enable PXE logging. This can be helpful when troubleshooting PXE representatives.

 

Steps

 

  • Modify the following registry key on the PXE Representative:
    • x86 - HKLM\SOFTWARE\Intel\PXE\
    • x64 - HKLM\SOFTWARE\Wow6432Node\Intel\PXE
  • Change the following values [0 = off, 1 = on]
    • PxeMtftp_DebugOutToFile_On
      • Creates PXEMTFTP.LOG
    • PxeServices_DebugOutToFile_On
      • Creates PXESVC.LOG
  • Restart LANDesk(R) PXE MTFTP Service
  • Restart LANDesk(R) PXE Service
  • The log files can be found in C:\Program Files (x86)\LANDESK\PXE\System

Error: 0x0000007b and reboot loop after image deploy task

$
0
0

Issue

 

After deploying Windows XP using HII the machine either reboots continually (reboot loop) or displays bluescreen error 0x0000007b.  This is done even when the hard disk controller does not require any drivers to be added in order to install the OS natively on the target device.

 

Note: Windows Vista and Windows 7 have fundamentally changed how these drivers are handled.  They should not have a problem with this issue.  This resolution will only work for Windows XP.

 

Cause

 

Most IDE controllers, and many SATA controls, have drivers built into Microsoft's Windows XP OS.  During install the drivers that are detected are listed in the Windows XP registry under the CriticalDeviceDatabase.  This section of the registry contains driver information for hardware that is necessary for the OS to load.  If hardware is present, but the information for that hardware is not found in the CriticalDeviceDatabase section of the registry the OS will not boot.  This can happen even with natively supported hardware, if it is different hardware from the source machine.  This problem is compounded by the fact that generally there is no driver released by OEMs for this type of hardware, because the drivers are already built in.

 

Depending on the settings on the machine this will either cause it to get into a reboot loop or display a blue screen with the following error:

STOP: 0x0000007B (0xF741B84C,0xC0000034,0x00000000,0x00000000)

INACCESSIBLE_BOOT_DEVICE

 

Resolution

 

List all possible natively supported hard disk controllers in the CriticalDeviceDatabase before capturing the base XP image.  The source of information to resolve this problem is here: http://support.microsoft.com/kb/314082

 

The steps to follow are listed here:

 

1)  Download the attached file called MergeIDE.reg.

2)  Import MergeIDE.reg file's registry entries into the source XP machine before capturing.

3)  On the source XP machine browse to %windir%\Driver Cache\i386.

4)  Open the file driver.cab and/or sp3.cab (for XP SP3) and extract the following files:

 

    • Atapi.sys
    • Intelide.sys
    • Pciide.sys
    • Pciidex.sys

 

Note: Most files may be found in the SP3.cab file.   Other drivers might be found in the driver.cab file.

 

5)  Copy the four files that were just extracted to the %windir%\system32\Drivers folder.

 

6)  Sysprep the machine and capture your image, like you normally would

 

At this point the machine should be able to be deployed to dissimilar hardware through HII.


How to add a specific keyboard to the BOOT.WIM

$
0
0

Description

 

If specific keyboard support is needed for the boot.wim, the following steps will allow you to modify the keyboard settings.  This can be used to add support for regional keyboards in your boot.wim:

 

Resolution

 

  1. Mount boot.wim with imagex using the /mountrw option.
    imagex /mountrw c:\LANDesk\ManagementSuite\landesk\vboot\boot.wim 1 c:\temp\mount
  2. Open regedit, highlight HKEY_LOCAL_MACHINE, go to the File Menu and select Load Hive
  3. Browse to {boot.wim mount}\windows\system32\config and select the file DEFAULT.
  4. Name the hive WINPE_TEMP when prompted.
  5. Open HKLM\WINPE_TEMP\Keyboard Layout\Preload. Change the value 1 from 00000409 to 0000040c.
  6. With WINPE_TEMP highlighted in regedit, from the File menu select Unload Hive and click Yes if prompted.
  7. Unmount boot.wim with ImageX, use /commit option.
imagex /unmount /commit c:\temp\mount

 

You must re-deploy the PXE Representatives in order for these changes to take effect.

 

You can test your boot.wim by booting to WinPE on a bare server.  The above settings (40c) will load the keyboard in French.

 

The following link shows the Locale IDs assigned by Microsoft and should help when determining the keyboards settings:

 

http://msdn.microsoft.com/en-us/goglobal/bb964664.aspx

How to use Windows System Image Manager (SIM)

$
0
0
Windows System Image Manager (SIM)

Windows System Image Manager is a tool created by Microsoft to manage and create answer files for the operating system.

The answer files can be used both for full unattended installations of Windows, and to automate the mini-setup, now known as the Out Of Box experience (OOBE). It automatically writes the XML from a wizard-like tool and validates the answer file against the selected installation source.

 

Installing System Image Manager

System Image Manager is part of the Windows Automated Installation Kit (WAIK). It can be downloaded from Microsoft. You should download and install the most recent version of WAIK as it is backward compatible. Once installed you will find the System Image Manager under the Windows AIK program group.

 

Using System Image Manager

To take full advantage of SIM, make sure you have access to the install.wim file for the OS you are installing. This will allow you to validate the answer file and provide the correct options. You can create an answer file without access to the .wim file, but some functionality will be limited.

 

  1. Click on New Answer File
    SIM - New.png
  2. A message will prompt you to select an image file. Select yes, then navigate to the appropriate .wim file.
  3. Once you select the .wim file, you will be prompted to create a catalog. Select Yes.
    SIM - Open Windows Image.png
  4. Once the catalog file is created, you will see a screen similar to the following:SIM - Basic Edit - Small.png

 

This is the standard editing window for creating the answer files. The configurable sections and values are in the Components section in the lower left panel. Once a property is selected, the configurable values will appear in the right panel.

 

Each property can only be assigned to certain "Passes". The passes are listed in the middle pane. They are:

 

  1. windowsPE
  2. offlineServicing
  3. generalize
  4. specialize
  5. auditSystem
  6. auditUser
  7. oobeSystem

 

These passes are run in order and each property, or action in each section is run in the order listed.

 

A variety of configurations are needed in order to make a fully unattended installation. More information about what is needed to fully automate the installation can be obtained from Microsoft TechNet.

 

Some good TechNet articles to review:

 

Windows System Image Manager Technical Reference

 

Step-by-Step: Basic Windows Deployment for IT Professionals (Windows 7)

 

What is Windows System Image Manager?

 

Windows Setup Configuration Passes

 

Understanding Windows Image Files and Catalog Files

 

Once the answer file has been completed and validated, it can be used in LANDESK by either installing the script for provisioning or using it as a template in an OSD script.

How to get your AMD Chipset to work in your Intel HII Image

$
0
0

If your company is like mine, then you might be faced with strict budgets and that may find your hardware getting replaced with the AMD chipset.  Since all our previous hardware was Intel, this was all new to me and I must say, it was a headache.

 

I have my Universal Image based off of Jan Buelen's whitepaper on Hardware Independent Imaging - rev 9.1found here - http://community.landesk.com/support/people/jan.buelens/blog/2009/07/10/hardware-independent-imaging--rev-91

 

The problems I faced was:

  • No AMD Sata Driver support in WINPE
  • Intel CPU driver conflict with AMD CPU

 

AMD SATA Driver support is fixed with Jan Buelen's latest WinPE DriverPack - found here - http://community.landesk.com/support/people/jan.buelens/blog/2009/06/18/winpe-driverpack-tool--bring-your-winpe-image-up-to-date-with-all-the-latest-drivers

 

The second issue I had was now that I have WinPE recongizing the hard drive.  I could lay down my universal image, inject the drivers, msd and hal. Upon it's first boot up I was presented with a BSOD. I quickly assumed that there was still mass storage drivers issues, however if you hit F8 and during boot and choose DISABLE AUTOMATIC RESTART ON SYSTEM FAILURE.  I noticed I was presented with a different error:

 

STOP 0×0000007E error and notSTOP 0×0000007B error

 

This lead me to this microsoft article: http://support.microsoft.com/kb/953356

Error message after you upgrade a computer that uses a processor other than an Intel processor to Windows XP Service Pack 2 or to Windows XP Service Pack 3: "STOP: 0x0000007E"

 

 

To sum up:

 

All I need to do is modify the following registry value

[HKEY_LOCAL_MACHINE\System\ControlSet001\Services\intelppm]

Set Start to 4

This disables the Intel Processor Driver from loading during boot.

 

I created a .reg file with this entry (attached) and placed it in my msd folder and InjectMSD loaded the modification and now your Intel based Image will boot and go through sysprep, load drivers, ect...

 

 

I attached my exported registry modification that I use for InjectMSD.  I hope this helps.  Thank You Jan for the help and the awesome work you put out here.

Issue: Ivanti Antivirus or Policy Invoker Services not installing during OSD imaging

$
0
0

Issue

 

Ivanti Antivirus or Policy Invoker Service is not installing with the agent during the sysprep process on OS deployment

 

Cause

 

The network drive to the LDLogon folder is being deleted before the Agent installation completes.

 

Resolution

 

  1. The file that needs to be edited is a XML file, so execution may vary depending on how your computer is configured to handle viewing XML files. The instructions are written as if you need to manually find the file and open it with notepad.
  2. Browse to <coreserver>\LDmain\LANDESK\files
  3. Locate the .XML file with the name of your OSD deployment script.
  4. Open the .XML with notepad.
  5. Locate the and change the following as shown.

 

 

<SynchronousCommand>  <CommandLine>net use \\core90v2\ldlogon /d /y</CommandLine>  <Description />  <Order>6</Order>  </SynchronousCommand>
- <SynchronousCommand>  <CommandLine>cmd /q /c del /q c:\ldiscan.cfg</CommandLine>  <Description />  <Order>76</Order>  </SynchronousCommand>

 

Note: If you do a regular edit on the script and save the script, it will overwrite the .ini and .inf file and put the command3 line back in.  So if you have to modify the script, make sure that you do the advance edit on the script when you finish and remove the command3 line again.

Error: PXE-E74 bad or missing PXE menu and or prompt information

$
0
0

Issue

The following error occurs when attempting PXE boot:

PXE-E74 bad or missing PXE menu and or prompt information

           

 

This issue can be caused by a variety of different problems.  The following describes these different scenarios, causes, and resolutions.

 


 

 

ProblemCauseSymptoms and Resolution

PXE Representative has an outdated Ivanti EPM Agent.

Ivanti EPM agent is not at the correct version.The correct agent version matching the PXE Representative installation and the Core Server version

BIOS has bad network boot agent code

BIOS with Intel Boot Agent(IBA) versions 1.3.36 through 1.3.50 do not allocate enough memory space for the PXE menu to be loaded on the client computer.

This is the most common cause of this PXE-E74 issue.


Computers that customers reported experiencing this issue:

VendorModels
DellLatitude E3400 / E4300 / E7240, E7440, Optiplex 780
Lenovox200, T410, T500/W500
HP / CompaqMini 5103 Netbook
PanasonicCF-31

Symptoms: Only specific models of computer are unable to PXE boot.

 

Resolution:  Upgrade or downgrade BIOS.  Contact device vendor for further information.

 

BIOS with IBA prior to 1.3.36 or a BIOS with IBA after 1.3.51 should address this issue.


Some vendors have not provided an updated BIOS to fix the issue, while other vendors have. 
If a vendor has not provided a BIOS that fixes the issue if possible the BIOS should be downgraded. 
If an update is provided that may fix the issue, a BIOS upgrade may be necessary.

PXE Representative installation is incomplete or corrupted

The PXE representative installation may have been incomplete causing missing directories or folders, or those files may have become corrupt.  The following graphic illustrates the folder and files that should exist under \Program Files (x86)\LANDESK\PXE:

(Run "tree /f" from this folder to compare results)

      PXEFileTree.jpg
Click graphic to view full size.

Symptoms:  All computers on the same subnet will not PXE boot.  Or if using more than one PXE rep on a subnet, all computers going to specific (bad) PE Representative will fail.

Resolution: Reinstall the PXE Representative.

  1. Verify which PXE representative clients are attempting to boot from by looking for the PXE representative IP Address on the BIOS boot screen on the client.
  2. Delete existing PXE Representative Deployment task.
  3. Schedule new PXE Representative Deployment task.

Ports blocked to the PXE  Representative

 

During the network boot process, all file transfer requests are initiated to port 69 which services the TFTP (Trivial File Transfer Protocol).


If this port is blocked, requests to the TFTP Service on the PXE representative will fail.

Symptoms: All computers on the same subnet will not PXE boot. Or if using more than one PXE rep on a subnet, all computers going to specific (bad) PE Representative will fail.

 

Resolution: Check network environment to ensure that proper ports are available.

    • UDP Port 67 (DHCP)
      Port used by the DHCP Server to receive requests.
    • UDP Port 68 (PXE Client)
      Port used by the client for DHCPDiscover to DHCP Server
    • UDP Port 69 (TFTP)
      Port that PXE Rep receives TFTP requests from.
    • UDP Port 4011 (PXE / ProxyDHCP)
      Like port 67 on the DHCP server, but for PXE rep to respond to DHCPDiscover with further DHCP  information for the network booting process.

Incorrect DHCP options are  configured

DHCP PXE Boot options 43 and 60 should not be enabled on the DHCP Server.  The PXE Representative (ProxyDHCP) is designed to intercept the DHCPDISCOVER request from the client and in tandem with the  DHCP server offer a reply.  The DHCP server will reply with a DHCP offer with basic information such as IP Address, Subnet, DNS Server, etc.  The PXE Representative will then also give a DHCP offer with further information regarding network boot details.

Symptoms: Typically in this scenario, all computers will not be able to PXE boot that get their IP address from that DHCP server.

 

Resolution: Remove options 43 and 60 from the DHCP Server.

 

The DHCP server is typically configured in one of the following ways.

 

  • Option 60 not set.  Option 43 not set.
  • Option 60 set to 'PXEClient'.  Option 43 not set.
  • Option 60 set to 'PXEClient'.  Option 43 set.

 

When neither option 60 nor option 43 is set, PXE clients do not have information where the PXE server is, and will wait until a PXE server contacts them.  The PXE Representative listens to DHCP discovery packets sent by PXE clients and offers a DHCPOFFER response in tandem with the DHCP Server.

 

When option 60 is set to 'PXEClient', the DHCP server contains information about where the PXE representative is.  If option 43 is not set, the PXE server and the DHCP server are at the same IP Address.
If option 43 is set PXE clients must decode option 43 to know how to reach the PXE server.

 

In most situations, option 43 does not need to be set up, because the PXE server will either listen to DHCP discovery packets (DHCPProxy), or be on the same computer as the DHCP server. However, if the PXE server is on a separate subnet (it cannot listen to DHCP discovery packets), or if there are several PXE servers on the same subnet, option 43 is the only viable solution in order to instruct PXE clients on what to do.

Multiple PXE Representatives on the subnet or other 3rd party PXE solution on subnet

If there are multiple PXE Representatives on the same subnet a conflict can occur.  Similarly, if a 3rd-party PXE solution is present, this can also cause failure

Symptoms: Clients will intermittently fail PXE booting or will always fail to PXE boot.

 

Resolution: The following query can be created to find the IP address of all PXE Representatives (or the query can be modified to return other criteria if so desired)


How to: Create an Ivanti EPM Query to find all PXE Representatives

  • A Wireshark network capture can be performed to ensure all BOOTP (Network boot) traffic is coming from the expected sources.

Incorrect Permissions in IIS for folder

The \LANDESK\ManagementSuite\LANDESK\Files directory on the core server does not have the proper rights assigned to the IUSR account.  This is required for proper operation.

Symptoms: All clients receive the PXE-E74 error.


Resolution: Ensure that the local IUSR account on the Core Server has rights to the  \LANDESK\ManagementSuite\LANDESK\Files directory.  In addition, ensure that Group Policy has not restricted the rights for IUSR as a whole.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


For more information on PXE boot errors please see:

PXE Boot errors and descriptions.

 

For more information on troubleshooting PXE boot please see:

Troubleshooting PXE boot (OSD)

Error: PXE-T00, PXE-T01, PXE-E36, or PXE-M0F

$
0
0

Issue

 

When machines are attempting to PXE boot they are failing with one of the following errors:

 

BOOT SERVER IP: x.x.x.x MFTP...PXE-T00 Undefined error code

PXE-T01 Undefined error code

PXE-E36: Error received from TFTP server

PXE-M0F: Exiting (NIC Manufacturer) PXE ROM

 

Cause

 

PXE Representative is failing to give a valid multicast address for Startrom.0 file.

 

This is being caused by the PXE Representative attempting to redirect the Client machine to a PXE rep in another subnet for file download.

 

Resolution

 

Currently there are 3 solutions:

 

  1. Remove all PXE Representatives except the one you are attempting to use.
  2. Install a PXE representative on the same subnet as the computer being PXE booted.
  3. Disable the Multicast option for the MTFTP service on the PXE Representative.

 

There is only one supported option for disabling Multicast on the MTFTP server.

 

Disabling Multicast on the MTFTP server will not have a significant effect on the process of imaging machines even if using the Multicast option is in the script or template.

 

Instructions for how to manually disable Multicast

 

This will need to be performed on all PXE Representatives:

 

  1. On the PXE Rep, go to C:\Program Files\LANDESK\PXE\System, double click to run PxeConfig.exe.       
  2. Right click "Boot Server", then click "Configure Boot Server", select the "MTFTP Options" tab, and un-check the Multicast option checkbox.       
  3. Restart both LANDESK PXE services on the PXE Rep and boot into WinPE

 

Further information on PXE boot errors:

PXE Boot errors and descriptions.

 

How to troubleshoot PXE boot:

Troubleshooting PXE boot (OSD)

How to image devices with a LANDESK Agent installed

$
0
0

Issue

Imaging a device with a LANDESK Management Agent installed can cause the devices that receive the image to overwrite each other in the database.

 

Cause

LANDESK inventory looks at a Unique ID/Device ID when inserting the scan. This ID is created when the agent installed on the device.

 

Resolution

 

Important:

It is strongly recommended that the LANDESK agent not be included in an image.  The recommended way to install the LANDESK Agent with imaging is to use LANDesk Provisioning and include a Configure Agent action in your provisioning template.  Besides causing duplicate devices, the LANDESK agent is often updated and adding it to the image will quickly cause your image to be outdated.

 

This method is NOT a supported process.

 

If the agent must be included in an image or Non-Persistent VDI image, the unique identifiers must be deleted out of the registry prior to the capture of the image.  Before creating an image of the machine do the following:

 

LANDesk Management Suite 9.0 and later

 

  1. Install the LANDESK agent, then STOP all LANDESK related services
  2. Delete the following Registry Keys for 32bit clients:

           HKLM\SOFTWARE\Intel\LANDesk\Common Api\UniqueID
          HKLM\SOFTWARE\LANDesk\Common Api\UniqueID

          HKLM\SOFTWARE\LANDesk\Inventory\LogonHistory\Logons
          HKLM\SOFTWARE\LANDesk\ManagementSuite\WinClient\SoftwareMonitoring\MonitorLog contents

 

         

          Delete the following Registry Keys for 64 bit clients:

          HKLM\SOFTWARE\Wow6432Node\Intel\LANDesk\Common Api\UniqueID

          HKLM\SOFTWARE\Wow6432Node\LANDesk\Common Api\UniqueID

          HKLM\SOFTWARE\Wow6432Node\LANDesk\Inventory\LogonHistory\Logons

          HKLM\SOFTWARE\Wow6432Node\LANDesk\ManagementSuite\WinClient\SoftwareMonitoring\MonitorLog contents

 

 

 

     3. On Windows XP, delete C:\Documents and Settings\All Users\Application Data\LANDESK (delete the entire directory and subdirectories)

     4. On Windows 7, 8, and 8.1, delete C:\ProgramData\LANDesk (delete the entire directory and subdirectories)

 

In addition, it is a good practice to ensure that the image does not contain any DRIVERS.DB3 file.

 

See Community discussion for additional tips and information:

http://community.landesk.com/support/message/61210


Error: "PXE-E52: ProxyDHCP offers were received."

$
0
0

Issue

 

PXE boot fails and the following error shows up when PXE booting:

 

PXE-E52: ProxyDHCP offers were received. No DHCP offers were received.

 

Cause

This occurs when the PXE client receives a response from a PXE proxy but cannot contact the DHCP server.

A DHCP server is necessary for network booting to work correctly.

 

Understanding the PXE boot process


Resolution

Resolve the problem with the DHCP server.

 

Common issues and things to check
  • Is the IP Address scope full?
  • Are any addresses available for the PXE client?
  • Is network latency causing the client to time out before contacting the DHCP server?
    (Check ping between client subnet and DHCP)
  • Is the DHCP server down or is the DHCP Service stopped?
  • Are BootP packets being blocked between the PXE client and the DHCP server?

 

More information on PXE boot errors

 

Troubleshooting PXE boot (OSD)

Error: "TFTP Timeout" when attempting to PXE Boot

$
0
0

Issue

PXE Boot fails with a "TFTP TIMEOUT" error. This can also present as the following errors:

 

  • PXE T04
  • PXE-E36
  • PXE-E32
  • PXE Error M0F

 

Cause

 

  • The most likely cause is that the LANDESK PXE MTFTP service is not running or needs to be restarted on the PXE Representative:
  • VPN software has changed the MTU setting in the registry on the PXE Representative causing TFTP to fail.
  • A network device in the network is dropping or malforming network packets.
  • There may not be enough PXE representatives for the incoming network boot traffic.   Add more PXE representatives per subnet.
  • If this is happening on only one device or one model of device, it could be related to NIC or BIOS firmware

 

Resolution for TFTP Service not started or needs to be restarted

 

1. Open the Services applet on the PXE Representative (through Control Panel or type "services.msc" from the Run line"

2. Check the status of the LANDESK PXE TFTP service.   If it is not running, start it, if it is already running, restart it.

 

Resolution for PXE Representative MTU size

On the PXE Representative, do the following:

 

  1. Open Regedit
  2. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces
  3. Search for "MTU" and select "Match whole string only".
  4. There will be an MTU value for each network interface
  5. Verify that the value is set to 1500
  6. The PXE Representative may need to be rebooted

 

You can also confirm the setting by running the command:

 

 

netsh interface ipv4 show subinterfaces

 

 

Value at 1500 in Registry for both screenshots but command shows the values are different for the LAN interface.

 

 

If you see MTU show a different number than 1500 you will need to run the following command:

 

 

netsh interface ipv4 set subinterface “Local Area Connection” mtu=1500 store=persistent

 

 

Other Considerations

 

  • What are the specifications of the computer that is hosting the PXE rep?
  • What Operating System is the PXE rep running?
  • Is this server hosting any other connections?
  • How many total network connections does the PXE rep show as active?   It's possible the connection limit could be full.
  • What is the memory and CPU utilization?  Is it getting bogged down by something?
  • Does he have any sort of security software on the server that may be analyzing incoming connections and thus slowing down the requests?
  • Are there other boot servers or software that may be handling boot requests and causing a mix-up?
  • Are the routers configured to forward all the traffic correctly?   Are all of the same clients served by one router?
  • MTFTP runs on port 69.  Is there anything that could be interfering with that?
  • What type of hardware are the clients?   It is always possible that this is an issue with a particular model or a few various models from a certain vendor.
    • Are there clients that work or not completely random?
    • Is the BIOS current?
    • Is there a firmware update for the NIC available that isn't applied?
    • Search for similar issues with that/those models of computers?
  • There have been reports that this patch (http://support.microsoft.com/kb/953230) can cause issues with PXE and TFTP.
  • Does the PXE rep have multiple network cards?   If so, is the bind order correct on them so that the ethernet NIC is first?  If they are teamed try breaking the team and setting only one card as active and check the binding.
  • Possibly the network card driver on the PXE rep needs updating.
  • Possibly the network card driver on the clients needs updating.
  • This article may be helpful in understanding DHCP Options relating to PXE: http://www.experts-exchange.com/Networking/Misc/A_2978-PXEClient-what-is-it-for-Can-I-use-PXE-without-it.html
  • Is there anything in the event viewer on the PXE rep that could be a clue?  Check system and application log.
  • Is there anything that could be causing an IP address conflict with the PXE server?

 

More information on PXE boot errors:

PXE Boot errors and descriptions.

 

How to troubleshoot LANDESK PXE boot:

Troubleshooting PXE boot (OSD)

Error: PXE-E53: No boot filename received

$
0
0

Issue

When attempting to PXE boot, the following error appears:

PXE-E53.jpg

  • PXE Boot fails.
  • No F8 option is recieved by clients.
  • Unable to PXE Boot machines.
  • Unable to network boot machines.

Cause

  • No PXE representatives are deployed.
  • Deployed PXE Representative is turned off.
  • PXE representative is not in the same broadcast domain as target machine.
  • Firewall on PXE representative is blocking requests from target machine.
  • PXE services are not running.
  • Windows Deployment Services (WDS) are installed on the PXE representative.
  • Another service on the server is using port 67

Resolution

  • Update BIOS on device
  • Ensure that a PXE representative is on and is deployed in the same broadcast domain as the target machine.
  • Ensure that no firewall is blocking requested packets from PXE booted machines.
  • Ensure PXE services are running.  The two services are "LANDESK® PXE Service" and "LANDESK® PXE MTFTP Service".
    If they are running, restart the services.
  • Redeploy the PXE Representative.
  • If PXE services repeatedly stop on PXE representatives, download and install the latest service pack on the core, then remove and redeploy PXE representatives.
  • Disable the Windows Deployment Services (WDS) on the PXE representative.
  • Run the "netstat -abn" command to find the service which is using port 67 and disable/reconfigure this service.

 

Note: The PXE Representative may need to be rebooted if the services are running, the firewall is off, but it still does not respond.

 

More information on PXE boot errors: PXE Boot errors and descriptions.


How to troubleshoot PXE boot:
Troubleshooting PXE boot (OSD)

How to do a Windows 10 Automatic Upgrade with LANDESK

$
0
0

For a Windows10 installation, Microsoft makes it possible to do an in-place upgrade from any older version without having to wipe or reload the device. Here is a HowTo of how to implement this with LANDESK Management Suite.

 

- Download the Win10 ISO

- Extract the contents to your LANDesk file server

 

- Create a Software Distribution Package, Executable type.

     - Point the primary file to the setup.exe, e.g.: \\yourlandeskshare\images\Win10Images\Windows 10 OS\setup.exe

     - At the Install/Uninstall options, add the following switches: /Auto Upgrade /quiet /DynamicUpdate Disable /Copylogs %SystemDrive%\ProgramData\LANDESK\Logs\

 

To get a full list of command line options please take a look at this Microsoft article:  Windows Setup Command-Line Options | Microsoft Docs

 

You can now create a scheduled task to deploy. Please note that both the Scheduled task settings and the used Agent Settings must have 'Download and Execute' as configured setting.

The installer is fully silent with the only UI being the one below. If you wish to change this, remove the /quiet from the command line switches.

 

Of course, you can still make this install part of a Provisioning Template or Package Bundle to follow up on the install with additional new software and/or settings. Be aware though that in testing the installer reports back to the server with successful before it's even managed its first reboot. A Wait might be necessary. in those cases.

 

 

 

A second option (author: marcel ) using the same XML file, but instead of using a .EXE, it uses Powershell to directly call the ISO:

 

$scriptPath=split-path-parent$MyInvocation.MyCommand.Definition

$unattend=""""+$scriptPath+"\unattend.xml"+""""

 

$mount=Mount-DiskImage-ImagePath ($scriptpath+"\YOUR.ISO") -PassThru

$driveLetter= ($mount|Get-Volume).DriveLetter

  

$setup=$driveLetter+":\setup.exe"

$param="/Auto:Upgrade /Unattend:$unattend /DynamicUpdate Disable"

 

Start-Process-FilePath$setup-WorkingDirectory ($driveLetter+":\") -ArgumentList$param

Unable to login to provisioning client without full admin rights

$
0
0

Description

This document describes an error in which users are unable to access the provisioning client unless they are granted the "LANDesk Administrator" role.

 

Error

ProvUserValidator.Validate(), user does not have RBA rights

 

Solution

Change the identity of the app pool "LDAppMain" from "NETWORKSERVICE" to "LOCALSYSTEM"

Viewing all 639 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>