Steps to enable DLNA function of Windows 8
1. First of all press Windows Key + Q and search for “control panel”, click on Control Panel, appeared in the left-pane.
2. In Control Panel click on Choose homegroup and sharing option, under Network and Internet.

3. If you are not already connected to any network, it will ask you to “connect to an exixting network”. Click on it.

Connect to an existing network.

4. Now, a new message may appears there : “To create or join a homegroup, your computer’s network location must be set to Private”. If you get this message click on Change network location option and select Yes, turn on sharing and connect to devices option appeared in charms bar, under the connected network.

5. Next, click on Create a homegroup button. Press Next.

6. Select, what you want to share with other homegroup members. Press “Next”.

7. Password for your Homegroup will be generated. Keep it for future use. Click on “Finish”.

8. Now, click on “Allow all devices on this network such as TVs and game console to play my shared content” option. Make sure, the device that will access the content of this PC is already connected to the network.

Give a name for your media library, allow the devices to access your content and press “Next”. Do the same thing what you have done before.

Now, open C:\Users\Public directory and put the contents that you want to share into proper folder (pictures, videos, music or docs). You can also put the contents in the folders in C:\Users\your user name) directory also.
Note:If you use AirPlayer to find your windows 8 dlna server,you get no content while it actually has videos and pictures.It must be your device's access request is denied.You can choose device in your local network,enable it and make the "Allowed" checkbox is checked.