<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>A Day In The Life of a Premier Field Engineer</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/lifeofapfe/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/lifeofapfe/feed.xml</link>
    <description>Let the rambling begin.</description>
    <lastBuildDate>Tue, 16 Apr 2019 06:11:41 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Smart card (CAC) Authentication with an External CA and Desktop Validator</title>
      <link>https://docs.microsoft.com/archive/blogs/lifeofapfe/smart-card-cac-authentication-with-an-external-ca-and-desktop-validator</link>
      <pubDate>Mon, 28 Jun 2010 07:13:00 GMT</pubDate>
      <dc:creator><![CDATA[danielparker]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/lifeofapfe/2010/06/28/smart-card-cac-authentication-with-an-external-ca-and-desktop-validator/</guid>
      <description><![CDATA[Hey Daniel here again. I wanted to share a problem with everyone and a solution that I came...]]></description>
      <content:encoded><![CDATA[<p>Hey Daniel here again. I wanted to share a problem with everyone and a solution that I came across.</p>
<p><b>Background:</b></p>
<p>I have a customer that has been using smart card authentication in conjunction with Desktop Validator for years with no issues until they upgraded their domain controllers to Server 2008. The problem was if they rebooted a domain controller they could never predict if smart card authentication was going to work. The results were sporadic at best. Their setup was as follows:</p>
<ul>
<li>Server 2008 64Bit</li>
<li>Desktop Validator (DV) - version 4.10.0.344</li>
<li>DV is validating against external OCSP Responders</li>
<li>External CA</li>
</ul>
<p>In the above configuration we were seeing where the KDC service was starting before DV thus causing the failures. The easiest way to determine this was by looking at the System log on the domain controller and looking for event id 29.</p>
<p><i>The Key Distribution Center (KDC) cannot find a suitable certificate to use for smart card logons, or the KDC certificate could not be verified. Smart card logon may not function correctly if this problem is not resolved. To correct this problem, either verify the existing KDC certificate using certutil.exe or enroll for a new KDC certificate.</i></p>
<p>We could also verify that it didn't work by looking in the DV logs and locating the most recent event id of 1.</p>
<p><i>System Message: Tumbleweed Desktop Validator Service was started.</i></p>
<p>Once this was located we could look at the following events and see that lsass never made a call to DV to validate any certificates. In order for smart card authentication to work lsass (KDC) must know that it has a valid certificate that can be used for smart card logons.</p>
<p><b>Resolution:</b></p>
<p>To make a long story short we were able to get this fixed by forcing DV to start before the KDC. We did this by adding the following registry key to the DV service.</p>
<p><span style="font-size: x-small;"><span style="font-size: 10pt;">HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tumbleweed Desktop Validator </span></span></p>
<p><span style="font-size: x-small;"><span style="font-size: 10pt;">Create a new REG_SZ:&nbsp; Group </span></span></p>
<p><span style="font-size: x-small;"><span style="font-size: 10pt;">Data Value:&nbsp; NetBiosGroup</span></span></p>
<p><span style="font-size: x-small;"><span style="font-size: 10pt;"><b>Suggested Reading:</b><br /></span></span></p>
<p><span style="font-size: x-small;"><span style="font-size: 10pt;">If you are interested in learning more about smart card authentication, KDC and how to control device driver load order please see the following links.</span></span></p>
<p><a title="Smart Card Autnetication" href="https://technet.microsoft.com/en-us/library/dd277376.aspx"><span style="font-size: x-small;"><span style="font-size: 10pt;">Smart Card Authentication</span></span></a></p>
<p><a title="KDC" href="https://msdn.microsoft.com/en-us/library/aa378170%28VS.85%29.aspx"><span style="font-size: x-small;"><span style="font-size: 10pt;">KDC</span></span></a></p>
<p><span style="font-size: x-small;"><span style="font-size: 10pt;"><a title="How to control device driver load order" href="https://support.microsoft.com/default.aspx?scid=kb;EN-US;115486">How to control device driver load order</a></span></span></p>
<p><span style="font-size: x-small;"><span style="font-size: 10pt;">Until next time....<br /></span></span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Performance Issues</title>
      <link>https://docs.microsoft.com/archive/blogs/lifeofapfe/performance-issues</link>
      <pubDate>Wed, 07 Apr 2010 15:28:00 GMT</pubDate>
      <dc:creator><![CDATA[danielparker]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/lifeofapfe/2010/04/07/performance-issues/</guid>
      <description><![CDATA[I wanted to make everyone aware of a post over at AskPerf about some high impact performance issues....]]></description>
      <content:encoded><![CDATA[<P>I wanted to make everyone aware of a post over at <A href="https://blogs.technet.com/askperf/" mce_href="https://blogs.technet.com/askperf/">AskPerf</A> about some high impact performance issues. Below you can find a excerpt from their post. Please visit <A href="https://blogs.technet.com/askperf/archive/2010/04/01/high-impact-issue-servers-may-become-unresponsive-due-to-multiple-issues.aspx" mce_href="https://blogs.technet.com/askperf/archive/2010/04/01/high-impact-issue-servers-may-become-unresponsive-due-to-multiple-issues.aspx">AskPerf</A> for the entire post. <BR></P>
<DIV class=posthead>
<H2><A id=bp___v___r___postlist___EntryItems_ctl00_PostTitle href="https://blogs.technet.com/askperf/archive/2010/04/01/high-impact-issue-servers-may-become-unresponsive-due-to-multiple-issues.aspx"><FONT size=4>High Impact Issue: Servers may become unresponsive due to multiple issues</FONT></A> </H2></DIV>
<P>Hi all. Today I would like to bring to your attention an issue we have been seeing lately that very well may effect those of you in a corporate environment. McAfee has recently released information about this issue on their <A href="https://kc.mcafee.com/corporate/index?page=content&amp;id=KB65820">web site</A>.</P>
<P>The issue is that one or multiple servers may become unresponsive or start failing in any of their installed roles. Some of the possible symptoms are: <BR></P>
<UL>
<LI>· Slow file access </LI>
<LI>· Slow read/writes from an application </LI>
<LI>· Server unresponsive/hangs </LI>
<LI>· Slow SQL Server performance </LI>
<LI>· IIS Hangs </LI>
<LI>· Inability to connect remotely via RDP </LI></UL>Until next time...<BR><BR>
<P mce_keep="true">&nbsp;</P>
<P mce_keep="true">&nbsp;</P>]]></content:encoded>
    </item>
    <item>
      <title>Windows Server 2008 R2 and Windows 7 Service Pack 1 Announced</title>
      <link>https://docs.microsoft.com/archive/blogs/lifeofapfe/windows-server-2008-r2-and-windows-7-service-pack-1-announced</link>
      <pubDate>Wed, 07 Apr 2010 11:51:00 GMT</pubDate>
      <dc:creator><![CDATA[danielparker]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/lifeofapfe/2010/04/07/windows-server-2008-r2-and-windows-7-service-pack-1-announced/</guid>
      <description><![CDATA[On March 18, 2010 Service Pack 1 was announced for Server 2008 R2 and Windows 7. There are 2 new...]]></description>
      <content:encoded><![CDATA[<p>On March 18, 2010 Service Pack 1 was announced for Server 2008 R2 and Windows 7. </p><p>There are 2 new features that may interest you. <br></p><p>1. Dynamic Memory - will allow customers to adjust memory of a
guest virtual machine on demand to maximize server hardware use.
</p><p>2. RemoteFX - will enable users of virtual desktops and
applications to receive a rich 3-D, multimedia experience while
accessing information remotely. </p><p>To read more about Dynamic Memory and RemoteFX you can visit the Virtualization blog <a href="https://blogs.technet.com/virtualization/default.aspx" mce_href="https://blogs.technet.com/virtualization/default.aspx">here</a>.&nbsp;</p><p>On a side note Windows XP Mode no longer requires hardware virtualization technology.
This change simplifies the experience by making virtualization more
accessible to many more PCs for small and midsize businesses wanting to
migrate to Windows 7 Professional or higher editions, while still
running Windows XP-based productivity applications. </p><p>You can read the full press release <a href="https://www.microsoft.com/Presspass/press/2010/mar10/03-18DesktopVirtPR.mspx" mce_href="https://www.microsoft.com/Presspass/press/2010/mar10/03-18DesktopVirtPR.mspx">here</a>.&nbsp;&nbsp; <br></p><p>&nbsp;<br></p>]]></content:encoded>
    </item>
    <item>
      <title>Windows 7 &amp; Windows Server 2008 R2 e-books</title>
      <link>https://docs.microsoft.com/archive/blogs/lifeofapfe/windows-7-windows-server-2008-r2-e-books</link>
      <pubDate>Wed, 30 Dec 2009 08:21:00 GMT</pubDate>
      <dc:creator><![CDATA[danielparker]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/lifeofapfe/2009/12/30/windows-7-windows-server-2008-r2-e-books/</guid>
      <description><![CDATA[I wanted to share 2 free e-books with everyone. Introducing Windows Server 2008 R2 and Deploying...]]></description>
      <content:encoded><![CDATA[<p>I wanted to share 2 free e-books with everyone. </p><p>Introducing Windows Server 2008 R2 and Deploying Windows 7 Essential Guidance from the Windows 7 Resource Kit and 
TechNet Magazine</p><p><a href="https://download.microsoft.com/download/5/C/0/5C0BD0AB-040D-4C56-A60B-661001012DDA/Windows_Server_2008_R2_e-book.pdf" mce_href="https://download.microsoft.com/download/5/C/0/5C0BD0AB-040D-4C56-A60B-661001012DDA/Windows_Server_2008_R2_e-book.pdf" title="Windows Server 2008 R2 e-book here">Windows Server 2008 R2 e-book here<br></a></p><p><a href="https://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=ee2a1d38-88a9-43b3-95bc-7e962f0b6030" title="Windows 7 e-book here" mce_href="https://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=ee2a1d38-88a9-43b3-95bc-7e962f0b6030">Windows 7 e-book here </a><br></p><p><br></p>]]></content:encoded>
    </item>
    <item>
      <title>System State Backup Failures with WBAdmin</title>
      <link>https://docs.microsoft.com/archive/blogs/lifeofapfe/system-state-backup-failures-with-wbadmin</link>
      <pubDate>Wed, 30 Dec 2009 07:00:00 GMT</pubDate>
      <dc:creator><![CDATA[danielparker]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/lifeofapfe/2009/12/30/system-state-backup-failures-with-wbadmin/</guid>
      <description><![CDATA[This will be a quick one today.I was recently working an issue where system state backups were...]]></description>
      <content:encoded><![CDATA[<p>This will be a quick one today.</p><p>I was recently working an issue where system state backups were failing when using wbadmin. I was getting error code 2155348129. </p><p>After doing some troubleshooting I discovered that the HP Smart Update Manager service had the incorrect image path. The incorrect path was <span style="color: rgb(255, 51, 0);">c:</span><font style="color: rgb(255, 51, 0);" color="#ff3333"><b>/</b></font>windows\hpsum_1256670671\hpsumserverw32.exe. Notice the "/" after C:.<br></p><p>In order to correct this you need to either contact the vendor or navigate to the following registry key and correct the "/" with a "\".<br>
HKLM\System\CurrentControlSet\Services\hpsumserverw32\ImagePath</p><p>Value&nbsp; Data: c:\windows\hpsum_1256670671\hpsumserverw32.exe</p><p>That is all for today. <br></p><p><br></p>]]></content:encoded>
    </item>
    <item>
      <title>Group Policy Settings References for Windows and Windows Server</title>
      <link>https://docs.microsoft.com/archive/blogs/lifeofapfe/group-policy-settings-references-for-windows-and-windows-server</link>
      <pubDate>Mon, 09 Nov 2009 05:33:00 GMT</pubDate>
      <dc:creator><![CDATA[danielparker]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/lifeofapfe/2009/11/09/group-policy-settings-references-for-windows-and-windows-server/</guid>
      <description><![CDATA[I wanted to share the&nbsp;download link for group policy settings reference for Windows and Windows...]]></description>
      <content:encoded><![CDATA[<P>I wanted to share the&nbsp;download link for group policy settings reference for Windows and Windows Server. </P>
<P>These spreadsheets list&nbsp;the configuration settings for users and computers that can be set within Group Policy. </P>
<P><A class="" title="Group Policy Settings References for Windows and Windows Server" href="https://go.microsoft.com/fwlink/?linkid=54020" mce_href="https://go.microsoft.com/fwlink/?linkid=54020 ">Click here</A> to be taken to the download site.</P>
<P>Enjoy!</P>
<P mce_keep="true">&nbsp;</P>]]></content:encoded>
    </item>
    <item>
      <title>Windows Server 2008 R2 RTM</title>
      <link>https://docs.microsoft.com/archive/blogs/lifeofapfe/windows-server-2008-r2-rtm</link>
      <pubDate>Fri, 14 Aug 2009 14:43:00 GMT</pubDate>
      <dc:creator><![CDATA[danielparker]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/lifeofapfe/2009/08/14/windows-server-2008-r2-rtm/</guid>
      <description><![CDATA[I wanted to let everyone know that the bits for Server 2008 R2 (RTM) is now available on MSDN and...]]></description>
      <content:encoded><![CDATA[<P>I wanted to let everyone know that the bits for Server 2008 R2 (RTM) is now available on MSDN and Technet. This is a week earlier than expected.</P>
<P>Enjoy!</P>]]></content:encoded>
    </item>
    <item>
      <title>Storage Server 2008</title>
      <link>https://docs.microsoft.com/archive/blogs/lifeofapfe/storage-server-2008</link>
      <pubDate>Tue, 19 May 2009 15:15:00 GMT</pubDate>
      <dc:creator><![CDATA[danielparker]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/lifeofapfe/2009/05/19/storage-server-2008/</guid>
      <description><![CDATA[I wanted to share some information about Storage Server 2008.
First, did you know that Storage...]]></description>
      <content:encoded><![CDATA[<P>I wanted to share some information about Storage Server 2008.</P>
<P>First, did you know that Storage Server 2008 has a default password when you install it? Well, I wasn't aware of this until I recently installed this&nbsp;to do&nbsp;some testing. I would imagine there are a lot of people who are not aware of this since in every other version of Windows Server that I have installed you either get to set the password or it makes you change it the&nbsp;first time you login.</P>
<P>The default password is: wSS2008!</P>
<P>I highly recommend you changing this password once your install has finished.</P>
<P>The second thing I wanted to touch on was that you can now&nbsp;download <SPAN onmouseover="ShowToolTip(event,'en_windows_storage_server_2008_iscsi_cd_x64_x86_x15-49563.iso')" onmouseout=HideToolTip()>Microsoft iSCSI Software Target 3.2 for Storage Server 2008 via MSDN or Technet</SPAN>. As the name implies this gives you the ability to make your server an iSCSI target without having to purchase 3rd party software. This is very useful when you need a shared storage solution for clustering in Windows Server.</P>
<P>Th iSCSI&nbsp;Software Target&nbsp;is available in x86 and x64.&nbsp;&nbsp;</P>
<P>Well that is it for today. Until next time...</P>]]></content:encoded>
    </item>
    <item>
      <title>Using LDIFDE to export users from Active Directory</title>
      <link>https://docs.microsoft.com/archive/blogs/lifeofapfe/using-ldifde-to-export-users-from-active-directory</link>
      <pubDate>Thu, 19 Feb 2009 17:55:00 GMT</pubDate>
      <dc:creator><![CDATA[danielparker]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/lifeofapfe/2009/02/19/using-ldifde-to-export-users-from-active-directory/</guid>
      <description><![CDATA[Today we will be discussing how to export users from Active Directory. I will be using the ldifde...]]></description>
      <content:encoded><![CDATA[<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: normal; TEXT-ALIGN: left" align=center><SPAN style="FONT-SIZE: 14pt"><FONT face=Calibri><FONT size=3>Today</FONT> <FONT size=3>we will be discussing how to export users from Active Directory. I will be using the ldifde command to perform this operation.</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 12pt"><FONT face=Calibri>LDIFDE is a command line utility that is used to import or export information from Active Directory. <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: normal"><FONT face=Calibri><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; COLOR: red; mso-bidi-font-size: 12.0pt">Warning</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 12pt">: </SPAN></B><SPAN style="FONT-SIZE: 12pt">Before attempting this please make sure you have a valid backup. <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 12pt"><FONT face=Calibri>When exporting users from Active Directory it is recommended to know what attributes are needed. By having this information ahead of time you will ensure you only have the data that is needed. <o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: normal"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt"><FONT face=Calibri>Non-importable Attributes <o:p></o:p></FONT></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 12pt"><FONT face=Calibri>When you are exporting users there are certain attributes that should be omitted if the ldif file will be used as an import file into another Active Directory environment. Those attributes are as follows: badPasswordTime, badPwdCount, lastLogoff, lastLogon, logonCount, memberOf, objectGUID,objectSid, primaryGroupID, pwdLastSet, and sAMAccountType<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: normal"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt"><FONT face=Calibri>Switches</FONT></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 12pt"><FONT face=Calibri>The following switches will be used to perform the export: -f, -s, -d, -p, -r, and –o<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 12pt"><FONT face=Calibri>Explanations of the switches are explained below.<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 12pt"><FONT face=Calibri>-f<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>-<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>this is the file that you are exporting to<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 12pt"><FONT face=Calibri>-s<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>-<SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>This specifies what server you want to run the command against. This is not a required switch since ldifde can select a DC at random. It is recommended that it be used.<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 12pt"><FONT face=Calibri>-d<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>-<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Specifies the RootDN – defaults to Naming Context<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 12pt"><FONT face=Calibri>-p – This is the search scope that ldifde will perform (options are base/one level and subtree)<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 12pt"><FONT face=Calibri>-r<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>-<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Specifies the filter that will be used. In our command we are filtering on the User class<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 12pt"><FONT face=Calibri>-o<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>-<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>This switch tells ldifde what attributes to omit<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: normal"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt"><FONT face=Calibri>Commands<o:p></o:p></FONT></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 12pt"><FONT face=Calibri>The following command will export the user accounts and all attributes that have a value with the exception of the attributes mentioned above. <o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 12pt"><FONT face=Calibri>Example:<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 12pt; COLOR: #4f81bd"><FONT face=Calibri>ldifde -f Exportuser.ldf -s &lt;Domain Controller Name Here&gt; -d "dc=YourDomain,dc=Com" -p subtree -r "(&amp;(objectCategory=person)(objectClass=User)(givenname=*))" -o "badPasswordTime,badPwdCount,lastLogoff,lastLogon,logonCount, memberOf,objectGUID,objectSid,primaryGroupID,pwdLastSet,sAMAccountType"<o:p></o:p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 12pt"><FONT face=Calibri>In&nbsp;the next example&nbsp;I will show you how to&nbsp;export&nbsp;only a few of the available attributes.</FONT></SPAN><SPAN style="FONT-SIZE: 12pt"><FONT face=Calibri>&nbsp;&nbsp;</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 12pt"><FONT face=Calibri>Example 2:<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: normal"><FONT face=Calibri><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 12pt; COLOR: #4f81bd">ldifde -f Exportuser.ldf -s </SPAN></I><EM><SPAN style="FONT-SIZE: 12pt; COLOR: #4f81bd; FONT-STYLE: normal; FONT-FAMILY: 'Calibri','sans-serif'; mso-bidi-font-style: italic">&lt;Domain Controller Name Here&gt;</SPAN></EM><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 12pt; COLOR: #4f81bd"> -d "dc=YourDomain,dc=Com" -p subtree -r "(&amp;(objectCategory=person)(objectClass=User)(givenname=*))" -l "cn,givenName,</SPAN></I><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 12pt; COLOR: #4f81bd">userPrincipalName,objectclass,samAccountName" </SPAN></I></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 12pt"><FONT face=Calibri>Once you have determined what you need exported and executed your command your output should look similar to the following (depending on what you are exporting). The following only displays the output of 1 user.</FONT></SPAN><SPAN style="FONT-SIZE: 12pt"><FONT face=Calibri><o:p>&nbsp;</o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: normal"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt"><FONT face=Calibri>Output:<o:p></o:p></FONT></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; COLOR: #4f81bd"><FONT face=Calibri>dn: CN=John Doe,CN=Users,DC=YourDomain,DC=Com<o:p></o:p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; COLOR: #4f81bd"><FONT face=Calibri>changetype: add<o:p></o:p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; COLOR: #4f81bd"><FONT face=Calibri>objectClass: top<o:p></o:p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; COLOR: #4f81bd"><FONT face=Calibri>objectClass: person<o:p></o:p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; COLOR: #4f81bd"><FONT face=Calibri>objectClass: organizationalPerson<o:p></o:p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; COLOR: #4f81bd"><FONT face=Calibri>objectClass: user<o:p></o:p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; COLOR: #4f81bd"><FONT face=Calibri>cn:&nbsp;John Doe</FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; COLOR: #4f81bd"><FONT face=Calibri>sn: Doe</FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; COLOR: #4f81bd"><FONT face=Calibri>givenName: John</FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; COLOR: #4f81bd"><FONT face=Calibri>distinguishedName: CN=John Doe,CN=Users,DC= YourDomain,DC=Com<o:p></o:p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; COLOR: #4f81bd"><FONT face=Calibri>instanceType: 4<o:p></o:p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; COLOR: #4f81bd"><FONT face=Calibri>whenCreated: 20090122031550.0Z<o:p></o:p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; COLOR: #4f81bd"><FONT face=Calibri>whenChanged: 20090122031551.0Z<o:p></o:p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; COLOR: #4f81bd"><FONT face=Calibri>displayName: John Doe</FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; COLOR: #4f81bd"></SPAN></I><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; COLOR: #4f81bd"><FONT face=Calibri>uSNCreated: 73758<o:p></o:p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; COLOR: #4f81bd"><FONT face=Calibri>uSNChanged: 73763<o:p></o:p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; COLOR: #4f81bd"><FONT face=Calibri>name: Your Name</FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; COLOR: #4f81bd"><FONT face=Calibri>userAccountControl: 512<o:p></o:p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; COLOR: #4f81bd"><FONT face=Calibri>codePage: 0<o:p></o:p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; COLOR: #4f81bd"><FONT face=Calibri>countryCode: 0<o:p></o:p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; COLOR: #4f81bd"><FONT face=Calibri>accountExpires: 9223372036854775807<o:p></o:p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; COLOR: #4f81bd"><FONT face=Calibri>sAMAccountName: jdoe</FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; COLOR: #4f81bd"><FONT face=Calibri>userPrincipalName: <A href="mailto:jdoe@YourDomain.com" mce_href="mailto:jdoe@YourDomain.com">jdoe@YourDomain.com</A><o:p></o:p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; COLOR: #4f81bd"><FONT face=Calibri>objectCategory: CN=Person,CN=Schema,CN=Configuration,DC=YourDomain,DC=Com<o:p></o:p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 10pt; COLOR: #4f81bd"><FONT face=Calibri>mail: John <A href="mailto:Doe@YourDomain.com" mce_href="mailto:Doe@YourDomain.com">Doe@YourDomain.com</A><o:p></o:p></FONT></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 12pt"><o:p><FONT face=Calibri>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 12pt"><o:p><FONT face=Calibri><STRONG>Note:</STRONG> If you plan to import your users into Active Directory you are required to have the following attribues:&nbsp;<SPAN style="FONT-SIZE: 12pt"><FONT face=Calibri>objectclass and samAccountName</FONT></SPAN></FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 8pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 12pt"><FONT face=Calibri>References:<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 6pt; LINE-HEIGHT: normal"><A href="https://support.microsoft.com/kb/555636" mce_href="https://support.microsoft.com/kb/555636"><SPAN style="FONT-SIZE: 12pt"><FONT face=Calibri color=#0000ff>https://support.microsoft.com/kb/555636</FONT></SPAN></A><SPAN style="FONT-SIZE: 12pt"><FONT face=Calibri> <o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 6pt; LINE-HEIGHT: normal"><A href="https://technet.microsoft.com/en-us/library/cc731033.aspx" mce_href="https://technet.microsoft.com/en-us/library/cc731033.aspx"><SPAN style="FONT-SIZE: 12pt"><FONT face=Calibri color=#0000ff>https://technet.microsoft.com/en-us/library/cc731033.aspx</FONT></SPAN></A><SPAN style="FONT-SIZE: 12pt"><FONT face=Calibri> <o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 6pt; LINE-HEIGHT: normal"><A href="https://support.microsoft.com/default.aspx/kb/555638" mce_href="https://support.microsoft.com/default.aspx/kb/555638"><SPAN style="FONT-SIZE: 12pt"><FONT face=Calibri color=#0000ff>https://support.microsoft.com/default.aspx/kb/555638</FONT></SPAN></A><SPAN style="FONT-SIZE: 12pt"><FONT face=Calibri> <o:p></o:p></FONT></SPAN></P>
<P mce_keep="true">&nbsp;</P><FONT face=Calibri></FONT>]]></content:encoded>
    </item>
    <item>
      <title>A simple guide to digitally signing software for Vista</title>
      <link>https://docs.microsoft.com/archive/blogs/lifeofapfe/a-simple-guide-to-digitally-signing-software-for-vista</link>
      <pubDate>Mon, 22 Dec 2008 14:14:00 GMT</pubDate>
      <dc:creator><![CDATA[danielparker]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/lifeofapfe/2008/12/22/a-simple-guide-to-digitally-signing-software-for-vista/</guid>
      <description><![CDATA[Today I will be discussing how to digitally sign software&nbsp;for Vista.&nbsp;I had to put these...]]></description>
      <content:encoded><![CDATA[<P>Today I will be discussing how to digitally sign software&nbsp;for Vista.&nbsp;I had to put these directions together for a customer and I thought I would&nbsp;share them. </P>
<P>When digitally signing software&nbsp;for Vista you should meet the following requirements:</P>
<OL>
<LI>A valid code signing certificate from a CA that is trusted within your environment - <A class="" title="Please click here to read how to setup an Enterprise Ca." href="https://technet.microsoft.com/en-us/library/cc700804.aspx" target=_blank mce_href="https://technet.microsoft.com/en-us/library/cc700804.aspx">Please&nbsp;click here to read how to setup an Enterprise CA</A></LI>
<LI>The certificate must be installed on the&nbsp;workstation/server that you are performing the following&nbsp;steps</LI>
<LI>Windows SDK - The SDK can be downloaded <A class="" title=HERE href="https://www.microsoft.com/downloads/details.aspx?FamilyID=4377F86D-C913-4B5C-B87E-EF72E5B4E065&amp;displaylang=en" target=_blank mce_href="https://www.microsoft.com/downloads/details.aspx?FamilyID=4377F86D-C913-4B5C-B87E-EF72E5B4E065&amp;displaylang=en ">HERE</A></LI></OL>
<P>Once you have met the above requirements&nbsp;you can proceed to the following steps.</P>
<P>1.&nbsp;Click on Start, All Programs, Microsoft Windows SDK and click CMD Shell<BR>2.&nbsp;At the cmd prompt type "cd bin" <BR>3.&nbsp;Type "signtool.exe signwizard" -&nbsp;Click next on the following Welcome&nbsp;screen</P>
<P><BR>&nbsp; <IMG src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7102/00/00/03/17/43/82/welcome.jpg" original-url="https://blogs.technet.com/photos/danpar/images/3174382/499x382.aspx" border=0></P>
<P>4. Select the file that you want to digitally sign and click Next</P>
<P><IMG src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7102/00/00/03/17/43/91/fileselection.jpg" original-url="https://blogs.technet.com/photos/danpar/images/3174391/498x384.aspx" border=0></P>
<P>5. To keep this simple we will select Typical and click Next</P>
<P><IMG src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7102/00/00/03/17/43/98/options.jpg" original-url="https://blogs.technet.com/photos/danpar/images/3174398/499x384.aspx" border=0></P>
<P>6. The following 2 screens&nbsp;are asking for the certificate you would like to use to sign the software. Click on Select from Store and highlight your certificate and click Ok.</P>
<P><IMG src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7102/00/00/03/17/43/99/selectcertificate.jpg" original-url="https://blogs.technet.com/photos/danpar/images/3174399/500x383.aspx" border=0></P>
<P><IMG src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7102/00/00/03/17/43/96/highlightCert.jpg" original-url="https://blogs.technet.com/photos/danpar/images/3174396/419x276.aspx" border=0></P>
<P>7. The following screen is requesting optional information&nbsp;on the data you are signing. You can opt to fill it in or not fill it in and click Next.</P>
<P><IMG src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7102/00/00/03/17/43/93/datadescription.jpg" original-url="https://blogs.technet.com/photos/danpar/images/3174393/500x381.aspx" border=0></P>
<P>8. When signing a software/driver package, you should always use the option to timestamp the signature. This timestamp specifies when the signature was created. If a certificate expires or is revoked for security reasons, then only signatures created before the expiration or revocation are valid. If a timestamp is not included in the signature, then Windows cannot determine if the package was signed before or after the expiration or revocation, and will reject the signature. You can use the following timestamp service Url: <A href="https://timestamp.verisign.com/scripts/timestamp.dll"><FONT color=#0000ff>https://timestamp.verisign.com/scripts/timestamp.dll</FONT></A> </P>
<P>To add the timestamp url, check the box "Add a Timestamp to the data" and put in a valid url and click Next.</P>
<P><IMG src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7102/00/00/03/17/44/01/timestamp.jpg" original-url="https://blogs.technet.com/photos/danpar/images/3174401/499x383.aspx" border=0></P>
<P><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com//danpar/3174391.aspx" original-url="https://blogs.technet.com/photos/danpar/picture3174391.aspx" target=_blank></A></P>
<P>9. At this point you have almost finished digitally signing your software. Click Finish.</P>
<P><IMG src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7102/00/00/03/17/43/92/complete.jpg" original-url="https://blogs.technet.com/photos/danpar/images/3174392/501x381.aspx" border=0></P>
<P>10. After clicking Finish a dialog box will appear requesting access to a protected item. Click Ok.</P>
<P><IMG src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7102/00/00/03/17/44/00/signaturekey.jpg" original-url="https://blogs.technet.com/photos/danpar/images/3174400/384x271.aspx" border=0></P>
<P>11. Now you have completed digitally signing software for Vista. Click Ok.</P>
<P><IMG src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7102/00/00/03/17/43/95/finalcomplete.jpg" original-url="https://blogs.technet.com/photos/danpar/images/3174395/334x118.aspx" border=0></P>
<P>Note: If you would like to verify your signature you can right click on the file that was just signed and go to properties. Within the properties tab you will now have a Digital Signatures tab. You can click that tab and see your digital signature.</P>
<P mce_keep="true">&nbsp;</P>
<P>That concludes how to digitally sign software for Vista. </P>]]></content:encoded>
    </item>
  </channel>
</rss>