Sign In
Decrypt my World
Cryptography, Security, Debugging and more!
April, 2008
MSDN Blogs
>
Decrypt my World
>
April, 2008
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Options
About
RSS for posts
Atom
RSS for comments
OK
Disclaimer, Maps & Favorite Posts
Any of my posts is supported under any Microsoft standard support program or service. They are provided "AS IS" without warranty of any kind, and confer no rights.
Where are my readers?
Favorite Posts
Do you need help right now?
CryptoAPI Tracer script
MANAGED DEBUGGING with WINDBG. Introduction and Index
Tags
ADSI
CAPICOM
CertEnroll
CNG
CryptAcquireContext
CryptoAPI
Debugger scripts
Debugging
NT Services
P/Invoke
PowerShell
RSACryptoServiceProvider
SCard API
Smart Card
System.DirectoryServices
System.Security
VBScript
WinDbg
Windows 7
Windows SDK
Windows Server 2003
Windows Server 2008
Windows Vista
Windows XP
WMI
Archive
Archives
May 2012
(1)
April 2012
(6)
March 2012
(2)
January 2012
(1)
November 2011
(12)
September 2011
(5)
June 2011
(1)
May 2011
(2)
April 2011
(1)
March 2011
(3)
February 2011
(6)
January 2011
(2)
December 2010
(5)
October 2010
(8)
September 2010
(1)
August 2010
(8)
July 2010
(3)
June 2010
(2)
May 2010
(4)
April 2010
(3)
March 2010
(4)
February 2010
(2)
January 2010
(5)
December 2009
(6)
November 2009
(2)
October 2009
(3)
September 2009
(5)
August 2009
(13)
July 2009
(8)
June 2009
(2)
May 2009
(7)
April 2009
(3)
March 2009
(2)
February 2009
(3)
January 2009
(3)
December 2008
(3)
November 2008
(2)
October 2008
(4)
September 2008
(4)
August 2008
(3)
July 2008
(3)
June 2008
(7)
May 2008
(6)
April 2008
(7)
March 2008
(10)
February 2008
(3)
January 2008
(4)
December 2007
(6)
November 2007
(4)
October 2007
(4)
Share this blog with others!!!
My Twitter (http://twitter.com/alejacma)
RSS
http://twitter.com/alejacma
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Decrypt my World
ChangePassword method may fail with TargetInvocationException (.NET)
Posted
over 4 years ago
by
Alejandro Campos Magencio
1
Comments
Hi all, welcome back, When working with System.DirectoryServices.DirectoryEntry in .NET , we may change the password of the user with a code like the following ( C# ): user.Invoke("ChangePassword", new object[] { oldPassword, newPassword } But invoking...
Decrypt my World
How to get a list of all users in an OU (VBScript)
Posted
over 4 years ago
by
Alejandro Campos Magencio
18
Comments
Hi all, welcome back, Today I'll post a very straight forward sample which gets a list of all users in an Organizational Unit ( OU ) in Active Directory ( AD ) using VBScript : ' Get OU ' strOU = "OU=Users,DC=domain,DC=com" ' Create connection...
Decrypt my World
DpapiProtectedConfigurationProvider fails while decrypting web.config (ASP.NET)
Posted
over 4 years ago
by
Alejandro Campos Magencio
0
Comments
Hi, welcome back, The other day we faced a very similar issue to the one I commented on this post: RSACryptoServiceProvider fails when used with ASP.NET . We were getting a very similar exception: "System.Configuration.ConfigurationErrorsException...
Decrypt my World
Certificate has private key but we get "the keyset does not exist" error
Posted
over 4 years ago
by
Alejandro Campos Magencio
0
Comments
Hi all, welcome back, The other day we were using CAPICOM in a client script run in Internet Explorer . We were trying to sign some string with the private key of a certificate we previously installed in the client machine, but we kept getting the...
Decrypt my World
How to read a registry key and its values (VBScript)
Posted
over 4 years ago
by
Alejandro Campos Magencio
1
Comments
Hi all, welcome back, Today I'll share with you a couple of VBScript samples I developed the other day. They use WMI and its StdRegProv class to read the Windows registry . This sample will take a registry key and show its subkeys and the values...
Decrypt my World
Win32_Process.Create fails if user profile is not loaded
Posted
over 4 years ago
by
Alejandro Campos Magencio
10
Comments
Hi all, welcome back, The other day I worked on an issue which happened when using WMI method Win32_Process.Create to spawn a process from an ASP.NET application. This method was returning an UNKNOWN FAILURE (8) and the new process wasn't created....
Decrypt my World
How to Encrypt and Decrypt with CryptoAPI and a user Certificate (Windows Mobile)
Posted
over 4 years ago
by
Alejandro Campos Magencio
0
Comments
Hi all, welcome back, The other day I had the pleasure to collaborate with my colleague Raffaele Limosani on a CryptoAPI case in Windows Mobile . I don't give technical support to Windows Mobile, and I don't know the specifics on mobile development...
Page 1 of 1 (7 items)
Translate This Page
Translate this page
Powered by
Microsoft® Translator