I've got a couple of GX-280 DELL machines that still work very well but I am running out of space on my C: drive. I've purchased a new 300 GB 10,000 RTM internal HDD and want to transfer the complete image of my old C:\ to this drive and then replace them. I can probably do it with some C# instructions but I've decided to focus first on oscdimg command that comes with WAIK (Windows Automated Installation Kit). I installed it yeasterday. I also spent a couple of hours researching evrything I could get my hands on about this command and found that it is mostly used to create a bootable image of Vista (or XP for this matter).
Please, correct me if I am wrong because it is very important. This cmd is used in such a way: You set parameters that will list some exclusion directories you don't want to be present in the image, you can potentially leave just a couple of directories or so and define what's includeed into the boot sector, like if it is a single or multiboot, etc.
This is not what I need. I can clean my system before I used this cmd. I can clean the recycle bin, temporary internet files, etc. I want to make a bootable image of the entire disk. Can I do it with this cmd?
That failed I will try to use CreateFile C++ command (in C# with P/Invoke, or even directly in C++) and try to copy my C: drive byte by byte. I understand I may have hard time doing it in Vista because of some additional protection over XP but my reading is that I can set up some constants (options) in such a way that it will be overridden. Is it true?
That failed I will try to create an executable, take it to my XP partition (on yet another HDD) and run it from there taking image of Vista in C:\.
Now, this is how I shaped my command this morning:
oscdimg -a -g -g1 \\?\Volume{979e819d-7cc1-11dc-a6fd-806e6f6e6963}\ J:\WindowsXP_Iso_File\winXP.iso.
I want to mention that here I am trying to create an image not of my C:\ but of my XP D:\ drive in an attempt to gain some experience. Bear in mind it is not Vista but I am running the command from my Vista partition (C:\)
Therefore that volume's label is my D:\ drive's label, J: drive is an external HDD (500 GB MyBook by WD) and I am getting these warnings and one error right from the outset:
Microsoft Windows [Version 6.0.6001]
Copyright © 2006 Microsoft Corporation. All rights reserved.
C:\Windows\system32>oscdimg -a -g -g1 \\?\Volume{979e819d-7cc1-11dc-a6aa-806e6f6e6963}\ J:\WindowsXP_Iso_File\winXP.iso
OSCDIMG 2.54 CD-ROM and DVD-ROM Premastering Utility
Copyright © Microsoft, 1993-2007. All rights reserved.
Licensed only for producing Microsoft authorized content.
Scanning source tree
WARNING: Using alternate directory name "DOCUME~1" for "\DOCUMENTS AND SETTINGS"
WARNING: Using alternate directory name "OPENMA~1" for "\OPENMANAGE"
WARNING: Using alternate directory name "PROGRA~1" for "\PROGRAM FILES"
WARNING: Using alternate directory name "VFP_PR~1" for "\VFP_PROJECTS"
WARNING: Using alternate directory name "XPINST~1" for "\XP INSTALLATION FILES"
WARNING: Using alternate directory name "ALEXBL~1" for "\DOCUME~1\ALEX BL"
WARNING: Using alternate directory name "ALLUSE~1" for "\DOCUME~1\ALL USERS"
WARNING: Using alternate directory name "DOWNLO~1" for "\DOCUME~1\ALEXBL~1\DOWNLOADS"
WARNING: Using alternate directory name "FAVORI~1" for "\DOCUME~1\ALEXBL~1\FAVORITES"
WARNING: Using alternate directory name "MYDOCU~1" for "\DOCUME~1\ALEXBL~1\MY DOCUMENTS"
WARNING: Using alternate directory name "STARTM~1" for "\DOCUME~1\ALEXBL~1\START MENU"
ERROR: Failure enumerating files in directory "\\?\VOLUME{979E819D-7CC1-11DC-A6AA-806E6F6E6963}\DOCUME~1\ALEXBL~1\COOKIE
S"
Error 5: Access is denied.
C:\Windows\system32>
I want to mention that I placed oscdimg.exe into Windows\system32\ directory.
What is it all about? Any comments? I would appreciate is someone reads it carefully and possibly make comments of everything I've said.
Even why I am typing this I am thinking as to what my options could be? If so much is protected even in XP how about Vista? How other people manage to do it. Many people have reported great success with this command. I should study those reports.
Many thanks.
P.S. I don't want to use any commercial third party software, please don't recomment those.
This post has been edited by alexBB: 15 September 2008 - 09:38 AM



Help
Back to top









