1)start-->>run-->>type regedit and press enter
2)Windows registry page will open.Navigate here:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
In right pane, delete winlogon.exe if the data is msole32.exe
Before doing this,turnoff windows restore.