![]() In the Startup Scripts section, add your startup script (.cmd) file.Įnsure that you turn off the default application. In the User's Files section, add the KILLDISK.INI file. ::such as an attached USB Flash memory stick. ::from the X:\ (temporary location) to your mapped network drive or to another location ::You may use a copy command to copy the KillDisk Certificate file and the KILLDISK.LOG file ::For a list of all KillDisk command line options, please visit this page. ::Command line parameter to launch KillDisk and complete erasure of the primary hard drive. ::This can only be added to the LOG file after KillDisk has finished erasing the hard drive.ĮCHO %date% %time:~0,8% ServiceTag#: %servicetag% ServiceTag2#: %servicetag2%>X:\KILLDISK.LOG ::To append the ServiceTag number into the KILLDISK.LOG file (including date/time stamp), ::Once erasure is complete, the PDF certificate will contain all pertinent information of the erase session.įor /f "skip=1 delims=," %%i in ('wmic bios get serialnumber') do (set "servicetag=%%i")įor /f "skip=1 delims=," %%i in ('wmic baseboard get serialnumber') do (set "servicetag2=%%i")ĮCHO logComments="Bios Serial Number: %servicetag%, Motherboard Serial Number: %servicetag2%">X:\KILLDISK.INI ::This value is then stored directly into the KILLDISK.INI settings file. ::Then a WMI command queries the system to acquire the systems serial number. ::Get the Service Tag/Asset number of the system. ::This will search for the KILLDISK.INI on all volumes and then copy the file to a temporary location.įOR %%i IN (c d e f g h i j k l m n o p q r s t u v w x y z) DO IF EXIST %%i:\User_Files\KILLDISK.INI (ĬOPY %DrvLtr%:\User_Files\KILLDISK.INI X:\KILLDISK.INI ::Find the volume letter of the bootable media that KillDisk is running from. Net use o: \\LA\Storage password /USER:myAccount ::Usage and Sample of the NET USE command. ::Windows “Net Use” command to map a drive. To map a drive, you would need to use the ::The following command configures the interface named Local Area Connection ![]() ::Sample of the netsh command to assign a static IP address. If you use version 11 and higher, we recommend you using –ci (-ComputerID) command line option to include unique Computer ID to the certificate. Save the KILLDISK.INI file to a temp location. Make sure the KILLDISK.INI contains "showLogo=true", otherwise the extra Technician info will not be displayed in the certificate. This will be re-added in again when the script runs. This is not required and can interfere.Īlso find and remove the line "logComments=". You should also remove all the lines after (and including) the section. You may want to make some minor adjustments. Make sure your settings have been changed. Go to the installation folder, for example: C:\Program Files\LSoft KillDisk\ folder and edit the KILLDISK.INI file. Should you want the certificate emailed, enter the details of the mail server and email account information.Ĭonfigure the settings that you would like to use and click the Apply button. Specify the details of the Company and Technician who is completing the erasure procedure. The certificate file can then be copied to another location once the erasure process is complete. It is recommended to save the certificate to the temporary WinPE X:\ volume (RAM Drive). Set the options you want to use for saving the PDF certificate. Into the certificate, send email notifications, or save reports to the removable storage - mark the related checkboxes. If you want to include Disk Serial Number and Technician Info Set the options you want to use in the General Tab. Launch the KillDisk program and go into settings. On a standard workstation, install the KillDisk for Windows (or SUITE Edition). Once you have created the two files below, you will be able to go on to creating the bootable CD or USB memory stick. The best way to automate KillDisk is prepare two files before creating a bootable CD or USB stick. This document will take you through the steps required to configure KillDisk so that you may start erasing drives automatically. ![]() If you use KillDisk version 11 and above (Windows Boot Disk uses WinPE version 10), some command line options may not work. This script is applicable for KillDisk versions 10 and below, the ones using Window Boot Disk based on WinPE 5.1 and earlier versions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |