1. Show exception dialog if any
2. use SYSTEMROOT env value instead of hard cording.