On 05/07/2023 14:13, Jeff Gaines wrote:
I have raised this before and was pointed towards ICACLS which has been
a life saver, sorry can't remember who suggested it.
ICACLS can be dangerous. When I first discovered it I was playing with
the permissions on a service that ran as part of an application I was
using. I can't remember exactly what I was trying to do, but I ran
ICACLS on the service name without specifying any new permissions --
expecting it would just display the existing permissions -- and it took
all the permissions away. All of them. Including the permission needed
to set its permissions with ICACLS.
This was on a work PC, and nobody -- not even the domain administrator
-- could manage to set any permissions for that service. I couldn't use
the service in question, nor delete or deinstall it. Fortunately the
admin saw the funny side.
It is (or was then, this was 10+ years ago) a prime example of why
Microsoft should NOT be allowed to publish software.
I have a suspicion that it is because I keep my data on the "D" drive
and Win 10 works on numbers (?SID) not names so the "jeff" from the
previous install is not recognised as the "jeff" from the new
install.
Yeah, Windows doesn't like it if you try to transfer a second drive
between systems with different user hierarchies. There is a 'right' way
to manage this, which is to make both systems (in your case the original
and the reinstall) part of the same Windows domain (which means running
a domain controller to handle identities). That way the user with the
same name gets the same SID on both systems and everything just works.
Obviously, you haven't done that, so it's not a lot of help :-(
Perhaps the law of unintended consequences at work? I don't remember
issue like this on Win 8, is it Win 10 obtrusiveness causing the
issue I wonder?
I've seen exactly that problem on earlier NT-based systems. For examole,
when a family member bought a new PC and wanted to attach the C drive
from the old PC as a second HDD to transfer data. Although the main user
was called "Fred" (not her real name) on both PCs the account SIDs were different so the new PC didn't have access to files on the old PC. This
was using XP (on both machines).
It's a facet of the way permissions are managed in NTFS. You don't have
this problem with FAT.
--
Cheers,
Daniel.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)