2008-11-03

Error 0x8007052e from Windows Media Services

Note: this content originally from http://mygreenpaste.blogspot.com. If you are reading it from some other site, please take the time to visit My Green Paste, Inc. Thank you.

I was recently working on getting Windows Media Services configured on a system. Going through the properties, I noticed that the "WMS Anonymous User Authentication" plugin was in an error state. On inspection, I was presented with the following dialog.

---------------------------
Windows Media Services
---------------------------
The plug-in cannot be enabled because the user name or password does not match the settings for the Windows user account used for anonymous guests.
---------------------------
OK
---------------------------

Also, the event viewer was showing the following:

Event Type: Error
Event Source: WMServer
Event Category: Plugin
Event ID: 323
Date: [Date]
Time: [Time]
User: N/A
Computer: [CompName]
Description:
Plug-in 'WMS Anonymous User Authentication' on the server failed with the following information: Error code = 0x8007052e, Error text = 'Logon failure: unknown user name or bad password. '.
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 8007052e

Checking "Local Users and Groups", I could see that the specified user (WMUS_COMPNAME) certainly existed. I changed the password for the user and then set the password in the properties for "WMS Anonymous User Authentication". I was rewarded with the same message. The user name and password were correct, so I focused my attention elsewhere. I first tried changing the settings to provoke the message while running Sysinternals' Filemon and Regmon, but was unable to pull anything from the captured data that seemed like it was germane to the problem.

The next thing I tried was creating a new account and specifying that account in the properties for "WMS Anonymous User Authentication". This worked; the status of "WMS Anonymous User Authentication" became "Enabled". I found this odd, as I was working with a fresh installation of Windows Media Services. In comparing the accounts (WMUS_COMPNAME and the test account I created), I noticed the WMUS_COMPNAME account was just a member of the Guests group, while the test account was just a member of the Users group. So, I added the test account to Guests and removed it from Users, and then checked / OK'd the "WMS Anonymous User Authentication" properties. I got the aforementioned message. I changed the test account back to the original group memberships, and "WMS Anonymous User Authentication" did not complain.

At this point, I knew that the problem was related to some restriction placed on the Guests group. I ran secpol.msc to check the Local Security Policy Settings, and I noticed that Guests had been added to the Security Setting for the "Deny access to this computer from the network" policy. According to TechNet, the default for this policy is "None". Removing Guests from the setting allowed the WMUS_COMPNAME account to function as the anonymous account used by Windows Media Services.

14 comments:

Julie Smith said...

Your solution was right on. Removing GUESTS, along with restting the WMUS_COMPNAME password fixed this issue for me. I'm assuming part of my issue was because I renamed this server and manually had to adjust the name of the WMUS_COMPNAME account to match the new server name.

Thanks!

-Julie
http://thebackroomtech.com

Pseudothink said...

It's worth noting that in Windows 2008, this policy has been "inverted". Instead of "Deny access to this computer from the network", it is now "Access this computer from the Network". I received the same error message and application log event until I added the WMUS_COMPNAME account to this policy. I didn't have to do anything else.

Thanks for your post, it helped guide me quickly to the solution.

«/\/\Ø|ö±ò\/»®© said...

Hi Pseudothink,

Good to hear this helped point you in the right direction on Server 2008, and thanks for pointing out the relevant (changed) setting on that platform! :-)

Ramanan Sharma said...

Is it possible to install Windows media services in vista?
Any help docs or references please :)

«/\/\Ø|ö±ò\/»®© said...

Hi Ramanan,

Are you referring to Windows Media Services, or Windows Media Center? WMC should come with specific Vista SKUs; I'm not aware of a way to install Windows Media Services on Vista (it is possible on Server 2008...)

Ramanan Sharma said...

Thank you for the reply

I was referring to Windows Media Services..
Actually I had to stream video using Windows Media Encoder, But at the other end there was a delay of around 10 sec in receiving..
This was actually for a video conferencing system so the latency was a serious issue..
I found in many sites, the solution is to use Windows media services..

Im using vista so that wanted to know whether is this possible to install in Vista. I found it almost impossible because there is no reference regarding this

«/\/\Ø|ö±ò\/»®© said...

Perhaps, something could be rigged by trying to get Server 2008's WMS to install on Vista, but it would quite likely not be supported, and very fragile, and probably not worth the effort of working through...

Anonymous said...

Hi

The 5 sec delay is "default" standard on the media encoder + your media player as well... (5 seconds eath, and that will give you 10 in total, more or less ;-).

This is because the media player wants to have a part of the “movie” in the memory before it shows up in your player.

If you go in under “Options/Performance/ “Network buffering” and set a manual value (lowest is 1 sec)

Also in your Media Encoder profile you have a setting ….
Under “Properties/compression” you will find a “Edit” option for the profile you have chosen
Ex:Win Media Server (Streaming) 340 Kbps
When u press “Edit” you will get a “Custom Encoding Settings” window were you will find “2 Tabbs” “General” & “340 Kbps” (for this example)
on the 340 tabb, you have a “Buffer size” option….again the lowest is 1 sec…

This will not give you the perfect “Live experience” but at least a little bit less buffering…

so now you will start to notice how god your network is, since the buffer is gone… dropped packages in your network will show up as frozen framed in the video playback and such….

If you add a streaming server to this, it will also add more buffering time…

Ramanan Sharma said...

Thank you so much Anonymous Friend
Your advice is very valuable.
I will try this out! :-)

grateful guy said...

thanks so much anonymous friend.
thank u
thank u
if there is anything more i can do just leave a message.

Anonymous said...

Hi Julie Smtih,

The Windows Media Services 2008 was working, even with http://IP_Server/clip_name.htm or .ncs or .asx from other computers.
I have changed the computer name.
Then it no longer working, so I removed WMS and IIS-Webserver, then re-adding roles for WMS. After done so I see error" '"WMS Anonymous User Authentication, Error Code Error 0x8007052e'

After reading the post here. I had gone to 'User and Group' I see user My_Srv-WMUS, I did reset password to blank - no password. and it still display same error.

WOULD YOU please walk me to fix it.

Thanks,

TIM

Anonymous said...

Hi, After posting above message, I did google and found:

http://support.microsoft.com/kb/946014

I will try it tomorrow. Thanks. TIM

Ali said...
This comment has been removed by a blog administrator.
IShine Trade said...
This comment has been removed by a blog administrator.