PDA

View Full Version : cipher.exe doesn't work?


Pages : [1] 2

derdeutscha
07-31-06, 11:37 PM
When I try to run cipher it says "'cipher' is not recognized as an internal or external command, operable program or batch file"

What am I doing wrong?

GlowStick
07-31-06, 11:44 PM
Are you running Windows XP Home, or Windows XP Media Center? I dont belive those support EFS

-Edit
I just checked with my big blue Microsoft Press Windows XP Professional book and EFS is only supported in Pro/Server that is most likely the cause.

retsam
08-01-06, 07:07 AM
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=89E5A2F2-E2A6-418F-90BB-345E95C89806


you can get it here.

K007
08-01-06, 08:53 AM
What on earth is chiper

or i see..

Riptide
08-01-06, 09:30 AM
Had no idea this even existed. It looks like it is in XP as well. I can't see an option to overwrite deleted files though.

derdeutscha
08-01-06, 10:09 AM
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=89E5A2F2-E2A6-418F-90BB-345E95C89806


you can get it here.

that will only install on windows 2000

Riptide
08-01-06, 10:30 AM
cipher /w:c: will clean free space. Cool. I had no idea this thing existed.

evilghost
08-01-06, 12:37 PM
Displays or alters the encryption of directories on NTFS partitions.

CIPHER [/E | /D] [/S:directory] [/A] [/I] [/Q] [/H] [pathname [...]]

CIPHER /K

CIPHER /R:filename

CIPHER /U [/N]

CIPHER /W:directory

CIPHER /X[:efsfile] [filename]

/A Operates on files as well as directories. The encrypted file
could become decrypted when it is modified if the parent
directory is not encrypted. It is recommended that you encrypt
the file and the parent directory.
/D Decrypts the specified directories. Directories will be marked
so that files added afterward will not be encrypted.
/E Encrypts the specified directories. Directories will be marked
so that files added afterward will be encrypted.
/F Forces the encryption operation on all specified objects, even
those which are already encrypted. Already-encrypted objects
are skipped by default.
/H Displays files with the hidden or system attributes. These
files are omitted by default.
/I Continues performing the specified operation even after errors
have occurred. By default, CIPHER stops when an error is
encountered.
/K Creates new file encryption key for the user running CIPHER. If
this option is chosen, all the other options will be ignored.
/N This option only works with /U. This will prevent keys being
updated. This is used to find all the encrypted files on the
local drives.
/Q Reports only the most essential information.
/R Generates an EFS recovery agent key and certificate, then writes
them to a .PFX file (containing certificate and private key) and
a .CER file (containing only the certificate). An administrator
may add the contents of the .CER to the EFS recovery policy to
create the recovery agent for users, and import the .PFX to
recover individual files.
/S Performs the specified operation on directories in the given
directory and all subdirectories.
/U Tries to touch all the encrypted files on local drives. This will
update user's file encryption key or recovery agent's key to the
current ones if they are changed. This option does not work with
other options except /N.
/W Removes data from available unused disk space on the entire
volume. If this option is chosen, all other options are ignored.
The directory specified can be anywhere in a local volume. If it
is a mount point or points to a directory in another volume, the
data on that volume will be removed.
/X Backup EFS certificate and keys into file filename. If efsfile is
provided, the current user's certificate(s) used to encrypt the
file will be backed up. Otherwise, the user's current EFS
certificate and keys will be backed up.


directory A directory path.
filename A filename without extensions.
pathname Specifies a pattern, file or directory.
efsfile An encrypted file path.

Used without parameters, CIPHER displays the encryption state of
the current directory and any files it contains. You may use multiple
directory names and wildcards. You must put spaces between multiple
parameters.


Not sure what uses I'll have for it, thanks.

rewt
08-01-06, 03:20 PM
I mentioned this a while back in the useful software thread. I use it all the time to wipe free space.

I have no idea whether or not it wipes deleted filenames in the MFT however. The only tool I know of that did something like that was Sysinternals sdelete. But unfortunately it doesn't appear to fully support Win XP or dynamic disks.

On a side note, Sysinternals was bought out by Microsoft. Good for Mark and Bryce, but I have a feeling the software being owned by M$ will turn to shyte now..

evilghost
08-01-06, 03:59 PM
On a side note, Sysinternals was bought out by Microsoft. Good for Mark and Bryce, but I have a feeling the software being owned by M$ will turn to shyte now..

I already did a "wget -r" on it knowing that many of the useful tools and utilities will likely be taken down and sealed away requiring WGA or will be implemented in Vista as an attempt to strong-arm people to upgrade.

rewt
08-01-06, 04:26 PM
Indeed their servers were getting hammered when people first found out. Fortunately I had already grabbed the free utils and source code with HTTrack a few months ago and kept them updated ever since.

retsam
08-01-06, 04:38 PM
that will only install on windows 2000
did you try?...

derdeutscha
08-01-06, 10:54 PM
did you try?...

yeah i tried and it said this can only be installed on build 2195 or something like that

Riptide
08-02-06, 12:33 AM
Sonofa... I have XP Home and it won't work. :(

Guess I have to use a 3rd party util if I want to wipe free space. Anyone have a suggestion?

rewt
08-02-06, 02:23 PM
Bcwipe or Eraser. The free version of PGP Desktop also has a disk wiping utility and file shredder.

Riptide
08-02-06, 02:53 PM
Do you recommend any one in particular? I've seen Eraser but it seems to want to integrate a little to tightly for my tastes. I'd prefer a program that I can just call up on demand, close out of any open software, and run it. Much like cipher.

rewt
08-02-06, 04:13 PM
I personally don't use any of them because I have a dynamic disk configuration. I'm not sure if any of those utilities fully support that and don't want to take the chance of corrupting my files. Which is why I use cipher.exe.

evilghost
08-02-06, 04:23 PM
For Linux I use "wipe".

derdeutscha
08-02-06, 09:37 PM
Just to let you know there is some risk associated with 3rd party programs. I lost a hard drive and everything that was on it and had to return it because it destroyed the boot sector and damage was unrecoverable

retsam
08-03-06, 12:10 AM
Just to let you know there is some risk associated with 3rd party programs. I lost a hard drive and everything that was on it and had to return it because it destroyed the boot sector and damage was unrecoverable
lowlevel format probably would have worked to fix that.

derdeutscha
08-03-06, 12:40 PM
no it didn't

i tried that and every piece of recovery software under the sun


lowlevel format probably would have worked to fix that.

rewt
08-03-06, 03:05 PM
But low level format is not recovery software. Low level format can actually prevent recovery, data recovery that is.

Low level format, if done with proper tools, should restore the disk to factory state.

If it's physically damaged then thats a different story. I've personally never heard of physical damage from these sort of disk wiping tools. Though over time, the disk may die quicker because "wiping" makes the disk do a lot more work than normal.

retsam
08-03-06, 07:08 PM
Low level format, if done with proper tools, should restore the disk to factory state.
with ata you just have to use the manufactorues own low level utilities to low level format the disk. most people think that you cant lowlevel format ata but you can.

derdeutscha
08-03-06, 10:51 PM
i downloaded the manufacturers low level format tool and it wouldn't work, after that I tried about 10 other programs none of which worked. windows cd wouldn't even load up so I couldn't format it that way either which was the first thing i tried


with ata you just have to use the manufactorues own low level utilities to low level format the disk. most people think that you cant lowlevel format ata but you can.

rewt
08-04-06, 02:40 PM
The hard drive was probably old or defective then. Send it back for a new one if it's still under warranty.