When I select restart or quit Windows 7 as it often happens that he does not do the former after 30 seconds. He exit my applications (if I have any running) that he should do when you shut down Windows.
into a notepad then save it and change the file extension from . txt to .reg then apply it , If your unsure what your doing I wouldnt try it and I would also suggest you backup your registry or that reg file before you change anything