Results 1 to 8 of 8
  1. #1
    5 Star Lounger
    Join Date
    Jul 2001
    Location
    Terneuzen, Netherlands
    Posts
    895
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Loosing time-stamp after (de-)encrypt in NTFS

    Some times I'd like to encrypt (or return to not encrypted) for one or more files I have on an NTFS-disk. Although this is easy to do (Properties, Advanced), the problem is that this procedure also (logically) changes the "Date-Modified" flag. Does anyone know about tools that prevent this? I know there are many tools that manipulate timestamps, what I'd like is one that reads the modified date, changes the encryption state and then re-writes the modified date...

    Erik Jan

  2. #2
    Silver Lounger
    Join Date
    Apr 2001
    Location
    New York, New York, USA
    Posts
    2,328
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Loosing time-stamp after (de-)encrypt in NTFS

    Try FileDate Changer v1.1. It's free.

  3. #3
    5 Star Lounger
    Join Date
    Jul 2001
    Location
    Terneuzen, Netherlands
    Posts
    895
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Loosing time-stamp after (de-)encrypt in NTFS

    But that's just another file-date/stamp changer isn't it??? I'm looking for a tool that (re-)sets encryption without changing the stamp (so: save stamp, change encryption, set stamp)

  4. #4
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Loosing time-stamp after (de-)encrypt in NTFS

    You could always use a different encryption tool.

    I use PGP Disk, which mounts a container file as a virtual disk so you can put all the encrypted files into the single encrypted container file. The modification date changes on the container file when you mount and dismount it, but the files in the virtual disk retain their correct dates. The whole thing is transparent to every application I've ever tested it with.

    StuartR

  5. #5
    Plutonium Lounger
    Join Date
    Oct 2001
    Location
    Lexington, Kentucky, USA
    Posts
    12,107
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Loosing time-stamp after (de-)encrypt in NTFS

    I've spent a little time Googling around since I read your post this morning and I can't find anything. I have NOT looked over all the MS sites and pages. Perhaps you going to need to take a look at Stuart's suggestion. Anyone else got anything?

    (Just my opinion, but I can understand the MS logic in this. When you encrypt or decrypt a file, you are in essence "changing" the file as you would with any edit process, even though I also understand your concern that the file has actually not changed in content. Tough situation.)

  6. #6
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Loosing time-stamp after (de-)encrypt in NTFS

    Big Al is correct; the file system is "performing as designed". Any time the file is written, by whatever means, that action causes a change to the "file modified" timestamp.

    The best account I've come across of why the Windows file timestamps are largely meaningless, with only the "file modified" one being fairly reliable, is the XXCOPY Technical Bulletin #15 Windows File Date and Time. Simultaneously both enlightening and depressing!
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

  7. #7
    5 Star Lounger
    Join Date
    Jul 2001
    Location
    Terneuzen, Netherlands
    Posts
    895
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Loosing time-stamp after (de-)encrypt in NTFS

    I understand the discussion and -obviously- it makes sense: if I change something the modified-date stamp changes too... I realize (and realized) this... however that STILL doesn't change my wish for a little tool that will act as described earlier... From my own searches and the responses however it seems not to exist out there.

    Thanks all for a good discussion!

    Erik Jan

  8. #8
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Loosing time-stamp after (de-)encrypt in NTFS

    If you can find whether one of the functions of RUNDLL32 (or ANY command line tool) can be used to do encryption or decryption, it would be fairly straightforward for someone to save the Last-Modified date(s) before running this, and restore it/them afterwards.

    Even better would be a C++ or VBA program which used the Windows APIs to do these three functions -- but these are way beyond my area of ignorance. Pity nobody appears to have written this.

    For WIndows NT I wanted a command-line utility which would compress or decompress a folder structure, but I couldn't find that either!
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •