Tag Archives: FileScriptingObject

Problem reading DateLastModified of file in root of C: by non-admin User on Win7

Create a file, c:\test.txt using administrative rights on Windows 7. Add any data and saveChange modification stamp by editing it and saving Run this vbscript:set fso = CreateObject(“Scripting.FileSystemObject”)logfile = “c:\test.txt”Set f = fso.GetFile(Logfile)dModifiedTime = f.DateLastModifiedwscript.echo dModifiedTime I found that the … Continue reading

Posted in VbScript | Tagged | Leave a comment

USB Monitor for Removable Drives

Having users plug USB drives into their systems can be a portal for malware into your network and data exiting from your network.  There are sophisticated programs that allow you to block and monitor endpoint security, such as Lumension’s Sanctuary.  If … Continue reading

Posted in Alan's Favorites, My Best, Security, VbScript, Windows Administration | Tagged , , , | Leave a comment