Active Partitions Under NT with VB6

Active Partitions Under NT with VB6

I have to tell you, you solved a problem for me (rebooting NT from VB), which I’ve been trying to figure out for months. Much thanks.

Now I can move on to the next part of the program, which I don’t know how to do. I’m hoping you can help me once again.

Here’s what I’m trying to do: I want to be able to put a small DOS partition on the drive with my NT partition (I’m using FAT for everything for now.) Then I want to be able (under NT) to programatically set the DOS partition active, tell NT to reboot, and have it boot off of the DOS partition.

Is this possible? I know utilities like Partition Magic will let you do all kinds of tricks (move, hide, etc.) under NT. But can it be done from Visual Basic?

Actually, this is easier than you might think. Look on your C: root directory for a read-only, system file called Boot.Ini. You should have a selection called


You should also have a line starting with


You merely need to change the Default line to


You can optionally save the original default, or keep two files (say, BootIni.NT and BootIni.DOS) and copy them back and forth to Boot.INI. Remember, in any case, to set the attributes of Boot.INI to Read/Write rather than Read-Only and toggle the System setting off.

Share the Post:
Heading photo, Metadata.

What is Metadata?

What is metadata? Well, It’s an odd concept to wrap your head around. Metadata is essentially the secondary layer of data that tracks details about the “regular” data. The regular

XDR solutions

The Benefits of Using XDR Solutions

Cybercriminals constantly adapt their strategies, developing newer, more powerful, and intelligent ways to attack your network. Since security professionals must innovate as well, more conventional endpoint detection solutions have evolved

AI is revolutionizing fraud detection

How AI is Revolutionizing Fraud Detection

Artificial intelligence – commonly known as AI – means a form of technology with multiple uses. As a result, it has become extremely valuable to a number of businesses across

AI innovation

Companies Leading AI Innovation in 2023

Artificial intelligence (AI) has been transforming industries and revolutionizing business operations. AI’s potential to enhance efficiency and productivity has become crucial to many businesses. As we move into 2023, several

data fivetran pricing

Fivetran Pricing Explained

One of the biggest trends of the 21st century is the massive surge in analytics. Analytics is the process of utilizing data to drive future decision-making. With so much of

kubernetes logging

Kubernetes Logging: What You Need to Know

Kubernetes from Google is one of the most popular open-source and free container management solutions made to make managing and deploying applications easier. It has a solid architecture that makes