Windows 11 has a "Sysprep" tool, but it is complex for average users. The modern, easier workaround is to force Windows to rebuild its driver store.