Follow these steps to troubleshoot OneDrive connection issues in Windows 7 or 8:
Verify that you are connected to the internet by opening a web browser, and attempting to access websites
Check that your Windows-related updates are up-to-date and that all necessary system components are installed
Ensure that you have signed into your OneDrive account using the same email address and password that you used to register for the service
Open OneDrive directly using its desktop shortcut to make sure that the application is installed correctly and that it is able to launch
Run your anti-virus and anti-malware programs to check for any issues that may be blocking essential functionality or services
If none of the above steps resolve your OneDrive connection issue, you may need to re-install the application or try manually resetting the service