thats what i did before and now i changed dir and its the same by the way my friend i changed this ('dir /a /b *.msu') to this (dir /a /b *.msu) and removed the other commands and it listed the updates like you said but the installment dont work cause somethings wrong in this command line can you fix it my friend? I have this @echo off for /f "skip=1" %%A in ('dir /b *.msu') do ( echo Installing Update "%%A" ... start /wait %%A /quiet /norestart > nul ) echo. echo ########################################################### echo. echo Updates are installed echo Press any key to reboot pause >NUL shutdown -r -t 0 it works but its not installing very good and its not wusa thats why its not good