Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 561603
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:28:00+00:00 2026-05-13T12:28:00+00:00

I have been tasked to overwrite all the free space on a few laptops

  • 0

I have been tasked to overwrite all the free space on a few laptops 3 times. I know there are some alternatives but I like to know how things work and if I can to do it myself with C#.

1) yes, I know there are plenty of freeware applications that will do this

2) no, we don’t need to conform to any specific government standard

Where do I look for ideas on how to start this?

Thanks if you can point me in the right direction.

Can it be achieved using C#? If so, how?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T12:28:01+00:00Added an answer on May 13, 2026 at 12:28 pm

    Simple algorithm:

    • Create a large text file full of arbitrary text (best to use a pre-created file instead of regenerating random for performance reasons. Test it out.)
    • Create a clever folder and file naming scheme so as to be able to track the files. You should also track the files with your app but if it crashes, especially near the end of a first few test runs, you’ll want to be able to easily find and clean up your handy work.
    • Write it to the HDD until it’s full
    • Delete the files you created
    • Repeat above steps two more times

    Update: More advanced consideration on wiping per subsequent discussion:

    • On first pass write files of 0x0000 values (all bits off)
    • On second pass write all bits as 0xFFFF (all bits on)
    • On last pass repeat with 0x0000

    The above ignores a few ideas such as what is the best size of the file, depends on your file system anyway. You might also get different behaviors from the OS as you near a filled HDD…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been tasked with decrypting a file in Java that has been encrypted
I have been tasked with obtaining a response from a SOAP request, using classic
I have been tasked with a project which will entail multiple apps, a master
I have been tasked to do a scheduling program in my company. Basically given
I have been tasked with writing an xsd, for an xml file format that
I have been tasked with researching and implementing data warehousing for our ERP system
I have been tasked at re-creating an MS Access calendar in a winforms C#
I've been tasked with a requirement to override the browser's right-click functionality and add
I'm about ready to deploy an MVC web application that I've been tasked with
I've never done work in C# before (although quite a bit in PHP), but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.