Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > microsoft.public.scripting.vbscript > #12377

Re: How to use "clean all" on a NAS drive remotely?

From "Auric__" <not.my.real@email.address>
Newsgroups microsoft.public.scripting.vbscript
Subject Re: How to use "clean all" on a NAS drive remotely?
Date 2021-11-17 16:43 +0000
Organization A noiseless patient Spider
Message-ID <XnsADE562FB7A1A1auricauricauricauric@144.76.35.252> (permalink)
References <85d26e84-8a3d-4d4b-8e9b-29b0c98567a4n@googlegroups.com>

Show all headers | View raw


Robert Jenkins wrote:

> Hello. I'd like to wipe properly a NAS drive. My only access to it is
> through the network facility in Windows 11 File Explorer. But I'm able
> to "be" in it through the Command Prompt, although I can't even use
> chkdsk on it.
>
> How can I check how it's formatted?
>
> How can I reformat it using its own format?
>
> Thanks for any help.

I can't help with most of that, especially not in Windows 11, but to wipe it, 
you can do the poor man's blank space overwrite. In the command prompt, 
change to the root directory of the NAS drive, then:

  echo.>a
  for /l %a in (1,0,9) do (
    copy /Y a + a b
    copy /Y b + b a
  )

Eventually (it will take some time, depending on network speed, physical disk 
read/write speeds, etc.) that will error out (insufficient disk space or 
similar). When it does, rename 'a' and 'b' to something else (it doesn't 
matter what, 'c' and 'd' are fine, just don't delete them) and then run it 
again. Keep doing so until you can't do it any more, then delete all of your 
created files. There won't be anything left in the slack space of the drive 
that can be recovered without some serious forensic work on the physical 
drive itself.

(Of course, if you're connected as a user with a hard data quota, this will 
only fill up to your quota allocation and nothing more, and is therefore 
useless.)

-- 
Going to sleep for a million years and no one remembered to
turn off the utilities. Just one more reason to be angry.

Back to microsoft.public.scripting.vbscript | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

How to use "clean all" on a NAS drive remotely? Robert Jenkins <dale.jenkins3737@gmail.com> - 2021-11-17 06:14 -0800
  Re: How to use "clean all" on a NAS drive remotely? "Auric__" <not.my.real@email.address> - 2021-11-17 16:43 +0000
  Re: How to use "clean all" on a NAS drive remotely? "R.Wieser" <address@not.available> - 2021-11-17 18:14 +0100

csiph-web