🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.os.windows-10
Article #461

Re: OT: Windows 7 Explorer hangs for some .docx and .xlsx files - very long

#461
From: Paul
Date: Tue, 20 Oct 2026 20:14
64 lines
5281 bytes
On Tue, 10/20/2026 12:38 PM, Graham J wrote:
> Paul wrote:
> 
> [snip]
>> For the desktop machine, when you make a new profile, isn't that new > profile a clone of the Default profile ? It's hard to see> how that 
> would splatter onto the admin account. Unless some> other activity was involved that changed some sort of registry info.
> Interesting!
> 
> Desktop machine Admin account: I deleted desktop.ini from the root folder (C:\S-Docs) that contained all the subfolders with the misbehaving files.  The Admin account now behaves correctly.
> 
> Note that this folder has been synchronised with the laptop using Microsoft's Offline Files feature, so it contains substantially the same material as on the laptop.  There's been no synchronisation since early August.  Further, this tree of files and folders was imported from an older machine (probably Windows XP) when the Windows 7 machine was set up, so it may contain .ini files which are not appropriate to Windows 7..
> 
> Logged on as the newly created Standard User.  Check files in C:\S-Docs - behaves OK. But further down the tree (C:\S-Docs\ABC) the right-click hang problem remains.
> 
> Log off / log on as Admin.
> 
> Files in C:\S-Docs - continue to behave OK, but files further down the tree now fail as for the new Standard User.  So logging in as the Standard User broke something.
> 
> I see there are many desktop.ini files throughout the C: filesystem, and I understand that if deleted they are recreated automatically as needed.
> 
> So I think I could delete them all.  Do you agree?
> 
> 

They are supposed to control the "View" of the folder. If explorer.exe
detects a folder contains a majority of images, then the columns in the
window will have titles "good for images". They decided not to store that
in the Registry and store it in the file system. The registry still
had shellbags, of fixed number and used on a rotating basis (if you
have more folders than shellbags, some of them may not have info
for them in the registry). At one time, you could declare a larger
bag number, to remedy this.

The potential problem with desktop.ini, is they point to entry
points in shell32.dll , and it is also possible to load more than
just the one item in a desktop.ini . The desktop.ini is a text file,
with the capability of storing multiple lines.

Cleaning them all out is certainly possible, but as you note, they
are re-created by explorer.exe examining the folder for content and
making a default choice for the folder. Any malware that was on board,
could mess around afterwards. When you visit a folder, that's when it
gets evaluated so a desktop.ini can be cached there.

The shellbags also plays a part in views, so there is more to it than
desktop.ini . I was just remembering something I'd heard at the time
I had problems, that finding a shell32.dll line with an entry point 12345
which did not exist on shell32.dll, was an indication of malware. There was
no explanation there, of how the in-memory shell32.dll might be modified
to make use of an undefined entry point. And as far as I know, there's more
than one way to mess up a desktop.ini .

Sure, you can delete all desktop.ini, but as they are self-restoring, they
will only come back. The OS has to be "clean" for them to stay put and
remain sane. Maybe the AV removed the agent the desktop.ini pointed to,
and you're looking at the symptoms of an infection "partially knocked out"
by the AV package. Sometimes an AV leaves a mess for the administrator
to come in and mop up. Such as removing "indicator registry entries"
that help the AV detect the malware, and these are owned by TrustedInstaller
and as the admin you have to elevate to TrustedInstaller to remove those.
The admin has the impersonation rights, to copy the token from msiexec or
whatever, and then work as if being the TrustedInstaller.

   Paul
Technical Details
Message-ID: <11b8i30$3bj07$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11b7ufp$33f7m$1@dont-email.me> <11b81hd$34q1a$1@dont-email.me> <11b85f1$36f09$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Paul <nospam@needed.invalid>
Newsgroups: alt.comp.os.windows-10
Subject: Re: OT: Windows 7 Explorer hangs for some .docx and .xlsx files -
 very long
Date: Tue, 20 Oct 2026 16:14:24 -0400
Organization: A noiseless patient Spider
Lines: 64
Message-ID: <11b8i30$3bj07$1@dont-email.me>
References: <11b7ufp$33f7m$1@dont-email.me> <11b81hd$34q1a$1@dont-email.me>
 <11b85f1$36f09$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 20 Oct 2026 20:14:25 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3525639"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/v6RZ0iCIHrJ4UTccQbfZLf2hJhYBPH08="; posting-host="c02ccaa29b000da56671c09e5002a00b"
User-Agent: THIS SPACE FOR RENT
Cancel-Lock: sha1:WmC9LHxeRvI7xE+BeORZE78pdX0= sha256:BrR3Uf3VDIk3VmTS9cPSoy+dB73EdYb4WT4RNvZk2Vg=
	sha1:NUng76IGo+YT292wAsSqmQppSRs= sha256:WMa0xXJVYI00sA9mzd9TZn8UoVbVikmCsxcTEvQwv+s=
In-Reply-To: <11b85f1$36f09$1@dont-email.me>
Content-Language: en-US