Discussion:
Cannot play audio or video files on Windows 7
(too old to reply)
s***@home.net
2024-08-26 14:41:01 UTC
Permalink
I'm using Windows 7 Ultimate.

Neither Windows Media Player nor VLC can play any audio or video file.
I keep getting the following error message.

"Windows Media Player cannot access the file. The file might be in
use, you might not have access to the computer where the file is
stored or your proxy settings might not be correct"

I also did download the K-Lite Codec pack to see if that was the
problem. It wasn't.

Anyone have any idea what the hey is wrong?
David E. Ross
2024-08-26 15:48:55 UTC
Permalink
Post by s***@home.net
I'm using Windows 7 Ultimate.
Neither Windows Media Player nor VLC can play any audio or video file.
I keep getting the following error message.
"Windows Media Player cannot access the file. The file might be in
use, you might not have access to the computer where the file is
stored or your proxy settings might not be correct"
I also did download the K-Lite Codec pack to see if that was the
problem. It wasn't.
Anyone have any idea what the hey is wrong?
What message do you get from VLC? Also, what file extensions are giving
VLC trouble?

Note that Microsoft has deprecated Windows Media Player and no longer
updates or distributes it.
--
David E. Ross
<http://www.rossde.com/>

Demonstrators worldwide are demanding that Israel stop
fighting in Gaza. Why does it seem that no one is demanding
that Hamas stop fighting? And where are the demonstrations
against Russia fighting in the Ukraine.
s***@home.net
2024-08-26 16:33:55 UTC
Permalink
On Mon, 26 Aug 2024 08:48:55 -0700, "David E. Ross"
Post by David E. Ross
Post by s***@home.net
I'm using Windows 7 Ultimate.
Neither Windows Media Player nor VLC can play any audio or video file.
I keep getting the following error message.
"Windows Media Player cannot access the file. The file might be in
use, you might not have access to the computer where the file is
stored or your proxy settings might not be correct"
I also did download the K-Lite Codec pack to see if that was the
problem. It wasn't.
Anyone have any idea what the hey is wrong?
What message do you get from VLC? Also, what file extensions are giving
VLC trouble?
The exact same message I quoted in my original post.
Post by David E. Ross
Post by s***@home.net
"Windows Media Player cannot access the file. The file might be in
use, you might not have access to the computer where the file is
stored or your proxy settings might not be correct"
I get the same message after installing and trying to use VLC.
Post by David E. Ross
Note that Microsoft has deprecated Windows Media Player and no longer
updates or distributes it.
it came with my Windows 7 computer.

This whole thing makes no sense. That is why I stay with my XP
computer and use 7 only for sites blocking XP. However, I would like
to play my thousands of mp3 and video files on 7 if my XP goes bye-bye
on me. (The media files are on separate drives from the C:, so
they'll be safe if XP punks out.)
David E. Ross
2024-08-26 18:29:21 UTC
Permalink
Post by s***@home.net
On Mon, 26 Aug 2024 08:48:55 -0700, "David E. Ross"
Post by David E. Ross
Post by s***@home.net
I'm using Windows 7 Ultimate.
Neither Windows Media Player nor VLC can play any audio or video file.
I keep getting the following error message.
"Windows Media Player cannot access the file. The file might be in
use, you might not have access to the computer where the file is
stored or your proxy settings might not be correct"
I also did download the K-Lite Codec pack to see if that was the
problem. It wasn't.
Anyone have any idea what the hey is wrong?
What message do you get from VLC? Also, what file extensions are giving
VLC trouble?
The exact same message I quoted in my original post.
Post by David E. Ross
Post by s***@home.net
"Windows Media Player cannot access the file. The file might be in
use, you might not have access to the computer where the file is
stored or your proxy settings might not be correct"
I get the same message after installing and trying to use VLC.
Post by David E. Ross
Note that Microsoft has deprecated Windows Media Player and no longer
updates or distributes it.
it came with my Windows 7 computer.
This whole thing makes no sense. That is why I stay with my XP
computer and use 7 only for sites blocking XP. However, I would like
to play my thousands of mp3 and video files on 7 if my XP goes bye-bye
on me. (The media files are on separate drives from the C:, so
they'll be safe if XP punks out.)
VLC would definitely NOT throw up an error message that cites Windows
Media Player.

I also have Windows 7. When Micro$oft deprecated Windows Media Player,
I removed it. I suggest you do the same.

An alternative audio and video player is WACUP from
<https://getwacup.com/>. I think it is better than Winamp, on which it
is based.
--
David E. Ross
<http://www.rossde.com/>

Demonstrators worldwide are demanding that Israel stop
fighting in Gaza. Why does it seem that no one is demanding
that Hamas stop fighting? And where are the demonstrations
against Russia fighting in the Ukraine.
Mark Lloyd
2024-08-26 20:32:01 UTC
Permalink
On Mon, 26 Aug 2024 11:29:21 -0700, David E. Ross wrote:

[snip]
Post by David E. Ross
I also have Windows 7. When Micro$oft deprecated Windows Media Player,
I removed it. I suggest you do the same.
I don't use Windows Media Player, the same way I don't use Windows
internet programs (for Web, Mail, etc...).
Post by David E. Ross
An alternative audio and video player is WACUP from
<https://getwacup.com/>. I think it is better than Winamp, on which it
is based.
--
Mark Lloyd
http://notstupid.us/

"Generally speaking, the errors in religion are dangerous; those in
philosophy only ridiculous." [David Hume, Treatise of Human Nature
(1739)]
s***@home.net
2024-08-26 22:04:38 UTC
Permalink
Post by Mark Lloyd
[snip]
Post by David E. Ross
I also have Windows 7. When Micro$oft deprecated Windows Media Player,
I removed it. I suggest you do the same.
How do I do that? As I said in an earlier reply: It doesn't exist in
Control Panel Uninstall, nor is there an uninstall file in it's
directory.
Post by Mark Lloyd
I don't use Windows Media Player, the same way I don't use Windows
internet programs (for Web, Mail, etc...).
Post by David E. Ross
An alternative audio and video player is WACUP from
<https://getwacup.com/>. I think it is better than Winamp, on which it
is based.
I tried an alternative. Win Media keeps giving me an error message -
which I posted in my original post.
s***@home.net
2024-08-26 21:46:42 UTC
Permalink
On Mon, 26 Aug 2024 11:29:21 -0700, "David E. Ross"
Post by David E. Ross
Post by s***@home.net
On Mon, 26 Aug 2024 08:48:55 -0700, "David E. Ross"
Post by David E. Ross
Post by s***@home.net
I'm using Windows 7 Ultimate.
Neither Windows Media Player nor VLC can play any audio or video file.
I keep getting the following error message.
"Windows Media Player cannot access the file. The file might be in
use, you might not have access to the computer where the file is
stored or your proxy settings might not be correct"
I also did download the K-Lite Codec pack to see if that was the
problem. It wasn't.
Anyone have any idea what the hey is wrong?
What message do you get from VLC? Also, what file extensions are giving
VLC trouble?
The exact same message I quoted in my original post.
Post by David E. Ross
Post by s***@home.net
"Windows Media Player cannot access the file. The file might be in
use, you might not have access to the computer where the file is
stored or your proxy settings might not be correct"
I get the same message after installing and trying to use VLC.
Post by David E. Ross
Note that Microsoft has deprecated Windows Media Player and no longer
updates or distributes it.
it came with my Windows 7 computer.
This whole thing makes no sense. That is why I stay with my XP
computer and use 7 only for sites blocking XP. However, I would like
to play my thousands of mp3 and video files on 7 if my XP goes bye-bye
on me. (The media files are on separate drives from the C:, so
they'll be safe if XP punks out.)
VLC would definitely NOT throw up an error message that cites Windows
Media Player.
But it does. :o(
Post by David E. Ross
I also have Windows 7. When Micro$oft deprecated Windows Media Player,
I removed it. I suggest you do the same.
It does not show in the remove a program inside Control Panel. Nor is
there an uninstall file in it's Program Files directory.
Post by David E. Ross
An alternative audio and video player is WACUP from
<https://getwacup.com/>. I think it is better than Winamp, on which it
is based.
I did install VLC as a replacement for Windows Media Player. It *is*
associated with mp3 files, but I keep getting that dang Windows error
message when trying to use VLC. Win Media is determined *it* and only
it is going to play an mp3 - but can't because of that senseless Win
Media error message.

I don't blame you if you think I'm having a delusion. I'm kinda
leaning that way myself. (Oh, for the good ol' days and sensible XP.)
Paul
2024-08-27 05:11:02 UTC
Permalink
Post by s***@home.net
I did install VLC as a replacement for Windows Media Player. It *is*
associated with mp3 files, but I keep getting that dang Windows error
message when trying to use VLC. Win Media is determined *it* and only
it is going to play an mp3 - but can't because of that senseless Win
Media error message.
I don't see a reason to go on a rampage quite yet.

We're researching a permissions problem.

Tell us again, where the files started life. Is this a drive
that WinXP was using, and you carried it over and plugged it
into the Windows 7 machine.

It would be roughly the same scenario, if you dual booted on
a single machine, WinXP put some files on the data drive,
and Windows 7 was trying to read them back.

*******

OK, Win 7. Let's try a test.

Go here.

C:\Users\Public\Videos\Sample Videos\

Wildlife.wmv 26,246,026 bytes

Try to open that with WMP or with VLC. 30 seconds long.

That file is set to Everyone:Full Control.

Paul
s***@home.net
2024-08-27 05:53:41 UTC
Permalink
Post by Paul
Post by s***@home.net
I did install VLC as a replacement for Windows Media Player. It *is*
associated with mp3 files, but I keep getting that dang Windows error
message when trying to use VLC. Win Media is determined *it* and only
it is going to play an mp3 - but can't because of that senseless Win
Media error message.
I don't see a reason to go on a rampage quite yet.
We're researching a permissions problem.
Tell us again, where the files started life. Is this a drive
that WinXP was using, and you carried it over and plugged it
into the Windows 7 machine.
This computer was put together by a local computer repair shop. I buy
computers built to my needs. How many USB outlets, what kind of DVD,
my memory requirement, etc. It was supposed to have brand new hard
drives. Did they cheat and wipe a used XP drive and place Windows 7
on it? I have no idea.
Post by Paul
It would be roughly the same scenario, if you dual booted on
a single machine, WinXP put some files on the data drive,
and Windows 7 was trying to read them back.
*******
OK, Win 7. Let's try a test.
Go here.
C:\Users\Public\Videos\Sample Videos\
Wildlife.wmv 26,246,026 bytes
Try to open that with WMP or with VLC. 30 seconds long.
That file is set to Everyone:Full Control.
Paul
That directory is empty. I don't know if any files were in it or I
deleted the files for some reason or other.

Anyway, i'm gone for today. Time for bed.

Thanks for all your trying.
Paul
2024-08-27 06:58:15 UTC
Permalink
Post by s***@home.net
Post by Paul
OK, Win 7. Let's try a test.
Go here.
C:\Users\Public\Videos\Sample Videos\
Wildlife.wmv 26,246,026 bytes
Try to open that with WMP or with VLC. 30 seconds long.
That file is set to Everyone:Full Control.
Paul
That directory is empty. I don't know if any files were in it or I
deleted the files for some reason or other.
Anyway, i'm gone for today. Time for bed.
Thanks for all your trying.
https://archive.org/details/Wildlife_201710

https://ia804609.us.archive.org/7/items/Wildlife_201710/Wildlife.wmv

Do Properties and clear the download marker at the bottom, so
there's no chance of that breaking something. Ticking the tick box
removes the alternate stream that records the Internet Zone used
for the download.

[Picture]

Loading Image...

Paul
s***@home.net
2024-08-31 20:02:52 UTC
Permalink
Post by Paul
Post by s***@home.net
Post by Paul
OK, Win 7. Let's try a test.
Go here.
C:\Users\Public\Videos\Sample Videos\
Wildlife.wmv 26,246,026 bytes
Try to open that with WMP or with VLC. 30 seconds long.
That file is set to Everyone:Full Control.
Paul
That directory is empty. I don't know if any files were in it or I
deleted the files for some reason or other.
Anyway, i'm gone for today. Time for bed.
Thanks for all your trying.
https://archive.org/details/Wildlife_201710
https://ia804609.us.archive.org/7/items/Wildlife_201710/Wildlife.wmv
Do Properties and clear the download marker at the bottom, so
there's no chance of that breaking something. Ticking the tick box
removes the alternate stream that records the Internet Zone used
for the download.
[Picture]
https://i.postimg.cc/zvt2mQT8/unblock-the-sample-file.gif
Paul
I uninstalled VLC. I downloaded it again - VLC 3.0.21 for Windows 64
bits.

I reinstalled it.

I then went through the Windows program default settings to reset VLC
as the default for all the bunches and bunches of audio/video
extensions. That's a tedious p.i.a., but it workied! My audio and
video files now play with no problem.

Thanks, Paul - and the rest who tried helping.

Whew! Done! Finished!

VanguardLH
2024-08-27 05:41:37 UTC
Permalink
Post by s***@home.net
On Mon, 26 Aug 2024 11:29:21 -0700, "David E. Ross"
Post by David E. Ross
Post by s***@home.net
On Mon, 26 Aug 2024 08:48:55 -0700, "David E. Ross"
Post by David E. Ross
Post by s***@home.net
I'm using Windows 7 Ultimate.
Neither Windows Media Player nor VLC can play any audio or video file.
I keep getting the following error message.
"Windows Media Player cannot access the file. The file might be in
use, you might not have access to the computer where the file is
stored or your proxy settings might not be correct"
I also did download the K-Lite Codec pack to see if that was the
problem. It wasn't.
Anyone have any idea what the hey is wrong?
What message do you get from VLC? Also, what file extensions are giving
VLC trouble?
The exact same message I quoted in my original post.
Post by David E. Ross
Post by s***@home.net
"Windows Media Player cannot access the file. The file might be in
use, you might not have access to the computer where the file is
stored or your proxy settings might not be correct"
I get the same message after installing and trying to use VLC.
Post by David E. Ross
Note that Microsoft has deprecated Windows Media Player and no longer
updates or distributes it.
it came with my Windows 7 computer.
This whole thing makes no sense. That is why I stay with my XP
computer and use 7 only for sites blocking XP. However, I would like
to play my thousands of mp3 and video files on 7 if my XP goes bye-bye
on me. (The media files are on separate drives from the C:, so
they'll be safe if XP punks out.)
VLC would definitely NOT throw up an error message that cites Windows
Media Player.
But it does. :o(
Post by David E. Ross
I also have Windows 7. When Micro$oft deprecated Windows Media Player,
I removed it. I suggest you do the same.
It does not show in the remove a program inside Control Panel. Nor is
there an uninstall file in it's Program Files directory.
Post by David E. Ross
An alternative audio and video player is WACUP from
<https://getwacup.com/>. I think it is better than Winamp, on which it
is based.
I did install VLC as a replacement for Windows Media Player. It *is*
associated with mp3 files, but I keep getting that dang Windows error
message when trying to use VLC. Win Media is determined *it* and only
it is going to play an mp3 - but can't because of that senseless Win
Media error message.
I don't blame you if you think I'm having a delusion. I'm kinda
leaning that way myself. (Oh, for the good ol' days and sensible XP.)
You have not yet divulged just HOW you play the media file.
Double-clicking on it in File Explorer, using a shortcut, opening VLC
and using VLC's file menu to select the file, throwing darts at your
monitor, WHAT? You just look at the screen, and your computer magically
divines what media file you want to view?
VanguardLH
2024-08-26 16:48:42 UTC
Permalink
Post by s***@home.net
I'm using Windows 7 Ultimate.
Neither Windows Media Player nor VLC can play any audio or video file.
I keep getting the following error message.
"Windows Media Player cannot access the file. The file might be in
use, you might not have access to the computer where the file is
stored or your proxy settings might not be correct"
I also did download the K-Lite Codec pack to see if that was the
problem. It wasn't.
Anyone have any idea what the hey is wrong?
Did you try loading the media player first to use its file menu to
browse to and select the file to play? First load VLC to then use its
file menu to open a file. Depending on which edition of K-Lite Codec
Pack you installed, some come with Media Player Classic (MPC). You can
also load MPC to see if using its file menu lets you play a video file.

If double-clicking, your filetype association might still be pointing to
the Windows Media Player instead of VLC. Instead of using double-click
to use filetype association to decide which media player use, test if
the media players can load and play the file.
VanguardLH
2024-08-27 03:58:26 UTC
Permalink
Post by VanguardLH
Post by s***@home.net
I also did download the K-Lite Codec pack to see if that was the
problem. It wasn't.
Did you try loading the media player first to use its file menu to
browse to and select the file to play? First load VLC to then use its
file menu to open a file.
By the way, installing the K-Lite Codec Pack installs them globally.
VLC doesn't use the global codecs. It has its own private codec
library. The only way you get new codecs for VLC is to get a newer
version of VLC. Other media players (e.g., MPC) use the global codecs.
Newyana2
2024-08-26 17:05:05 UTC
Permalink
Post by s***@home.net
I'm using Windows 7 Ultimate.
Neither Windows Media Player nor VLC can play any audio or video file.
I keep getting the following error message.
"Windows Media Player cannot access the file. The file might be in
use, you might not have access to the computer where the file is
stored or your proxy settings might not be correct"
I also did download the K-Lite Codec pack to see if that was the
problem. It wasn't.
Anyone have any idea what the hey is wrong?
Try dropping the file onto the VLC window. If it works then
open the settings and change the default file types for VLC.
VLC in Win7 should be able to take over default program
status. If not then you might have to edit the Registry directly.

Example: In HKCR\.mp4 I have a default value of "VLC.mp4"
I then look up HKCR\VLC.mp4\

Under the shell\open\command key I find the default value:
"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --started-from-file "%1"

That's how all default programs work. The file extension key
points to a "class name", which has a shell\open\command
key tree that tells Windows what opens that kind of file.
s***@home.net
2024-08-26 21:14:28 UTC
Permalink
Post by Newyana2
Post by s***@home.net
I'm using Windows 7 Ultimate.
Neither Windows Media Player nor VLC can play any audio or video file.
I keep getting the following error message.
"Windows Media Player cannot access the file. The file might be in
use, you might not have access to the computer where the file is
stored or your proxy settings might not be correct"
I also did download the K-Lite Codec pack to see if that was the
problem. It wasn't.
Anyone have any idea what the hey is wrong?
Try dropping the file onto the VLC window. If it works then
open the settings and change the default file types for VLC.
VLC in Win7 should be able to take over default program
status. If not then you might have to edit the Registry directly.
VLC is the default for mp3.
Post by Newyana2
Example: In HKCR\.mp4 I have a default value of "VLC.mp4"
I then look up HKCR\VLC.mp4\
"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --started-from-file "%1"
That's how all default programs work. The file extension key
points to a "class name", which has a shell\open\command
key tree that tells Windows what opens that kind of file.
That registry stuff is a bit beyond me.

Thanks for trying.
Paul
2024-08-26 19:36:19 UTC
Permalink
Post by s***@home.net
I'm using Windows 7 Ultimate.
Neither Windows Media Player nor VLC can play any audio or video file.
I keep getting the following error message.
"Windows Media Player cannot access the file. The file might be in
use, you might not have access to the computer where the file is
stored or your proxy settings might not be correct"
I also did download the K-Lite Codec pack to see if that was the
problem. It wasn't.
Anyone have any idea what the hey is wrong?
Now, see, this is an example of an absolutely useless error message.

In the past, we would get some information such as:

"Cannot open C:\users\joanne\Downloads\sample.mp4

Error 5 "

I would look at that and conclude Sam is a different person than Joanne,
Sam has tried to access a file "owned" by a different person. Codes
ending in "5" tend to be permission problems.

When comparing the behavior of WinXP to Windows 7, WinXP could be
installed on FAT32 as well as NTFS. If installed on FAT32 (which doesn't
have permissions or ACLs or stuff of that nature), Sam could access
Joannes files any time Sam wanted. That's a "flat access model"
with no privacy at all. Not really a multi-user environment as such.

Windows 7 installs on NTFS, and NTFS definitely has permissions and
ownership. We may be deceived, by running an account which is
a member of Administrators group, that we can do whatever we want,
like it was some WinXP situation. But that's not really going to always
be the case. If I go to Control Panels, and use the thing for user account
changes, I could make accounts without Administrator.

As an example, one of my installs has a user called LowBoy. That's an
account without Administrator. If I need to investigate a permissions
situation, I would log in as LowBoy and... see what works. LowBoy
account cannot install software. LowBoy account cannot read Joannes
files with VLC. LowBoy is such a sad cowboy because "nothing works".

But the experience is valuable, because in business environments, all
the regular staff are "LowBoy" and they can't do anything. Maybe I
could attach "sample.mp4" to an email and send it to you, and that
offers an opportunity for the software to stamp the ownership
with "LowBoy" so I can open the sample.

*******

When they make utilities for this, the utility "does not solve any problems".
I can hardly tell the difference, looking at this, how this differs
from the Security tab of the file Properties display.

https://learn.microsoft.com/en-us/sysinternals/downloads/accessenum

While that could display some information for you, and hint at
why VLC cannot open a file, I at least am too thick to spot
a pattern in there that I can use to solve a problem.

*******

If you bring over a hard drive from the WinXP machine, even if the
ownership of the NTFS file was "Sam" on the WinXP machine, and
you are logged in as "Sam" on the Windows 7 machine, those
two accounts have different SIDs (non-domain environment).
This means, you may discover that you have no access to the files
on the data partition from WinXP.

The way NTFS works, is a file can have multiple owners. You can
in fact, have both "ForeignSam" and "LocalSam" own the file at the same
time and access it. We need Takeown for this.

itsmine.cmd
-----------

takeown /f %1 /r /d y
icacls %1 /grant administrators:F /t

Do NOT apply that command to the top of C: !
Permanent damage could result. It's for D: data-only partitions.

That command is appropriate for selected work on a disk drive
imported from another machine (and not their Windows partition either).

When you belong to Administrators group, there is an "implicit Takeown"
when you attempt to click on folders on the foreign partition. In cases
like that, you are saved the trouble of changing the permissions manually.

*******

I would estimate the permissions model is fifty years behind the
rest of the software. The computer should be able to explain to you,
what is happening and why something does not work. There's no need
for every situation on the machine to be turned into a puzzle.

As an example, this command records the permissions in a text file for later.
On a data partition, the "DErr.txt" will be almost empty, because there aren't
a lot of "challenges" on data drives. It's when you run the command on C:
that the error file has 50+ entries in it (could be reparse points).

icacls d:\ /save "DPerms.txt" /t /c > "DErr.txt" 2>&1

Permissions can be played back too. This allows a person as administrator,
to make a mess, and then "clean up before they leave". Things which caused
errors, the playback can't do anything about them (it won't be trying to
change any reparse points perhaps).

Movies
D:(A;ID;FA;;;BA)(A;OICIIOID;GA;;;BA)(A;ID;FA;;;SY)(A;OICIIOID;GA;;;SY)(A;ID;0x1301bf;;;AU)(A;OICIIOID;SDGXGWGR;;;AU)(A;ID;0x1200a9;;;BU)(A;OICIIOID;GXGR;;;BU)

Movies\sample.mp4
D:(A;ID;FA;;;BA)(A;ID;FA;;;SY)(A;ID;0x1301bf;;;AU)(A;ID;0x1200a9;;;BU)

When I look at the Security tab on "sample.mp4", the order of the entries is:

Authenticated Users <=== AU
SYSTEM <=== SY
Administrators BA?
Users BU?

The Administrator has Full control, so "FA" must be "Full Access".

Some of the abbreviations make a bit of sense, but generally speaking,
interpreting this is just about impossible. The examples are the
simplest of cases. They could be "yards long" in your daily job
as an IT guy. They also put "long recognizable strings" instead of
abbrevations in that file, and when you see a file cluttered with
those, one of your eyeballs will fall out :-)

That's a very quick trip, into permissions.

When ForeignSam owns a file, and you check the ownership, instead of "Sam"
the identifier is a number such as the "thing" on the end here. First of
all, when you install the OS, the user accounts are assigned starting from 1000.
So 1001, it makes sense that ForeignSam might have a low number like 1001.
The three clusters of digits, are randomly defined during OS install time.
The S-1-5-21 is a canonical part. There is a list of "well-known SIDs" that
help an Administrator understand this format of ownership.

(A;OICI;FA;;;S-1-5-21-3403405434-1121005857-2491829107-1001)

You almost need a continuing education course, to help you decode pages like this.

https://learn.microsoft.com/en-us/windows/win32/secauthz/well-known-sids

Summary: When a file won't open, there could be a reason.
Don't ask me to explain it though. I need a course!
I like it better when there is a path and an error code.

Paul
s***@home.net
2024-08-26 21:59:10 UTC
Permalink
Post by Paul
Post by s***@home.net
I'm using Windows 7 Ultimate.
Neither Windows Media Player nor VLC can play any audio or video file.
I keep getting the following error message.
"Windows Media Player cannot access the file. The file might be in
use, you might not have access to the computer where the file is
stored or your proxy settings might not be correct"
I also did download the K-Lite Codec pack to see if that was the
problem. It wasn't.
Anyone have any idea what the hey is wrong?
Now, see, this is an example of an absolutely useless error message.
"Cannot open C:\users\joanne\Downloads\sample.mp4
Error 5 "
I would look at that and conclude Sam is a different person than Joanne,
Sam has tried to access a file "owned" by a different person. Codes
ending in "5" tend to be permission problems.
When comparing the behavior of WinXP to Windows 7, WinXP could be
installed on FAT32 as well as NTFS. If installed on FAT32 (which doesn't
have permissions or ACLs or stuff of that nature), Sam could access
Joannes files any time Sam wanted. That's a "flat access model"
with no privacy at all. Not really a multi-user environment as such.
Windows 7 installs on NTFS, and NTFS definitely has permissions and
ownership. We may be deceived, by running an account which is
a member of Administrators group, that we can do whatever we want,
like it was some WinXP situation. But that's not really going to always
be the case. If I go to Control Panels, and use the thing for user account
changes, I could make accounts without Administrator.
As an example, one of my installs has a user called LowBoy. That's an
account without Administrator. If I need to investigate a permissions
situation, I would log in as LowBoy and... see what works. LowBoy
account cannot install software. LowBoy account cannot read Joannes
files with VLC. LowBoy is such a sad cowboy because "nothing works".
But the experience is valuable, because in business environments, all
the regular staff are "LowBoy" and they can't do anything. Maybe I
could attach "sample.mp4" to an email and send it to you, and that
offers an opportunity for the software to stamp the ownership
with "LowBoy" so I can open the sample.
*******
When they make utilities for this, the utility "does not solve any problems".
I can hardly tell the difference, looking at this, how this differs
from the Security tab of the file Properties display.
https://learn.microsoft.com/en-us/sysinternals/downloads/accessenum
While that could display some information for you, and hint at
why VLC cannot open a file, I at least am too thick to spot
a pattern in there that I can use to solve a problem.
*******
If you bring over a hard drive from the WinXP machine, even if the
ownership of the NTFS file was "Sam" on the WinXP machine, and
you are logged in as "Sam" on the Windows 7 machine, those
two accounts have different SIDs (non-domain environment).
This means, you may discover that you have no access to the files
on the data partition from WinXP.
The way NTFS works, is a file can have multiple owners. You can
in fact, have both "ForeignSam" and "LocalSam" own the file at the same
time and access it. We need Takeown for this.
itsmine.cmd
-----------
takeown /f %1 /r /d y
icacls %1 /grant administrators:F /t
Do NOT apply that command to the top of C: !
Permanent damage could result. It's for D: data-only partitions.
That command is appropriate for selected work on a disk drive
imported from another machine (and not their Windows partition either).
When you belong to Administrators group, there is an "implicit Takeown"
when you attempt to click on folders on the foreign partition. In cases
like that, you are saved the trouble of changing the permissions manually.
*******
I would estimate the permissions model is fifty years behind the
rest of the software. The computer should be able to explain to you,
what is happening and why something does not work. There's no need
for every situation on the machine to be turned into a puzzle.
As an example, this command records the permissions in a text file for later.
On a data partition, the "DErr.txt" will be almost empty, because there aren't
that the error file has 50+ entries in it (could be reparse points).
icacls d:\ /save "DPerms.txt" /t /c > "DErr.txt" 2>&1
Permissions can be played back too. This allows a person as administrator,
to make a mess, and then "clean up before they leave". Things which caused
errors, the playback can't do anything about them (it won't be trying to
change any reparse points perhaps).
Movies
D:(A;ID;FA;;;BA)(A;OICIIOID;GA;;;BA)(A;ID;FA;;;SY)(A;OICIIOID;GA;;;SY)(A;ID;0x1301bf;;;AU)(A;OICIIOID;SDGXGWGR;;;AU)(A;ID;0x1200a9;;;BU)(A;OICIIOID;GXGR;;;BU)
Movies\sample.mp4
D:(A;ID;FA;;;BA)(A;ID;FA;;;SY)(A;ID;0x1301bf;;;AU)(A;ID;0x1200a9;;;BU)
Authenticated Users <=== AU
SYSTEM <=== SY
Administrators BA?
Users BU?
The Administrator has Full control, so "FA" must be "Full Access".
Some of the abbreviations make a bit of sense, but generally speaking,
interpreting this is just about impossible. The examples are the
simplest of cases. They could be "yards long" in your daily job
as an IT guy. They also put "long recognizable strings" instead of
abbrevations in that file, and when you see a file cluttered with
those, one of your eyeballs will fall out :-)
That's a very quick trip, into permissions.
When ForeignSam owns a file, and you check the ownership, instead of "Sam"
the identifier is a number such as the "thing" on the end here. First of
all, when you install the OS, the user accounts are assigned starting from 1000.
So 1001, it makes sense that ForeignSam might have a low number like 1001.
The three clusters of digits, are randomly defined during OS install time.
The S-1-5-21 is a canonical part. There is a list of "well-known SIDs" that
help an Administrator understand this format of ownership.
(A;OICI;FA;;;S-1-5-21-3403405434-1121005857-2491829107-1001)
You almost need a continuing education course, to help you decode pages like this.
https://learn.microsoft.com/en-us/windows/win32/secauthz/well-known-sids
Summary: When a file won't open, there could be a reason.
Don't ask me to explain it though. I need a course!
I like it better when there is a path and an error code.
Paul
Why do the Redmond Morons think that every computer user should be
technically informed? Do car dealers insist I need to know car repair
before they will sell me a car?

This Administrator crap - among a bunch load of other stuff - is
simple XP totally ruined for the average non-technical computer user -
who is in the majority over the tech inclined by the billions
world-wide.
Nil
2024-08-27 00:45:28 UTC
Permalink
Post by s***@home.net
Why do the Redmond Morons think that every computer user should be
technically informed? Do car dealers insist I need to know car
repair before they will sell me a car?
This Administrator crap - among a bunch load of other stuff - is
simple XP totally ruined for the average non-technical computer
user - who is in the majority over the tech inclined by the
billions world-wide.
A computer and operating system is not a toaster. There is more to it
than pressing one button and your heart's desire is produced. You're
lucky that it's presented in as simplified form as it is. Unexpected
things are bound to happen. Rather than whining, perhaps it's better to
ask for help and heed the advice you receive. What's that saying about
how 'the Lord helps those who help themselves'?
David E. Ross
2024-08-27 02:43:30 UTC
Permalink
Post by s***@home.net
I'm using Windows 7 Ultimate.
Neither Windows Media Player nor VLC can play any audio or video file.
I keep getting the following error message.
"Windows Media Player cannot access the file. The file might be in
use, you might not have access to the computer where the file is
stored or your proxy settings might not be correct"
I also did download the K-Lite Codec pack to see if that was the
problem. It wasn't.
Anyone have any idea what the hey is wrong?
It appears that your problem results from WMP being the default
application to play audio and video files, even if WMP no longer exists.
You can use VLC to change the defaults, as follows:

1. Open Control Panel.

2. Select Default Programs.

3. Select "Set your default programs".

4. On the list of programs on the left side of the window, select VLC
and then "Choose defaults for this program". NOTE WELL: You might
cause yourself much grief if you select "Set this program as default".

5. Either select the Select All checkbox, or slse scroll through file
types and select the checkboxes for individual file types. Then select
the Save button in the lower left-corner.

6. Close the various Control Panel windows that you opened.
--
David E. Ross
<http://www.rossde.com/>

Demonstrators worldwide are demanding that Israel stop
fighting in Gaza. Why does it seem that no one is demanding
that Hamas stop fighting? And where are the demonstrations
against Russia fighting in the Ukraine.
s***@home.net
2024-08-27 04:25:43 UTC
Permalink
On Mon, 26 Aug 2024 19:43:30 -0700, "David E. Ross"
Post by David E. Ross
Post by s***@home.net
I'm using Windows 7 Ultimate.
Neither Windows Media Player nor VLC can play any audio or video file.
I keep getting the following error message.
"Windows Media Player cannot access the file. The file might be in
use, you might not have access to the computer where the file is
stored or your proxy settings might not be correct"
I also did download the K-Lite Codec pack to see if that was the
problem. It wasn't.
Anyone have any idea what the hey is wrong?
It appears that your problem results from WMP being the default
application to play audio and video files, even if WMP no longer exists.
1. Open Control Panel.
2. Select Default Programs.
3. Select "Set your default programs".
4. On the list of programs on the left side of the window, select VLC
and then "Choose defaults for this program". NOTE WELL: You might
cause yourself much grief if you select "Set this program as default".
I did not set VLC as default, but chose to select which files to
associte with it.
Post by David E. Ross
5. Either select the Select All checkbox, or slse scroll through file
types and select the checkboxes for individual file types. Then select
the Save button in the lower left-corner.
6. Close the various Control Panel windows that you opened.
When I opened the default settings I saw that VLC had already
associated itself with tons of files which I have no clue what their
extension means. Many of the common files such as mp3, mp4 and a few
others were unchecked. These still had the Windows Media name on the
line with them, but with an unchecked box. I checked those boxes and
saved the change.

I made the decision to check those unchecked boxes even though the
name Windows Media was still on that line with the boxes because I
wanted to see if Windows Media would again be the default and might
now play the mp3 files. Instead, upon reopening Control Panel, VLS -
not Windows Media - was associated with mp3 files.

Why VLC didn't associate with them during install, I don't know.

I then selected the checkboxes for other files such as mp4, etc.

Guess what? I still get soundless videos and audio files. Video
works beautifully - with no sound. Mp3 files show advancement on the
play line, but that's all - no sound.

Do I have to say again how simple and damn easy all this is in XP?

Redmond is full of morons who should be flipping burgers at Burger
King.
Paul
2024-08-27 05:37:45 UTC
Permalink
Post by s***@home.net
On Mon, 26 Aug 2024 19:43:30 -0700, "David E. Ross"
Post by David E. Ross
Post by s***@home.net
I'm using Windows 7 Ultimate.
Neither Windows Media Player nor VLC can play any audio or video file.
I keep getting the following error message.
"Windows Media Player cannot access the file. The file might be in
use, you might not have access to the computer where the file is
stored or your proxy settings might not be correct"
I also did download the K-Lite Codec pack to see if that was the
problem. It wasn't.
Anyone have any idea what the hey is wrong?
It appears that your problem results from WMP being the default
application to play audio and video files, even if WMP no longer exists.
1. Open Control Panel.
2. Select Default Programs.
3. Select "Set your default programs".
4. On the list of programs on the left side of the window, select VLC
and then "Choose defaults for this program". NOTE WELL: You might
cause yourself much grief if you select "Set this program as default".
I did not set VLC as default, but chose to select which files to
associte with it.
Post by David E. Ross
5. Either select the Select All checkbox, or slse scroll through file
types and select the checkboxes for individual file types. Then select
the Save button in the lower left-corner.
6. Close the various Control Panel windows that you opened.
When I opened the default settings I saw that VLC had already
associated itself with tons of files which I have no clue what their
extension means. Many of the common files such as mp3, mp4 and a few
others were unchecked. These still had the Windows Media name on the
line with them, but with an unchecked box. I checked those boxes and
saved the change.
I made the decision to check those unchecked boxes even though the
name Windows Media was still on that line with the boxes because I
wanted to see if Windows Media would again be the default and might
now play the mp3 files. Instead, upon reopening Control Panel, VLS -
not Windows Media - was associated with mp3 files.
Why VLC didn't associate with them during install, I don't know.
I then selected the checkboxes for other files such as mp4, etc.
Guess what? I still get soundless videos and audio files. Video
works beautifully - with no sound. Mp3 files show advancement on the
play line, but that's all - no sound.
Do I have to say again how simple and damn easy all this is in XP?
Redmond is full of morons who should be flipping burgers at Burger
King.
Has your Windows 7 sound ever been tested successfully before ?

C:\Users\Public\Music\Sample Music

has at least three .mp3 files in it.

Loading one in VLC, puts up the album cover as a static image,
while the music plays.

Right click the desktop Speaker icon in the lower-right corner,
and there should be four items in the menu. One of the items
is Playback devices. While a .mp3 plays in VLC, you can
watch the VU meter in the Playback devices, and notice that
the "Default" device has a non-zero volume (green bars are showing).
You can see I'm using my analog Speakers on the Test Machine.

[Picture]

Loading Image...

I can also use the NVidia HDMI audio, as the HDMI adapter
I've got has a 1/8th inch jack for stereo out. But then
I have to run an extender cable to the computer speakers.
Once the cable was set up, I'd have to change the output
device in the Playback window.

You can also check Device Manager for your playback device(s).
The executable for that is:

devmgmt.msc

and my audio is in "Sound, video and game controllers" item.
It should have a driver loaded, and not be whining about "Stop 10" or
whatever.

Paul
David E. Ross
2024-08-27 05:44:12 UTC
Permalink
Post by s***@home.net
Why VLC didn't associate with them during install, I don't know.
I am very glad VLC -- upon installation -- does not automatically
associate with files already associated with other applications. I have
at least two other applications for playing audio and video files. I
want those other applications to be the defaults for certain files; for
example, I want WACUP to be the default player for .mp3 files. I
certainly do not want VLC overriding that setup.
--
David E. Ross
<http://www.rossde.com/>

Demonstrators worldwide are demanding that Israel stop
fighting in Gaza. Why does it seem that no one is demanding
that Hamas stop fighting? And where are the demonstrations
against Russia fighting in the Ukraine.
s***@home.net
2024-08-27 17:00:12 UTC
Permalink
On Mon, 26 Aug 2024 22:44:12 -0700, "David E. Ross"
Post by David E. Ross
Post by s***@home.net
Why VLC didn't associate with them during install, I don't know.
I am very glad VLC -- upon installation -- does not automatically
associate with files already associated with other applications. I have
at least two other applications for playing audio and video files. I
want those other applications to be the defaults for certain files; for
example, I want WACUP to be the default player for .mp3 files. I
certainly do not want VLC overriding that setup.
Makes good sense.
Loading...