Since the problem is that you have added registry entries to hide the
Administrator account, you have basically managed to make unavailable your
only enabled administrator account. For reasons you have already found out,
Windows takes special care to ensure that there
is always at least one such functioning account,
but you have found one way of circumventing all these safeguards.
So basically the problem is narrowed down to how to delete these registry
entries without using regedit.
They are found in the registry at the key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList
.
Deleting the whole SpecialAccounts
branch is probably the best.
There are numerous ways of modifying the registry in an unrestricted manner
and without booting into Windows and numerous articles describing them.
For example, this article details four such methods :
4 Ways to Edit Registry Key Values Without Booting into Windows.
- PC Regedit
- Hiren’s Boot CD and its Mini Windows XP feature
- Lazesoft Recovery Suite Home
- UBCD4Win
A fifth method, if you have a
Windows installation disk or a System Repair Disc, is to boot from it into the
Command Prompt and use regedit. See the article
How to Reset a Windows Password in Regedit at Boot.
However, all of the above methods involve using a boot CD/USB.
If, as you say, you currently don't have access to that,
you are in a bad way. Please explain why you have that restriction.
Without being able to boot a CD or USB,
the only other solution I can think of is to take
the Windows system disk out of the computer, add it as a secondary disk in a
functioning Windows 7 computer, and use its regedit to open the
HKEY_LOCAL_MACHINE hive and delete the SpecialAccounts branch,
as described in
Load or Unload Registry Hives.
The HKEY_LOCAL_MACHINE\SOFTWARE hive is located in the file \Windows\System32\config\SOFTWARE
.
You need to open regedit, click on HKEY_LOCAL_MACHINE, then use the menu
File -> Load Hive command. After editing, use File -> Unload Hive.
Best Answer
Apps installed in the regular Applications folder are accessible to all users. I think it may be a limitation of Spotify itself that it doesn't recognise if a different user is front-most, but there's a workaround.
Switch back into your account on the affected Mac [you may need to log all other users out before you can do this, haven't tested]
Quit Spotify.
Open your Applications folder & scroll to the Spotify app.
Then open
/Users/[yourname]/Applications
Drag Spotify from one to the other, whilst holding Cmd ⌘ [otherwise it will make an alias.]
Relaunch Spotify.
The app should now only be available to you.
I don't see a 'now playing' item in the menu bar [I'm on Mojave] so I can't test for that, but the app should now be unavailable to any other user.
Further investigation finds there are several 3rd party apps to add the menu icon, Spotify itself doesn't have one [unless it was added for the M1 build, which I can't test]
That may make the above workaround invalid. Instead you may have to do the same to the menu bar app.