Jump to content
MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. ×

mallen

Member
  • Content Count

    15
  • Joined

  • Last visited

  • Donations

    $0.00 

Community Reputation

0 Neutral

About mallen

  1. Thanks for your pointers - I've just realised I've included the winsxs files from a XP SP3 build, when my PE image is Vista. That's bound to cause some problems. My build PC is Windows 7, but the files I've been including were lifted from a fully built target PC. I'll prep a Vista x86 PC to lift the winsxs files from and try that (matches the PE spec). I've been adding them into the PE source before I prep the image. If that still doesn't work I'll try the ProcMon route. Basically I'm using Vista PE to deploy XP and want to use SQLCMD to log pre-installation steps into a remote database to
  2. Hi, I have the following packages installed: Lang | Version | Ins | Name ------+---------------+-----+----------------------------------------------- en-US |6.0.6000.16386 | + | WinPE-MDAC-Package ------+---------------+-----+----------------------------------------------- |6.0.6000.16386 | + | WinPE-MDAC-Package ------+---------------+-----+----------------------------------------------- en-US |6.0.6000.16386 | + | WinPE-Scripting-Package ------+---------------+-----+----------------------------------------------- |6.0.6000.16386 | + | WinPE-Scripting-Pa
  3. It's been a while since I looked at PE, but I can't seem to find anything on this. I'm trying to use sqlcmd within WinPE (2.0) to run simple insert statements into a remote database. I have added sqlcmd.exe, sqlcmd.rll and batchparser90.dll into my image, but when I call sqlcmd I receive a side-by-side error. Any ideas anyone? Thanks in advance.
  4. Hi, No luck I'm afraid. I even logged a premier support call with Microsoft who came back and advised it couldn't be done in the viewer. The suggestion was to write our own viewer using the .net document viewer control (sorry, don't recall exactly what the control was called). We didn't have time to do that so ended up not using xps as our document format. We've since had a similar 'restriction' to work around and I was introduced to a toolset called 'Detours'. It can intercept calls to applications and 'tinker' or rewrite with the calls. It may be possible to use this in some way to call
  5. zorphnog, Thanks for the suggestion. Indeed I don't think that is the issue. I've now discovered that chkdsk (while windows is running, not PE), shows a problem with $Bitmap, and when I do an offline defrag (in PE), the defragmenter can't move that file. What is interesting is the position that file is located looks to be the same position I can shrink the disk to. Looks like diskpart querymax is seeing the 19GB, but can't shrink beyond this file which is located at the 9500MB from the end of the disk, the point that I can shrink to. I suspect there is something corrupt with this file. I'
  6. This time I tried a smaller shrink amount. Results as follows: diskpart shrink querymax - returns 19GB diskpart shrink desired=12000 - fails, "parameter is incorrect" diskpart shrink desired=9500 - WORKS! Has anyone else come across the diskpart querymax saying one thing and the shrink operation seeing something different?
  7. OK, I've tried a few more things. Booted up from a PE 2.0 disc into RAM (boot the wim from the CD into RAM), then run chkdsk /X. I get a similar error: Cannot lock current drive. Windows cannot run disk checking on this volume because it is write protected. I have tried creating files on the disk and it is most certainly not write protected, however, something seems to be holding on to the volume. Any suggestions anyone?
  8. I see where you're coming from - I had a similar problem when I wanted to use diskpart to change the drive letter of the CDROM drive. I couldn't guarantee which volume it would be. In the end I put together a short VBS script. Use a script to identify which drive it is you want to change. Remember you can use drive letters when specifying the volume in diskpart. With the same vbs script, write out a diskpart.txt script that is specific to that machine, then use the method mentioned above to call it. Here is how I managed to get this working for a cdrom: Set FileSystemObject = CreateObject
  9. OK, I'm struggling to understand where this one is going wrong. I'm using WinPE 2.0, booting it into a ramdisk from a wim, so that the C drive of the system is not locked. I then use diskpart to shrink the C partition down. In about 80% of cases this works perfectly, however I occasionally get the error: DiskPart has encountered an error: Access is denied. See the System Event Log for more information. I have modified my script so that a chkdsk, and defrag are performed before I try and shrink the partition. I have also used the querymax option in diskpart which reports the maximum I can s
  10. I'm trying to lock down the xps viewer to use on a kiosk, so that the bar at the top that shows the 'Save Copy As' option is hidden. Has anyone had any success with controlling the toolbar options, perhaps with registry keys or something? I need to hide this option so the user has no access to the operating system. Thanks in advance.
  11. Does anyone know how to set up a RAM disk in Vista? I have a system build image which I've scripted that combines sysprepped images into wim files, and creates the Vista PE boot environments. It's incredibly disk intensive and I'd like to push the whole lot up into RAM. I could copy all of the files into RAM once a day, make the changes I need to and recompile the image from there. I've currently got the files spread over different U320 SCSI disks and it's still too slow, so a RAM disk would be ideal. RAM is not an issue, system supports up to 32GB. So far I've only seen Ramdisks working ar
  12. I've tried looking in the registry and it is only stored there if you use wireless software for particular cards. Using windows wireless zero configuration doesn't seem to put anything in the registry. I did a bit of digging and found this article: http://msdn.microsoft.com/library/default....ardsettings.asp I believe the best way to add the settings is to create a custom app that uses the WPS (wireless provisioning service) to add the settings from an xml file. I think you can create the xml file using the wizard that saves settings to a usb key, then pinch it off there. All of this is on
  13. I might be missing something really obvious here, but how can I go about adding a wireless network and configuring the WEP keys in an unattended manner? I need to be able to do this in an unattended installation of Windows XP Pro SP2, Server 2003 SP1, and XP Embedded SP2. Any ideas anyone? Thanks!
  14. I've managed to get the Ramdisk booting working using remote boot service from XP embedded, and a PE created from the 2003 SP1 RC. One problem I have encountered is that diskpart does not run. I think this is something to do with the registry entries created as I'm using PE1.5 (XPSP2) to create it using the /nover switch against a 2003SP1 source. Anyone got any ideas where I'm going wrong with this? Even better, does anyone know where I can get hold of a copy of the WinPE 2005 OPK CD, or even how I can register on the beta program? Thanks, M
  15. I managed to get this working yesterday using dicht's method. Make sure you use FAT16 as the file system on the usb key. Use the HP tool (which is available as a download on their website listed under most of their new PCs drivers). That makes the partition active. Copy all of your working PE cd to the USB key. Copy ntdetect.com from the i386 dir into the root dir on the key, and copy setupldr.bin from the i386 dir to ntldr in the root dir too (no extension on ntldr file). Rename i386 to minint and it should boot.
×
×
  • Create New...