The window regulator is the mechanism that drives the window up or down in both manual and automatic windows.