Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

USENET would be a better laboratory if there were more labor and less oratory. -- Elizabeth Haley


computers / alt.comp.os.windows-11 / Re: VHD and notepad

SubjectAuthor
* VHD and notepadPeter Jason
`* Re: VHD and notepadPaul
 +- Re: VHD and notepadPeter Jason
 `* Re: VHD and notepad...w¡ñ§±¤ñ
  `* Re: VHD and notepadPaul
   `* Re: VHD and notepadPeter Jason
    `- Re: VHD and notepadPaul

1
VHD and notepad

<cf8jri1piav45cc61luovd2q8tu77q2aef@4ax.com>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=4664&group=alt.comp.os.windows-11#4664

  copy link   Newsgroups: alt.comp.os.windows-11
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: pj@jostle.com (Peter Jason)
Newsgroups: alt.comp.os.windows-11
Subject: VHD and notepad
Date: Wed, 31 Jan 2024 12:38:55 +1100
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <cf8jri1piav45cc61luovd2q8tu77q2aef@4ax.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="5169fe134e6a2a0f6be25cf885fba2e5";
logging-data="1299813"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+1bOshnn6WV6nMP1wHRXlR"
User-Agent: ForteAgent/8.00.32.1272
Cancel-Lock: sha1:2zDdk9HEmTtjOePMyr4VqRWPW6U=
 by: Peter Jason - Wed, 31 Jan 2024 01:38 UTC

I have secret details on a VHD, bitlocker protected.

When I open this, the details are on Notepad.

But when I finish and eject the open VHD, all the secret details
remain on notepad.

Is there any way to display the secret details and then make them
disappear when the VHD is ejected?

Or can I just turn off the new persistent Notepad.

Edition Windows 11 Pro
Version 23H2
Installed on ?04-?Nov-?22
OS build 22631.3085
Experience Windows Feature Experience Pack 1000.22684.1000.0
2024-01 Cumulative Update Preview for Windows 11 Version 23H2 for
x64-based Systems (KB5034204)

Re: VHD and notepad

<upcejq$1c9u2$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=4665&group=alt.comp.os.windows-11#4665

  copy link   Newsgroups: alt.comp.os.windows-11
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: nospam@needed.invalid (Paul)
Newsgroups: alt.comp.os.windows-11
Subject: Re: VHD and notepad
Date: Tue, 30 Jan 2024 22:25:45 -0500
Organization: A noiseless patient Spider
Lines: 46
Message-ID: <upcejq$1c9u2$1@dont-email.me>
References: <cf8jri1piav45cc61luovd2q8tu77q2aef@4ax.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 31 Jan 2024 03:25:46 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="2b3f26c427b9d2606f2120f5698f10e0";
logging-data="1451970"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19XqCeeGN/kmYpo+YS2+TvhojpVZeH7QSc="
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
Cancel-Lock: sha1:Hgt1BvrJKmXZfaHCAg9PK0eEfl4=
In-Reply-To: <cf8jri1piav45cc61luovd2q8tu77q2aef@4ax.com>
Content-Language: en-US
 by: Paul - Wed, 31 Jan 2024 03:25 UTC

On 1/30/2024 8:38 PM, Peter Jason wrote:
> I have secret details on a VHD, bitlocker protected.
>
> When I open this, the details are on Notepad.
>
> But when I finish and eject the open VHD, all the secret details
> remain on notepad.
>
> Is there any way to display the secret details and then make them
> disappear when the VHD is ejected?
>
> Or can I just turn off the new persistent Notepad.
>
> Edition Windows 11 Pro
> Version 23H2
> Installed on ?04-?Nov-?22
> OS build 22631.3085
> Experience Windows Feature Experience Pack 1000.22684.1000.0
> 2024-01 Cumulative Update Preview for Windows 11 Version 23H2 for
> x64-based Systems (KB5034204)
>

I turned mine off.

The problem was, if you had opened a 400MB text file, then
closed the Notepad window, the next time you started Notepad,
you had to wait until the 400MB file was opened again. While
mine wasn't a security issue, it was a performance issue. So I
turned off the persistence.

https://www.elevenforum.com/t/how-does-notepad-open-content-from-the-previous-session-store-data.18978/

"The information is stored locally in

C:\Users\<YourUsername>\AppData\Local\Packages\Microsoft.Windows.Notepad_8wekyb3d8bbwe\LocalState\TabState
C:\Users\Gebruiker\AppData\Local\Packages\Microsoft.WindowsNotepad_8wekyb3d8bbwe\LocalState\WindowState
"

Which means your private data is somewhere in AppData now.

Some other people have your problem.

https://www.elevenforum.com/t/windows-11-notepad-now-automatically-saving-plaintext-versions-of-encrypted-text-files.18560/#post-358330

Paul

Re: VHD and notepad

<vdnjrihvnka4amgqa09751bu7bbljabpmd@4ax.com>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=4666&group=alt.comp.os.windows-11#4666

  copy link   Newsgroups: alt.comp.os.windows-11
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: pj@jostle.com (Peter Jason)
Newsgroups: alt.comp.os.windows-11
Subject: Re: VHD and notepad
Date: Wed, 31 Jan 2024 16:43:07 +1100
Organization: A noiseless patient Spider
Lines: 50
Message-ID: <vdnjrihvnka4amgqa09751bu7bbljabpmd@4ax.com>
References: <cf8jri1piav45cc61luovd2q8tu77q2aef@4ax.com> <upcejq$1c9u2$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="5169fe134e6a2a0f6be25cf885fba2e5";
logging-data="1483391"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX185bZA3vg56AWfsNIfduynv"
User-Agent: ForteAgent/8.00.32.1272
Cancel-Lock: sha1:Qh9T3Ax2GfciHGKT3Hxu67Px63E=
 by: Peter Jason - Wed, 31 Jan 2024 05:43 UTC

On Tue, 30 Jan 2024 22:25:45 -0500, Paul <nospam@needed.invalid>
wrote:

>On 1/30/2024 8:38 PM, Peter Jason wrote:
>> I have secret details on a VHD, bitlocker protected.
>>
>> When I open this, the details are on Notepad.
>>
>> But when I finish and eject the open VHD, all the secret details
>> remain on notepad.
>>
>> Is there any way to display the secret details and then make them
>> disappear when the VHD is ejected?
>>
>> Or can I just turn off the new persistent Notepad.
>>
>> Edition Windows 11 Pro
>> Version 23H2
>> Installed on ?04-?Nov-?22
>> OS build 22631.3085
>> Experience Windows Feature Experience Pack 1000.22684.1000.0
>> 2024-01 Cumulative Update Preview for Windows 11 Version 23H2 for
>> x64-based Systems (KB5034204)
>>
>
>I turned mine off.
>
>The problem was, if you had opened a 400MB text file, then
>closed the Notepad window, the next time you started Notepad,
>you had to wait until the 400MB file was opened again. While
>mine wasn't a security issue, it was a performance issue. So I
>turned off the persistence.
>
>https://www.elevenforum.com/t/how-does-notepad-open-content-from-the-previous-session-store-data.18978/
>
> "The information is stored locally in
>
> C:\Users\<YourUsername>\AppData\Local\Packages\Microsoft.Windows.Notepad_8wekyb3d8bbwe\LocalState\TabState
> C:\Users\Gebruiker\AppData\Local\Packages\Microsoft.WindowsNotepad_8wekyb3d8bbwe\LocalState\WindowState
> "
>
>Which means your private data is somewhere in AppData now.
>
>Some other people have your problem.
>
>https://www.elevenforum.com/t/windows-11-notepad-now-automatically-saving-plaintext-versions-of-encrypted-text-files.18560/#post-358330
>
> Paul

Thank you. I will turn off saving the notepads automatically.

Re: VHD and notepad

<upefr1$1n0n9$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=4667&group=alt.comp.os.windows-11#4667

  copy link   Newsgroups: alt.comp.os.windows-11
Path: i2pn2.org!i2pn.org!news.chmurka.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: winstonmvp@gmail.com (...w¡ñ§±¤ñ)
Newsgroups: alt.comp.os.windows-11
Subject: Re: VHD and notepad
Date: Wed, 31 Jan 2024 14:58:55 -0700
Organization: windowsunplugged.com
Lines: 59
Message-ID: <upefr1$1n0n9$1@dont-email.me>
References: <cf8jri1piav45cc61luovd2q8tu77q2aef@4ax.com>
<upcejq$1c9u2$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 31 Jan 2024 21:58:57 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="944c856674aa185d2a2d5ac4e2bd1dc7";
logging-data="1802985"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Jb4Z1Eyx1XAqZiaDtIotr16xynOcK/kk="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Firefox/91.0 SeaMonkey/2.53.18.1
Cancel-Lock: sha1:o/vPXuG9fqXK4DcdXTTwmKf8X1o=
In-Reply-To: <upcejq$1c9u2$1@dont-email.me>
 by: ...w¡ñ§±¤ñ - Wed, 31 Jan 2024 21:58 UTC

Paul wrote on 1/30/24 8:25 PM:
> On 1/30/2024 8:38 PM, Peter Jason wrote:
>> I have secret details on a VHD, bitlocker protected.
>>
>> When I open this, the details are on Notepad.
>>
>> But when I finish and eject the open VHD, all the secret details
>> remain on notepad.
>>
>> Is there any way to display the secret details and then make them
>> disappear when the VHD is ejected?
>>
>> Or can I just turn off the new persistent Notepad.
>>
>> Edition Windows 11 Pro
>> Version 23H2
>> Installed on ?04-?Nov-?22
>> OS build 22631.3085
>> Experience Windows Feature Experience Pack 1000.22684.1000.0
>> 2024-01 Cumulative Update Preview for Windows 11 Version 23H2 for
>> x64-based Systems (KB5034204)
>>
>
> I turned mine off.
>
> The problem was, if you had opened a 400MB text file, then
> closed the Notepad window, the next time you started Notepad,
> you had to wait until the 400MB file was opened again. While
> mine wasn't a security issue, it was a performance issue. So I
> turned off the persistence.
>
> https://www.elevenforum.com/t/how-does-notepad-open-content-from-the-previous-session-store-data.18978/
>
> "The information is stored locally in
>
> C:\Users\<YourUsername>\AppData\Local\Packages\Microsoft.Windows.Notepad_8wekyb3d8bbwe\LocalState\TabState
> C:\Users\Gebruiker\AppData\Local\Packages\Microsoft.WindowsNotepad_8wekyb3d8bbwe\LocalState\WindowState
> "
>
> Which means your private data is somewhere in AppData now.
>
> Some other people have your problem.
>
> https://www.elevenforum.com/t/windows-11-notepad-now-automatically-saving-plaintext-versions-of-encrypted-text-files.18560/#post-358330
>
> Paul
>
Are you saying when all files are closed before closing Notepad or just
closing Notepad via the 'X', that Notepad's setting 'When Notepad starts'
*Open in a new window' opens the previous opened file(s).

Note:
The other optional alternate feature 'When Notepad starts' setting is
*Open content from the previous session*

N

--
....w¡ñ§±¤ñ

Re: VHD and notepad

<upepbd$1of3p$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=4668&group=alt.comp.os.windows-11#4668

  copy link   Newsgroups: alt.comp.os.windows-11
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: nospam@needed.invalid (Paul)
Newsgroups: alt.comp.os.windows-11
Subject: Re: VHD and notepad
Date: Wed, 31 Jan 2024 19:41:16 -0500
Organization: A noiseless patient Spider
Lines: 49
Message-ID: <upepbd$1of3p$1@dont-email.me>
References: <cf8jri1piav45cc61luovd2q8tu77q2aef@4ax.com>
<upcejq$1c9u2$1@dont-email.me> <upefr1$1n0n9$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 1 Feb 2024 00:41:17 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="8527eeb841d549b76d75268dad4b6933";
logging-data="1850489"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/m3Z5/6RTPPEAA61Ps5rZJMXqo4F5z9GU="
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
Cancel-Lock: sha1:G0IPJaCEFFi6m6bs3xwzHtqNOZk=
In-Reply-To: <upefr1$1n0n9$1@dont-email.me>
Content-Language: en-US
X-Mozilla-News-Host: news://nntp.aioe.org
 by: Paul - Thu, 1 Feb 2024 00:41 UTC

On 1/31/2024 4:58 PM, ...w¡ñ§±¤ñ wrote:

> Are you saying when all files are closed before closing Notepad or
> just closing Notepad via the 'X', that Notepad's setting
> 'When Notepad starts' *Open in a new window' opens the previous opened file(s).
>
> Note:
> The other optional alternate feature 'When Notepad starts' setting
> is *Open content from the previous session*
>
> N

If you carefully close all the tabs, then exit Notepad, nothing
would be presented on the next start of Notepad.

If you left any tabs loaded, then clicked the "X", those tabs were remembered.

You can stop the behavior, and terminate all Notepad activity
each time you click the "X", by using the setting you name.

[Picture]

https://i.postimg.cc/RVFvNhZP/notepad-not-open-previous-session-content.gif

"Open content from the previous session" is no longer ticked.

I found where the temporary file is stored.

C:\Users\username\AppData\Local\Packages\Microsoft.WindowsNotepad_8wekyb3d8bbwe\LocalState\TabState
206,373,977 0997efdf-a014-4cd9-8b8b-ba266738ad3b.bin

the file header is lightly obfuscated, by adding 128 bytes to the
beginning of it. The letters "NP" being fitted as a Magic value
which causes other utilities to think it is a "data: " file. The
content is not encrypted in any way. If the file has 0x0D 0x0A sequences,
these are compressed by removing the 0x0A from the sequence. The file
"re-inflates" if you save the tab off to a new file location.

Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F

00000000 4E 50 00 01 26 43 00 3A 00 5C 00 55 00 73 00 65 NP..&C.:.\.U.s.e
00000010 00 72 00 73 00 5C .r.s.\

So this does represent bad security and shutting it off via Settings
wheel in Notepad is required.

Paul

Re: VHD and notepad

<mc0mrip8s2mb7agnu89rm0dafr78ddsubv@4ax.com>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=4669&group=alt.comp.os.windows-11#4669

  copy link   Newsgroups: alt.comp.os.windows-11
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: pj@jostle.com (Peter Jason)
Newsgroups: alt.comp.os.windows-11
Subject: Re: VHD and notepad
Date: Thu, 01 Feb 2024 13:29:54 +1100
Organization: A noiseless patient Spider
Lines: 59
Message-ID: <mc0mrip8s2mb7agnu89rm0dafr78ddsubv@4ax.com>
References: <cf8jri1piav45cc61luovd2q8tu77q2aef@4ax.com> <upcejq$1c9u2$1@dont-email.me> <upefr1$1n0n9$1@dont-email.me> <upepbd$1of3p$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="8f98a3c2d4d88306ecb3923c40293a9b";
logging-data="2002040"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+rwVbFpu2NyixSY0UJps6S"
User-Agent: ForteAgent/8.00.32.1272
Cancel-Lock: sha1:QKY9Ce7xqFSnciUe8Tn2MQAN0qo=
 by: Peter Jason - Thu, 1 Feb 2024 02:29 UTC

On Wed, 31 Jan 2024 19:41:16 -0500, Paul <nospam@needed.invalid>
wrote:

>On 1/31/2024 4:58 PM, ...w¡ñ§±¤ñ wrote:
>
>> Are you saying when all files are closed before closing Notepad or
>> just closing Notepad via the 'X', that Notepad's setting
>> 'When Notepad starts' *Open in a new window' opens the previous opened file(s).
>>
>> Note:
>> The other optional alternate feature 'When Notepad starts' setting
>> is *Open content from the previous session*
>>
>> N
>
>If you carefully close all the tabs, then exit Notepad, nothing
>would be presented on the next start of Notepad.
>
>If you left any tabs loaded, then clicked the "X", those tabs were remembered.
>
>You can stop the behavior, and terminate all Notepad activity
>each time you click the "X", by using the setting you name.
>
> [Picture]
>
> https://i.postimg.cc/RVFvNhZP/notepad-not-open-previous-session-content.gif
>
>"Open content from the previous session" is no longer ticked.
>
>I found where the temporary file is stored.
>
>C:\Users\username\AppData\Local\Packages\Microsoft.WindowsNotepad_8wekyb3d8bbwe\LocalState\TabState
> 206,373,977 0997efdf-a014-4cd9-8b8b-ba266738ad3b.bin
>
>the file header is lightly obfuscated, by adding 128 bytes to the
>beginning of it. The letters "NP" being fitted as a Magic value
>which causes other utilities to think it is a "data: " file. The
>content is not encrypted in any way. If the file has 0x0D 0x0A sequences,
>these are compressed by removing the 0x0A from the sequence. The file
>"re-inflates" if you save the tab off to a new file location.
>
>Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
>
>00000000 4E 50 00 01 26 43 00 3A 00 5C 00 55 00 73 00 65 NP..&C.:.\.U.s.e
>00000010 00 72 00 73 00 5C .r.s.\
>
>So this does represent bad security and shutting it off via Settings
>wheel in Notepad is required.
>
> Paul
>

Thanks again. I have turned off the "remember last".
But how can I remove the past history of all this?
Can I just delete the....
C:\Users\username\AppData\Local\Packages\Microsoft.WindowsNotepad_8wekyb3d8bbwe\LocalState\TabState
206,373,977 0997efdf-a014-4cd9-8b8b-ba266738ad3b.bin
Folder, and all others in it?
>

Re: VHD and notepad

<upfbl0$1umad$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=4670&group=alt.comp.os.windows-11#4670

  copy link   Newsgroups: alt.comp.os.windows-11
Path: i2pn2.org!i2pn.org!news.hispagatos.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: nospam@needed.invalid (Paul)
Newsgroups: alt.comp.os.windows-11
Subject: Re: VHD and notepad
Date: Thu, 1 Feb 2024 00:53:35 -0500
Organization: A noiseless patient Spider
Lines: 120
Message-ID: <upfbl0$1umad$1@dont-email.me>
References: <cf8jri1piav45cc61luovd2q8tu77q2aef@4ax.com>
<upcejq$1c9u2$1@dont-email.me> <upefr1$1n0n9$1@dont-email.me>
<upepbd$1of3p$1@dont-email.me> <mc0mrip8s2mb7agnu89rm0dafr78ddsubv@4ax.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 1 Feb 2024 05:53:37 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="8527eeb841d549b76d75268dad4b6933";
logging-data="2054477"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX186Ueuf1PjzFln/1L7ws+pkQm4wWxXy3/A="
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
Cancel-Lock: sha1:tixdpG52nI+AWhlzeH2ut/+hiQw=
Content-Language: en-US
In-Reply-To: <mc0mrip8s2mb7agnu89rm0dafr78ddsubv@4ax.com>
 by: Paul - Thu, 1 Feb 2024 05:53 UTC

On 1/31/2024 9:29 PM, Peter Jason wrote:
> On Wed, 31 Jan 2024 19:41:16 -0500, Paul <nospam@needed.invalid>
> wrote:
>
>> On 1/31/2024 4:58 PM, ...w¡ñ§±¤ñ wrote:
>>
>>> Are you saying when all files are closed before closing Notepad or
>>> just closing Notepad via the 'X', that Notepad's setting
>>> 'When Notepad starts' *Open in a new window' opens the previous opened file(s).
>>>
>>> Note:
>>> The other optional alternate feature 'When Notepad starts' setting
>>> is *Open content from the previous session*
>>>
>>> N
>>
>> If you carefully close all the tabs, then exit Notepad, nothing
>> would be presented on the next start of Notepad.
>>
>> If you left any tabs loaded, then clicked the "X", those tabs were remembered.
>>
>> You can stop the behavior, and terminate all Notepad activity
>> each time you click the "X", by using the setting you name.
>>
>> [Picture]
>>
>> https://i.postimg.cc/RVFvNhZP/notepad-not-open-previous-session-content.gif
>>
>> "Open content from the previous session" is no longer ticked.
>>
>> I found where the temporary file is stored.
>>
>> C:\Users\username\AppData\Local\Packages\Microsoft.WindowsNotepad_8wekyb3d8bbwe\LocalState\TabState
>> 206,373,977 0997efdf-a014-4cd9-8b8b-ba266738ad3b.bin
>>
>> the file header is lightly obfuscated, by adding 128 bytes to the
>> beginning of it. The letters "NP" being fitted as a Magic value
>> which causes other utilities to think it is a "data: " file. The
>> content is not encrypted in any way. If the file has 0x0D 0x0A sequences,
>> these are compressed by removing the 0x0A from the sequence. The file
>> "re-inflates" if you save the tab off to a new file location.
>>
>> Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
>>
>> 00000000 4E 50 00 01 26 43 00 3A 00 5C 00 55 00 73 00 65 NP..&C.:.\.U.s.e
>> 00000010 00 72 00 73 00 5C .r.s.\
>>
>> So this does represent bad security and shutting it off via Settings
>> wheel in Notepad is required.
>>
>> Paul
>>
>
> Thanks again. I have turned off the "remember last".
> But how can I remove the past history of all this?
> Can I just delete the....
> C:\Users\username\AppData\Local\Packages\Microsoft.WindowsNotepad_8wekyb3d8bbwe\LocalState\TabState
> 206,373,977 0997efdf-a014-4cd9-8b8b-ba266738ad3b.bin
> Folder, and all others in it?
>>

That size is just the size of the file I used as a marker.
I made a big file, so it would stand out like a sore thumb.

It was the path of the file, that was a giveaway as to what
it was. The file size was not an exact match, but it was
sitting in my search window, right next to the original
source file.

When you untick "Open content from the previous session",
the TabState directory is cleared.

However, you know how disk erasure works.

When you delete a file, a single byte in the $MFT is flipped.
The details (file name) still sits in the MFT slot.

The clusters the file lived in, are still there.

Really, nothing was removed.

Using Recuva, you could scan the disk, and if not many
changes to the disk have happened, Recuva will give
a file name and a "green dot". The green dot means the
clusters have *not* been overwritten, and the file is
perfectly recoverable.

On a hard drive, I would tell you to use

sdelete.exe -z C:

and that would zero out all the white space on the disk,
including the clusters mentioned above (freshly liberated
clusters).

https://learn.microsoft.com/en-us/sysinternals/downloads/sdelete

I use sdelete.exe all the time, for cleaning of virtual machines
before putting them away. (Zeros take no storage space in dynamic
containers.)

A TRIM in the Optimize window, may play a part in overwriting the
clusters, but all of these processes take time to have results.
Whereas sdelete, is if you need it done right away. I don't know
enough about TRIM, to be offering security advice regarding its
usage. Sdelete is a waste of SSD write life, so that's the price
you pay for a clearance operation.

You were on a mounted VHD, so the Optimize menu will tell you
it's not going to do a damn thing and that "the slabs are optimal",
whatever that means. It's some wishy-washy stuff that means it's
not going to do anything.

Microsoft has never shown any "Heidi Eraser" tendencies in the
past, and to miss this security issue, I doubt they have a custom
cleaner to cover the security exposure. If they'd used crypto on
the TabState folder, we wouldn't be having this discussion
(the disk would have the crypto on it, only RAM would have plaintext).

Paul

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor