Well, you did something very stupid and your computer got pissed. Most likely you locked out windows functions by taking ownership, and won't be able to fix it without reverting each and every permission change.
Just for your information, Windows will NEVER ask for permission to edit files in the user folder or secondary drives. If it does, you might have a virus/malware