/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Y:\hta\getkuid.vbs the system cannot find the drive specified. Not sure why?

12/11/2019 455 views

Hi Guys,

I followed this link and created a USB image to deploy.

https://www.itninja.com/blog/view/create-bootable-usb-kace-images-with-system-images-larger-than-4gb


Right before its about to deploy the " preinstallation task" it gives me this error 


" Y:\hta\getkuid.vbs

The system cannot find the drive specified. "


Not sure what is going on? our Kace deployment appliance is version Version: 6.1.251 .

Any help will be appreciated! thanks.

0 Comments   [ + ] Show comments

Comments


All Answers

1

If you open CMD right there, then open DISKPART, and type LIST VOL, you will see there is no drive letter Y:

You will need to edit a file named "Tasks.xml" in your USB, there is a command line:
9ak9gvw9zl2AAAAAElFTkSuQmCC

Change that to %UFDPATH%\getkuid.vbs assuming getkuid.vbs is in the root of the key otherwise %UFDPATH%\kace\getkuid.vbs or %UFDPATH%\kace\preinstall\id\getkuid.vbs  depending on the path.

e.g.
<![CDATA[%UFDPATH%\getkuid.vbs]]>
or
<![CDATA[%UFDPATH%\kace\69\getkuid.vbs]]>
** Assuming 69 is the ID of the getkuid.vbs task in your USB drive, unfortunately, these IDs are not fixed, and vary from box to box.

You will need to locate that file getkuid.vbs, and edit that tasks.xml in your USB drive.

That should fix it for the rest of the tasks as well. (just edit that task , Save, and Try again), you might want to backup that tasks.xml to somewhere else before making changes.

Answered 12/11/2019 by: Channeler
Red Belt