SignTool fails with error 0x80092006 on Windows Server 2008

Hi all,   The other day a customer of mine was trying to sign a binary with SignTool.exe using the following command line on Windows Server 2008 SP2:   Signtool.exe sign /a /f “c:\mycert.pfx” /p  “password” /t “http://timestamp.verisign.com/scripts/timstamp.dll” “c:\temp\myFile.exe”   And SignTool failed with the following error:   SignTool Error: ISignedCode::Sign returned error: 0x80092006 No…

3

How to update "Run only specified windows applications" GPO programmatically (VBScript)

Hi all,   A customer of mine had to add a list of thousands of applications to the “Run only specified windows applications” GPO on his Windows Server 2008. And obviously he wanted to automate this task to avoid adding them manually one at a time.  So I went the easy way and created the…

1

FileSystemWatcher class does not fire Change events when NotifyFilters.Size is used

Hi all,   A customer of mine was trying to monitor a .log file in a specific folder with .NET’s FileSystemWatcher class and a code like the following:     static void Main(string[] args) { FileSystemWatcher fsw = new FileSystemWatcher(@”C:\mypath”, “myfile.log”); fsw.NotifyFilter = NotifyFilters.Size | NotifyFilters.LastWrite; fsw.Changed += new FileSystemEventHandler(MyChangedMethod); fsw.Error += new ErrorEventHandler(MyErrorMethod); fsw.EnableRaisingEvents =…

1