[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Sysprep

Posted on 2006-03-23
28
Medium Priority
?
738 Views
Last Modified: 2016-10-27
Hi I have made a system persect for what i need with a hiiden partition which i hid using acronis disk manager!

This is all fine

But when i run sysprep and reboot i find it unhides the partition is there anyway around this as i need to run sysprep so the system asks for a new computer name when it starts after being cloned???

Thanks

0
Comment
Question by:bryanchellen
  • 14
  • 13
28 Comments
 
LVL 1

Expert Comment

by:SpheroidUK
ID: 16269998
You can use Symantec Gdisk for this. It is available as a free download.
I found a link to it here, and i tried it on one of my system builds, and i'm able to hide the partition.
copy to a dos floppy, run using A:\gdisk.exe
you can type gdisk /? for a list of available commands.
http://www.cisnet.com/glennmcc/download/gdisk.zip
Please note that this is not my website, and i'm in no way affiliated with the above site...
0
 

Author Comment

by:bryanchellen
ID: 16270105
you can hide the system build but it unhides when you run sysprep, when should i run Gdisk?
0
 
LVL 1

Expert Comment

by:SpheroidUK
ID: 16270361
run gdisk, hide the partition and then run sysprep. This will not cause the system to unhide the partition.
0
 

Author Comment

by:bryanchellen
ID: 16270438
Sorry i have tried that and it comes up as drive D: its FAT32

Its hidden before i run sysprep

Then i run sysprep, reseal it and it runs mini-setup

Then i have a frive D: with all my dos files!

Hmmmmmmm
0
 
LVL 1

Expert Comment

by:SpheroidUK
ID: 16270489
so you have a C: drive with windows on it and a D: drive with a ghost file on it. you want to hide the D: partition so that users can't fiddle with it.
when you hide it with gdisk, it still comes up as D:
make sure that you are hiding the partition and that when you reboot, you can't access the partition in dos.
0
 

Author Comment

by:bryanchellen
ID: 16270761
Yup

I have drive C: which is windows

Drive D: is ghost

I can hide drive D: with eaither Acronis or Gdisk which works eventually

Now i only have Drive c: EXCELLENT

BUT when i drun sysprep after the Minisetup

Drive D: is back!

HELP PLEASE
0
 
LVL 1

Expert Comment

by:SpheroidUK
ID: 16270797
I will do this on a test computer here and let you know what solution i come up with :)
0
 

Author Comment

by:bryanchellen
ID: 16270875
Thank you!
0
 

Author Comment

by:bryanchellen
ID: 16270880
if you can sort this ill up the points!
0
 
LVL 1

Expert Comment

by:SpheroidUK
ID: 16270971
sounds good :) just loading xp now.
0
 
LVL 1

Expert Comment

by:SpheroidUK
ID: 16270994
Also, tell me how you run sysprep. do you do a sysprep -reseal? what commands do you pass, or what do you click on.
0
 

Author Comment

by:bryanchellen
ID: 16271137
Yes sysprep -reseal

And i use the Mini - setup!
0
 
LVL 1

Expert Comment

by:SpheroidUK
ID: 16278564
Ok i've got it working.
This is how you do it :D
install windows, configure it to whatever you want.
boot into a dos prompt (dos boot floppy)
run gdisk with the following command:

(assuming that you want to hide partition 2 on drive 1)
gdisk 1 /hide /p:2

when this completes, restart and boot into windows. You should see that the drive is not showing up in my computer (but does show up in disk management)
do a sysprep with a mini setup and then reseal. regenerate SID's also.
boot back into dos with your ghost floppy (2003) and create a ghost file like backup>partition>to image. then select your primary partition as the source, and your secondary (hidden) partition as your destination. This will have the desired effect and it will work like a charm.

You might have been making the mistake of running gdisk 1 /-hide instead of /hide. (-hide is unhide!)

Let me know how it goes, cause i have just done it and it works.
0
 

Author Comment

by:bryanchellen
ID: 16280603
yes i have done all this my firend but after the mini setup when you reboot in my computer i have 2 drives again c: and D:
0
 
LVL 1

Expert Comment

by:SpheroidUK
ID: 16280672
have you tried it in the order that i suggested?
0
 

Author Comment

by:bryanchellen
ID: 16280723
when you do it is drive d: a extended partition?
0
 

Author Comment

by:bryanchellen
ID: 16280730
Both C: and D: on mine are primarie partitions!!!
0
 
LVL 1

Expert Comment

by:SpheroidUK
ID: 16280794
mine are primary partitions NTFS file system.
can you double check that you are using the gdisk command correctly, and that when you boot into windows that disk management shows the partition, with no drive letter and an unknown format, and that my computer doesn't show up the drive.
0
 

Author Comment

by:bryanchellen
ID: 16280847
My drive D: is fat32!
0
 
LVL 1

Expert Comment

by:SpheroidUK
ID: 16280902
is it XP that you are trying to ghost? if so, convert D: to NTFS. fat32 doesn't support partition hiding :D
0
 

Author Comment

by:bryanchellen
ID: 16281076
can i boot dosfrom a ntfs partition?
0
 
LVL 1

Expert Comment

by:SpheroidUK
ID: 16281162
why would you need to boot dos? you are ghosting windows XP into an image file right?
0
 

Author Comment

by:bryanchellen
ID: 16281222
because on the fat32 i had dos installed with a script that ghosted my XP partition automatically when i boot to that partititon

EG

I boot the FAT32 partition

It boots dos
Then inistaited the ghost command

Then reboots

But i cant hide that damn partition!
0
 
LVL 1

Expert Comment

by:SpheroidUK
ID: 16281586
and how do you select the D: drive as a bootable partition? is it through boot.ini?
0
 

Author Comment

by:bryanchellen
ID: 16281607
no bootit NG
0
 
LVL 1

Expert Comment

by:SpheroidUK
ID: 16281929
im sorry, that doesn't make any sense. can you tell me how you are selecting D: to boot from?
0
 
LVL 1

Accepted Solution

by:
DiGiTaLReePer earned 500 total points
ID: 16290475
Ok so you are using Bootit to boot a fat 32 partition witha restore on it ok, XP is so "user friendly" it wil try and find any compatible partitions even if hidden, you can hide it using tweakXP but that will just hide the letter from explorer,

What i suggest you do is make a linux partition and boot from that as it will be invisible from XP
0
 
LVL 1

Expert Comment

by:SpheroidUK
ID: 16298425
so i get no points for this? :(
0
Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Adoption of Microsoft’s Enterprise Mobility and Security solution and Office 365 will re-order the File Sync and Share market Microsoft has stated that its Enterprise Mobility + Security (EMS) is the fastest growing product in the history of the …
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question