如何让 userenv.log (C:\WINDOWS\Debug\UserMode\userenv.log) 记录日期和时间?
目前的格式是这样的
USERENV(2b4.498) 10:51:22:140 ProcessGPOs: Extension Microsoft Offline Files skipped because both deleted and changed GPO lists are empty.
USERENV(2b4.498) 10:51:22:140 ProcessGPOs: -----------------------
USERENV(2b4.498) 10:51:22:140 ProcessGPOs: Processing extension Software Installation
USERENV(2b4.498) 10:51:22:140 CompareGPOLists: The lists are the same.
但是由于日志可以滚动多天,因此获取日期非常有帮助。