[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  Windows UAC Virtualization headache nightmare.

Windows UAC Virtualization headache nightmare.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Amun   (4 posts)  [Biography] bio
Date Sat 04 Jul 2020 09:19 AM (UTC)
Message
Hey I just spent like 2 hours trying to figure out why my Mushclient could view all of my files inside of my MUSHClient directory, but I could not find them myself in my file explorer or even using an admin privilege command prompt.

To cut a very, very, very, very, very long (and very, very, very, very, very painful) story short, if you install MushClient into your programs folder, Windows lies to MushClient about its' active directory. For reasons. It's very convincing.

MushClient is actually running in your %APPDATA% directory, or something. Inside of "\Local\VirtualStore\Program Files (x86)\MUSHClient". So that's where it's saving the files to, and it's VERY hard to find them if you don't already know about all of this nonsensical "UAC Virtualization" garbage that I never voluntarily enabled but somehow it exists and made the last 2-3 hours of my life absolutely miserable.

Anyway, my bandaid solution was to set mushclient.exe to run as an administrator (I already did that before, but apparently I only did it to a shortcut, and I've recently been launching it from a DIFFERENT shortcut, I guess. . . . . .), and to move all of the files that I've been saving into that directory over the past week or so into the ACTUAL directory. Now all of my files are happy and live together. Huzzah.

I'm not sure whether it's something you'd be interested in investigating and fixing or not. I'm assuming this garbage isn't an issue if you don't actually "install" the program and just manually extract it to some directory that DOESN'T have "punish me daddy" settings turned on by Windows, or whatever. I don't know.

The last 3 hours have been very sad.
[Go to top] top

Posted by Nick Gammon   Australia  (23,000 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Sat 04 Jul 2020 11:22 AM (UTC)
Message
It's a known issue, but you would have to know to search for it. For example:

http://www.gammon.com.au/forum/?id=14626

Sorry about that.

Personally I think it is confusing the way Windows does that, but there it is.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Fiendish   USA  (2,518 posts)  [Biography] bio   Global Moderator
Date Reply #2 on Sat 04 Jul 2020 01:55 PM (UTC)

Amended on Sat 04 Jul 2020 01:58 PM (UTC) by Fiendish

Message
Quote:
I'm not sure whether it's something you'd be interested in investigating and fixing or not.

I don't know if there's actually anything that MUSHclient can do about this without breaking its convenient self-containment.

Nick, does your forum allow stickying threads?

Quote:
. I'm assuming this garbage isn't an issue if you don't actually "install" the program and just manually extract it to some directory that DOESN'T have "punish me daddy" settings turned on by Windows, or whatever. I don't know.

Yeah. I usually tell Aardwolf players to put their MUSHclient folder on their desktop because of this.

https://github.com/fiendish/aardwolfclientpackage
[Go to top] top

Posted by Nick Gammon   Australia  (23,000 posts)  [Biography] bio   Forum Administrator
Date Reply #3 on Sun 05 Jul 2020 12:37 AM (UTC)
Message
No, but I can add links or general HTML to the start of a section, like here for example:

http://www.gammon.com.au/forum/bbshowpost.php?bbtopic_id=7

Which post did you want to "sticky"?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Nick Gammon   Australia  (23,000 posts)  [Biography] bio   Forum Administrator
Date Reply #4 on Sun 05 Jul 2020 12:38 AM (UTC)
Message
Amun said:

I'm assuming this garbage isn't an issue if you don't actually "install" the program and just manually extract it to some directory that DOESN'T have "punish me daddy" settings turned on by Windows, or whatever. I don't know.


You can use the installer, just install to somewhere like "(My) Documents" or the Desktop.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Amun   (4 posts)  [Biography] bio
Date Reply #5 on Mon 06 Jul 2020 01:48 AM (UTC)
Message
Nick Gammon said:

You can use the installer, just install to somewhere like "(My) Documents" or the Desktop.


It may perhaps be worthwhile to have it default elsewhere than a protected directory, if possible - although I'm sure this is a relatively rare issue for people to run into. The inconsistency is derived from the fact that I used to execute the client through an administrative elevated shortcut (I believe), and recently have been launching it through a different one, lacking said permissions - and even only then presented an issue due to my wanting to edit files created by MUSHClient outside of MUSHClient, so it's probably a pretty hyper specific issue.

Perhaps having MUSHClient save data to an %APPDATA% folder, or something, would also avoid this problem - but I'm unsure whether that would present any other issues as well, and it would likely cause issues for more people than would resolve future issues in such an unlikely scenario as it may be able to do so.

Anyway, sorry to make much commotion about a relative nonissue. (:
[Go to top] top

Posted by Nick Gammon   Australia  (23,000 posts)  [Biography] bio   Forum Administrator
Date Reply #6 on Mon 06 Jul 2020 02:49 AM (UTC)
Message
Forcing a switch to a different folder may break existing plugins, so I am reluctant to make such changes.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Amun   (4 posts)  [Biography] bio
Date Reply #7 on Wed 15 Jul 2020 08:19 PM (UTC)
Message
I've realized that I've launched other applications that could recognize whether or not they've been launched with elevated administrative privileges. I'm unsure whether or not MUSHClient would be able to make that check, but it may be worth adding a little dialogue box (that has a 'never remind me again!' box) upon startup when detecting not launched in administrative mode (perhaps only if its run directory is one of these silly protected windows directories?) or not, and informing them of potential inconsistencies with file location if they elect to continue running their client without administrative permissions?
[Go to top] top

Posted by Nick Gammon   Australia  (23,000 posts)  [Biography] bio   Forum Administrator
Date Reply #8 on Fri 17 Jul 2020 09:24 PM (UTC)
Message
Interesting idea, I'll look into it.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


18,822 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]