Thanks for the post. Yes, i did read it. The post 14 you told gives us the volume serial number of a drive which will change while formatting. The other posts also link to some codes but they will not work in Vista having UAC. it needs admin permission. which will not be available some times.