Defrag on shutdown with .bat fileLocked
Anyone running shutdown scripts from Group Policy? “gpedit.msc” – windows settings – scripts – shutdown – add shutdown.bat. My “shutdown.bat” reads.
defrag -v c:\
It is obvious that it runs. Takes a while to finishing “running shutdown scripts”.
Thing is, If after you boot up the computer and go into windows defrag, it graphically shows the same as it did before,(lots of red) and states “you should defrag this drive”
Even if you do it from a command line, same results…
Then I run it with the windows defrag program, and it defrags nicely.
Is running defrag from the command line really working?