1.    22 Aug 2015 #1
    Join Date : Aug 2015
    Posts : 89
    Windows 10 Pro

    Winamp Issues with winamp.m3u and permissions

    Hey guys,

    So far I've been less than impressed with Windows 10's system permissions. I am in the Administrators group, as the only user on my PC, but yet I still have to provide UAC confirmation any time I try to do anything system-related. A bit ironic, no?

    Well, for some programs this is a huge issue. I'm using an older version of Winamp to play my music (long story short, the new versions have a lot of shareware crap built in, since they stopped making it a free program and instead wanted you to pay...)
    It's an old program, probably from 2003 or something, but it's worked fine on every version of Windows so far. Rather than using %appdata%, it just stores its settings locally. Winamp.ini and winamp.m3u store the settings and location of most recently played file respectively, and they're located in C:/Program Files (x86)/Winamp

    Right, so here's the thing. I have a mIRC script that reads Winamp's activity, and can show what song I am playing. If I run the app normally, it will not modify winamp.m3u (even though I've already edited the permissions of that file and the entire Winamp folder so that Users have full control... shouldn't matter since I'm admin but I digress). If I do "run as administrator", play a song and close the program, the m3u DOES get updated with the new song's location. However... my mIRC script doesn't behave when I do that, since the script still runs as a normal user like any other program, and somehow it just takes the bitrate, filesize and filetype of whatever I was listening to when the script was first run.

    This whole situation, and subsequently the UAC prompts to do stuff on my own computer, when I am the sole ADMIN user, make me like:

    But anyway. I tried the compatibility wizard, which set it to XP SP3 compatibility. That seemed to work, as it was now able to run as a "standard user" but still modify that m3u... except now my mIRC script gets completely lost and cannot pull any data at all. It just keeps saying I'm listening to the same song I was listening to initially, even when it's a completely different file.

    All I know is that if I don't use compatibility mode, and I don't run the program as admin, it cannot modify the winamp.m3u file, and as a result my script does not work properly.

    Any idea how to fix this? I tried properties, security and gave Users full permission... but it doesn't seem to help. I'm now able to write and delete files to the folder without UAC prompts (which is as expected since I did change the permissions of the entire folder) but Winamp itself just cannot mess with that file.
      My System SpecsSystem Spec

  2.    23 Aug 2015 #2
    Join Date : Oct 2013
    A Finnish ex-pat in Germany
    Posts : 8,716
    Windows 10 Pro

    This is not a Windows 10 issue, it's working as it should, protecting the Program Files folder as designed. By default Windows protects the system folders with global security settings, everything placed for instance in Program Files and Program Files x86 folders inherit these global settings only giving users and groups permissions to Read, Read & execute and List folder contents.

    Your case is a typical example of this, another is for instance trying to save a text document from Notepad to Program Files or Windows folders; it won't work when Notepad is run normally giving Access Denied error, but can be done if Notepad is run as the built-in administrator.

    In your case it's not you as an admin user who should get the write permissions, it's (as far as I know) the group ALL APPLICATION PACKAGES:

    Click image for larger version. 

Name:	2015-08-23_12h22_54.png 
Views:	18 
Size:	17.2 KB 
ID:	33318

    However, I do not recommend changing the default security settings of system folders. A far more simple solution would be to reinstall the software in question in another location, not in a system folder. Install your older WinAmp for instance to D:\WinAmp and you should have no issues, subject to you being able to edit your mIRC script to change the location from where it retrieves the information.

      My System SpecsSystem Spec

  3.    23 Aug 2015 #3
    Join Date : Aug 2015
    Posts : 89
    Windows 10 Pro

    That didn't work. I gave full control to everything and it still won't let me modify that file unless I "run as admin"

    Click image for larger version. 

Name:	YwtnJ0g.png 
Views:	14 
Size:	15.4 KB 
ID:	33461

    It wasn't an issue on Windows 7 and I never used 8 so this is new to me. Super annoying, though.

    On that note, why does the built-in Administrator account get a pass while I don't? Can I make my account the same level of privileged as that one? I'd use that account instead of my own, but it can't run Metro apps...
      My System SpecsSystem Spec

  4.    28 Jan 2016 #4
    Join Date : Aug 2015
    Posts : 89
    Windows 10 Pro

    I know I made this post months ago, but I've finally figured it out.

    It has to do with "VirtualStore" in the local appdata directory. I'm not sure why, but when I run the program for the first time it puts some of the files in there instead of in the normal spot.

    Even after changing the permissions, it continued to use VirtualStore... so the easy solution was just to delete the files in VirtualStore.

    All I needed was to add my username to "full control" of the Winamp folder and viola.
      My System SpecsSystem Spec


Similar Threads
Thread Forum
Digging through my other data drive, I found my Winamp installer. Always loved kickin the Llamas ^%# :cool: 18722
Software and Apps
Winamp working again !!!!
Hi there I used to love this program --it failed on W8.1 with some sort of script error. Works on W10 build 10041 perfectly again. I know it's an OLD program but I really liked it and I haven't found anything nearly as good on modern apps...
Software and Apps
Winamp site is now closed. . .Good by old friend. . .:thumbsup:
Windows 10 News
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 07:03.
Find Us
Twitter Facebook Google+

Windows 10 Forums