Activate new disk automatically as early as possible

hazcrew

New member
Local time
9:32 AM
Messages
6
I have a Gigabyte GC-Ramdisk (4GB) which regularly loses format when left overnight. (Despite new battery). I use it for temp and page files.
Is there any way I can activate the disk automatically on boot (running diskpart possibly) preferably before logon.
Ideally I'd like to run a script to format as well.
If not possible before logon then where is the best startup location to trigger a script to ensure it is done early.
Any help or suggestions are appreciated.

PS. My best guess so far is to use a powershell script on startup.
All I've got to do now is learn how. - I'm a Dos man.
 
Last edited:

My Computer My Computer

OS
Windows 7 Professional x64
CPU
Intel i5-2500
Motherboard
Asus P8P67 Pro
Memory
16GB Corsair Vengeance
Graphics Card(s)
Geforce GTX 285 1024MB
Sound Card
Realtek ALC892
Monitor(s) Displays
Dell E207WFP, Sony SDM-HS95D
Hard Drives
OCZ Vertex3 SSD 120GB
OCZ Agility3 SSD 60GB
Gigabyte I-Ram 4GB
Seagete ST2000DL 2TB
PSU
Tagan 900W
Case
NZXT
Cooling
Kuhler 920 Water
Why would you put a pagefile on a RAM-disk. That pagefile is probably never used because you apparently have a lot of RAM. You can easily reduce the pagefile to 1 or 2GB and leave it with the system.

PS: Sorry, I have no solution for your initialization problem.
 

My Computer My Computer

Computer Manufacturer/Model Number
HP, Dell, Gateway, Toshiba - 4 laptops and 2 desktops
OS
Vista, Windows7, Mint Mate, Zorin, Windows 8
CPU
from 1.6GHz Duo to i7
Monitor(s) Displays
2x HP w2207
Hard Drives
5x HDD, 7x SSD, 12x Externals
Keyboard
with trackball - no mices
Mouse
Trackball mice
Internet Speed
DSL 6000
The GC-Ramdisk is not a virtual disk, its a hard disk connected to SATA port. It uses its own ram sticks over and above the 16GB conventional ram.

Makes a very fast electronic drive for scratch files
 

My Computer My Computer

OS
Windows 7 Professional x64
CPU
Intel i5-2500
Motherboard
Asus P8P67 Pro
Memory
16GB Corsair Vengeance
Graphics Card(s)
Geforce GTX 285 1024MB
Sound Card
Realtek ALC892
Monitor(s) Displays
Dell E207WFP, Sony SDM-HS95D
Hard Drives
OCZ Vertex3 SSD 120GB
OCZ Agility3 SSD 60GB
Gigabyte I-Ram 4GB
Seagete ST2000DL 2TB
PSU
Tagan 900W
Case
NZXT
Cooling
Kuhler 920 Water
I understand that. But the pagefile is the last file I would put there. It is never used.
 

My Computer My Computer

Computer Manufacturer/Model Number
HP, Dell, Gateway, Toshiba - 4 laptops and 2 desktops
OS
Vista, Windows7, Mint Mate, Zorin, Windows 8
CPU
from 1.6GHz Duo to i7
Monitor(s) Displays
2x HP w2207
Hard Drives
5x HDD, 7x SSD, 12x Externals
Keyboard
with trackball - no mices
Mouse
Trackball mice
Internet Speed
DSL 6000
I understand that. But the pagefile is the last file I would put there. It is never used.
I wouldn't say never, rarely perhaps :)

Either way I want to re-activate the drive as early as possible.

Looks like my best option is going to be a powershell script.
Better do some reading then.
 

My Computer My Computer

OS
Windows 7 Professional x64
CPU
Intel i5-2500
Motherboard
Asus P8P67 Pro
Memory
16GB Corsair Vengeance
Graphics Card(s)
Geforce GTX 285 1024MB
Sound Card
Realtek ALC892
Monitor(s) Displays
Dell E207WFP, Sony SDM-HS95D
Hard Drives
OCZ Vertex3 SSD 120GB
OCZ Agility3 SSD 60GB
Gigabyte I-Ram 4GB
Seagete ST2000DL 2TB
PSU
Tagan 900W
Case
NZXT
Cooling
Kuhler 920 Water
Please post back a screenshot of your maximized Disk Management drive map and listings:

1. Type Disk Management in Start Search box.
2. Open Disk Mgmt. window and maximize it.
3. Type Snipping Tool in Start Search box.
4. Open Snipping Tool, choose Rectangular Snip, click New, draw a box around full drive map and all listings.
5, Save Snip, attach using paper clip in Reply Box.

Tell us what is on each partition.
 
Hi Gregrocker
Thanks for your help.
Not sure what relevance information that would give, only that I have 5 basic disks,
System Disk: 1, 2 NTFS partitions. System Reserved and C: drive.
Drives 0, 2,3 & 4 are each a Single NTFS partition.

Doesn't even identify which is the GC-Ramdisk as it is indistinguishable from a normal hard drive by Windows .
FYI it is drive 3 mapped as T: and used exclusively for scratch files.

The issue is with the actual storage media being RAM I have to regularly activate and reformat it on boot as the its internal battery (brand new) only maintains it for about 4 hours after switch off. It gets is power from the PCI slot and is supposed to be maintained by the 5v standby voltage but I presume this is not man enough to support the 4x 1GB Ram sticks
So Windows then treats it as a new non-activated drive

I currently activate and format it manually after logon then reboot to allow windows to automatically create pagefile, temp/scratch file directories etc. which is a real nuisance.

(In Linux I do not have the problem as I can automate it very early on during startup.)
If you think there is any other relevant info in the Disk Management window please ask or if required I will post a screenshot.
 

My Computer My Computer

OS
Windows 7 Professional x64
CPU
Intel i5-2500
Motherboard
Asus P8P67 Pro
Memory
16GB Corsair Vengeance
Graphics Card(s)
Geforce GTX 285 1024MB
Sound Card
Realtek ALC892
Monitor(s) Displays
Dell E207WFP, Sony SDM-HS95D
Hard Drives
OCZ Vertex3 SSD 120GB
OCZ Agility3 SSD 60GB
Gigabyte I-Ram 4GB
Seagete ST2000DL 2TB
PSU
Tagan 900W
Case
NZXT
Cooling
Kuhler 920 Water
Have a look here.

GIGABYTE - PC Components - - Legacy - GC-RAMDISK

Picked this card up for less than 2 bucks on ebay, added 4 1GB of sticks which were lying around in a drawer.
Very fast drive, only limted by Sata 1, with a sustained read/write only matched by my SSD on SATA 3. :cool:
I use it for temp files
However being volatile memory it looses everything on power down, hence the onboard battery and supposed 5v standby use which doesn't work.
Not worried about the data, but would like to activate and format it automatically.
Not a problem with Linux, so why can't I do it in Windows.
 

My Computer My Computer

OS
Windows 7 Professional x64
CPU
Intel i5-2500
Motherboard
Asus P8P67 Pro
Memory
16GB Corsair Vengeance
Graphics Card(s)
Geforce GTX 285 1024MB
Sound Card
Realtek ALC892
Monitor(s) Displays
Dell E207WFP, Sony SDM-HS95D
Hard Drives
OCZ Vertex3 SSD 120GB
OCZ Agility3 SSD 60GB
Gigabyte I-Ram 4GB
Seagete ST2000DL 2TB
PSU
Tagan 900W
Case
NZXT
Cooling
Kuhler 920 Water
Yeah, that was an old attempt at making better hard drives. Failed, and it's kind of sad.
The main reason it failed? you can now install a buttload of ram on the motherboard which is much faster, and run some of it as virtual ramdisk. Now even with dynamic ram usage (although you have to pay some $).

Windows 7 has an integrated task scheduler for these kinds of things, but I frankly never used, so it's up to you tinker and get it working and do what you need. If the scheduler cannot be ordered to format on its own you may have to write a script, which should be relatively easy, as "format" is still a recognized console command.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom built
OS
Win 7 Pro 64-bit 7601
CPU
AMD Phenom 9650 QuadCore, revision DR-B3
Motherboard
ASUS M4A78
Memory
5 GB yes I run 2x 2GB and 1x 1GB, different brand, spank me.
Graphics Card(s)
NVIDIA GeForce 9800 GT 512 Mb, unknown manufacturer.
Sound Card
Crappy Realtek Integrated Audio
Monitor(s) Displays
Fujitsu Siemens P19-3P
Screen Resolution
1280 x 1024 x 32 bits @ 60 Hz Oh yeah, 4:3 rocks!
Hard Drives
(1) MAXTOR S TM3320613AS SATA Disk Device (2) STM35004 18AS SATA Disk Device (3) TOSHIBA USB 2.5"-HDD
PSU
whatever, around 450w
Case
Scavenged from old company PC, 10+ years old
Cooling
CPU fan, GPU fan, case fan, nothing fancy
Keyboard
Microsoft, PS/2, white.
Mouse
Optical, logitec.
Internet Speed
effective max speeds: 70-ish kB/s down 30-ish kB/s up
Antivirus
Avira, free edition.
Browser
Firefox with FXChrome to make it look like Google Chrome :P
Other Info
Was discarded by previous owner due to "horrible performance".
Was running Win Xp from a IDE drive. Yeah. Was a pain.
SATA II drive and Win7 and it zips away! Yay!
at less than $2 to purchase, its of use - in addition to my "buttload of ram".
It should be possible to use a boot-loader such as grub4dos boot-loader to set it up before Windows loads but that seemed a bit extreme.
Ideally wanted initialise a script pre logon.
I think I'll try a powershell script anyway see what hapens
 

My Computer My Computer

OS
Windows 7 Professional x64
CPU
Intel i5-2500
Motherboard
Asus P8P67 Pro
Memory
16GB Corsair Vengeance
Graphics Card(s)
Geforce GTX 285 1024MB
Sound Card
Realtek ALC892
Monitor(s) Displays
Dell E207WFP, Sony SDM-HS95D
Hard Drives
OCZ Vertex3 SSD 120GB
OCZ Agility3 SSD 60GB
Gigabyte I-Ram 4GB
Seagete ST2000DL 2TB
PSU
Tagan 900W
Case
NZXT
Cooling
Kuhler 920 Water
Back
Top