If you have a problem with your power window on your vehicle there's a good chance you have a broken window regulator. Not every vehicle uses the same regulator so if you need a window regulator you need to find out the correct part number for your vehicle. It's important to determine the exact year, make, model and body style vehicle you have to more accurately determine which part number is the correct part for your vehicle. Some vehicles are much more complicated to work on then others and certain vehicles may require a relearn sequence or scan tool to reprogram/relearn the the window control module. If you don't have the tool on a VW then you will have to take it to a technician that has a scan tool that can do the relearn procedure.
If you have 2015 and 2016 VW Passat and are needing a windshield replacement and if you have a rain sensor there is a good chance your windshield rain sensor system will not work. There is TSB regarding this specific problem from VW.