Hurrah! You've already changed your car battery, but the power window isn't working. If the power windows go up and down but the automatic function does not activate, there is a quick trick to reset the window. Try it before taking your car to the workshop unnecessarily.
Steps

Step 1. Insert the key into the ignition switch
You can start your car or just turn the key enough to operate the power windows.

Step 2. Check that the windows are properly closed

Step 3. Roll the window down and hold the button for five seconds
Press the button for the driver's side power window, letting it roll all the way down. Once it reaches the bottom, continue holding the button for an additional five seconds.

Step 4. Immediately roll the window back up and hold down the button for five seconds
Lift the button on the window, letting it go all the way up. Once it reaches the top, continue pressing the button for five seconds.

Step 5. Release the window button

Step 6. Test the auto window function
The auto window function should have been reconfigured. If not, repeat the process, making sure the windows go up and down with the correct pause intervals.
Advice
- The amount of time the button is pressed varies by manufacturer, but the basic instructions do not change. You can check with your car manufacturer to be sure.
- If the power window stopped working for a reason other than changing the battery, then you will need to take your car to the mechanic.
- Some car models may require you to reconfigure each window individually.