Sign In
Decrypt my World
Cryptography, Security, Debugging and more!
March, 2008
MSDN Blogs
>
Decrypt my World
>
March, 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
Cdb
CertEnroll
CNG
CryptAcquireContext
CryptoAPI
Debugger scripts
Debugging
NT Services
P/Invoke
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
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
How to get ADs Providers list (C#)
Posted
over 4 years ago
by
Alejandro Campos Magencio
0
Comments
Hi, welcome back, We may want to get the list of Active Directory Providers (" LDAP: ", " WinNT: ", " IIS: "...) with .NET the same way we do it with this VBScript : Set ads = GetObject("ADs:") For Each provider In ads Wscript.Echo provider.Name...
Decrypt my World
How to get Password Expiration Date with System.DirectoryServices (C#)
Posted
over 4 years ago
by
Alejandro Campos Magencio
3
Comments
Hi, welcome back, You may want to get Password Expiration Date for a given user with System.DirectoryServices . You may be tempted to use a code like the following: DirectoryEntry entry = new DirectoryEntry(path); object obj = entry.Properties["PasswordExpirationDate...
Decrypt my World
CAPICOM Security Alerts are not localized
Posted
over 4 years ago
by
Alejandro Campos Magencio
0
Comments
Hi all, welcome back, When we use CAPICOM , we may get some messages like the following: Security Alert: This Web site needs to decrypt data using your private key. Security Alert: This Web site needs to create a digital signature using your...
Decrypt my World
How to change the Security Descriptor of WMI objects
Posted
over 4 years ago
by
Alejandro Campos Magencio
1
Comments
Hi all, welcome back, You may want to give users or groups access to perform read/modify WMI operations on WMI objects , and for that you need to change the Security Descriptor ( SD ) for WMI objects. There are several ways to achieve this: 1) Manually...
Decrypt my World
How to change Registry Permissions with RegIni.exe (VBScript)
Posted
over 4 years ago
by
Alejandro Campos Magencio
11
Comments
Hi all, welcome back, Today I'll show how we can set the following permissions on a registry key with RegIni.exe and a VBScript : - Creator Owner Full Control - Users Full Control - Power Users Full Control - Administrators Full Control - System...
Decrypt my World
How to get the user running a VBScript
Posted
over 4 years ago
by
Alejandro Campos Magencio
3
Comments
Hi all, welcome back, It's very easy to find out the user name and the domain name of the user running a VBScript, and the computer name where it's running: Set objNet = CreateObject("WScript.NetWork") strInfo = "User Name is " & objNet...
Decrypt my World
CAPICOM support on Windows Server 2008
Posted
over 4 years ago
by
Alejandro Campos Magencio
12
Comments
Hi all, welcome back, If you remember all the confusion there was regarding CAPICOM support on Vista , now everything seems much clearer on Windows Server 2008. Our documentation team has done its homework, as we can see in CAPICOM Reference : ...
Decrypt my World
PKCS#11 interface support on Windows 2000/Server 2003
Posted
over 4 years ago
by
Alejandro Campos Magencio
0
Comments
Hi all, welcome back, I recently had some issues involving PKCS#11 interface on Windows, and it seems quite clear that we don't support it, at least on Windows 2000 & Server 2003, and as far as I know on any other version of Windows: Public...
Decrypt my World
How to get the logged on user with WMI (VBScript)
Posted
over 4 years ago
by
Alejandro Campos Magencio
19
Comments
Hi all, welcome back, From time to time I get to do some scripting, play with LDAP/ADSI, WMI, etc. I'll begin posting some VBScript samples I have which may be useful for you too. Today we'll see a way to get the user who has logged on a given machine...
Decrypt my World
How to select which Smart Card reader to perform actions on
Posted
over 4 years ago
by
Alejandro Campos Magencio
0
Comments
Hi all, welcome back, Most of the time we only have a smart card reader in our machine, and we only use one smart card to perform crypto operations. But what if we have several readers and cards , and those cards share the same CSP (Cryptographic Service...
Page 1 of 1 (10 items)
Translate This Page
Translate this page
Powered by
Microsoft® Translator