Jump to content

kaares

Member
  • Posts

    4
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Norway

About kaares

kaares's Achievements

0

Reputation

  1. Autoit does only lock the keyboard in a limited way. If you press Ctrl-Alt-Del, the user unlocks the keyboard and mouse. Look at this utility from Systemintegrasjon (by me, really): http://www.sysint.no/en/download.aspx. Go to the KeyboardLock section on that page. Read more at this page: http://www.sysint.no/nedlasting/KeyboardLock.htm You may load the driver dynamically using DrvLoad.exe /l KbLock.sys, and then lock the keyboard by creating the registry key HKLM\Software\Systemintegrasjon\KeyboardLock\LockAll, to unlock just delete the key again.
  2. kaares

    FixMBR

    I just uploaded a new version of MbrFix. See first page of this thread. You may also download the utility from this address: http://www.sysint.no/Nedlasting/MbrFix.zip
  3. I really would like to integrate the ntbackup.exe utility into my Windows PE boot CD to use it as a tool aiding in disaster recovery. I have made several attempts, but it is difficult to know about dependencies. One thing is direct DLL dependencies, which is no problem to find, but dependencies of services, etc. is much harder. I have found one plugin for XPE, which installed ntbackup as well as some MMC consoles and services (xpe-mmc.inf). I have converted most of the stuff from xpe-mmc.inf into my WinPE installation, but to no good effect. I guess the ntbackup is dependant of more than what is described in xpe-mmc.inf, probably stuff which is defined in the xpe.inf file. So have any done this for MS Windows PE, or have any ideas?
  4. kaares

    FixMBR

    I ended up in the same problem, but my experience is that the diskpart command doesn't insert the boot code into the MBR. That it leaves for the setup program. I was using Win PE to create a primary partition on a disk, acitvate, assign it. Then formatted using format C: /fs:ntfs. Lastly copying in a Windows Embeded XP installation to C:. Would not boot, just booted to a black screen without any errors, hanging around So it seems that diskpart does not insert the bootcode into the MBR, just defines the partitions. fdisk /mbr wont work since it is a DOS (heaven forbid) utility. I found some info on the Internet and set out to make my own utility to write boot code into the MBR. Was finished after a few hours, yesterday. The utility is written for Win PE, and is tested in Win XP and Win PE. Should work with any version above NT 4.0, including W2K, Win 2003, XP. Commands: MbrFix /drive <num> driveinfo Display drive information MbrFix /drive <num> listpartitions Display partition information MbrFix /drive <num> savembr <file> Save MBR and partitions to file MbrFix /drive <num> restorembr <file> Restore MBR and partitions from file MbrFix /drive <num> fixmbr Update MBR code to W2K/XP/2003 MbrFix /drive <num> clean Delete partitions in MBR MbrFix /drive <num> readsignature {/byte} Read disk signature from MBR MbrFix /drive <num> generatesignature Generate disk signature in MBR MbrFix /drive <num> writesignature hex Write disk signature to MBR MbrFix /drive <num> readstate Read state from byte 0x1b0 in MBR MbrFix /drive <num> writestate <state> Write state to byte 0x1b0 in MBR MbrFix /drive <num> drivesize Returns drive size in MB as return value MbrFix volumeinformation driveletter Get volume information for partition fixmbr is the command to run. It do keep the partition table, so any partitions should stay! The readstate and writestate commands are meant to have a place to store a status number between 0 and 255, if you have no other place to store it during the installation phase. The state is stored in a byte not used for other purposes in the MBR. Se the htm file in the zip-file. Use at your own risk 3. december: Uploaded a new version of the program, which doesn't popup the HTML documentation everytime one make a typo. No functional changes! 9. september 2005: Uploaded a new version of the program. A couple of new commands, no other changes. About 1470 had downloaded the previous version! MbrFix.zip
×
×
  • Create New...