<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Active Directory: VBscript to enumerate the last logon of all AD users and a lot of user attributes V2</title>
	<atom:link href="http://vbscriptblog.com/vbscript/active-directory/lastlogon-active-directory-vbscript/active-directory-vbscript-to-enumerate-the-last-logon-of-all-ad-users-and-a-lot-of-user-attributes-v2/feed/" rel="self" type="application/rss+xml" />
	<link>http://vbscriptblog.com/vbscript/active-directory/lastlogon-active-directory-vbscript/active-directory-vbscript-to-enumerate-the-last-logon-of-all-ad-users-and-a-lot-of-user-attributes-v2/</link>
	<description>Scripting for Windows Sysadmins</description>
	<lastBuildDate>Thu, 10 May 2012 12:45:52 +0200</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: etai</title>
		<link>http://vbscriptblog.com/vbscript/active-directory/lastlogon-active-directory-vbscript/active-directory-vbscript-to-enumerate-the-last-logon-of-all-ad-users-and-a-lot-of-user-attributes-v2/#comment-4331</link>
		<dc:creator>etai</dc:creator>
		<pubDate>Tue, 24 Jan 2012 16:27:36 +0000</pubDate>
		<guid isPermaLink="false">http://deludi.nl/blog/?p=421#comment-4331</guid>
		<description>hi drik,

when i tried to run the script it shows me the Expected statement...
what should i do with that?

thx</description>
		<content:encoded><![CDATA[<p>hi drik,</p>
<p>when i tried to run the script it shows me the Expected statement&#8230;<br />
what should i do with that?</p>
<p>thx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dirk adamsky</title>
		<link>http://vbscriptblog.com/vbscript/active-directory/lastlogon-active-directory-vbscript/active-directory-vbscript-to-enumerate-the-last-logon-of-all-ad-users-and-a-lot-of-user-attributes-v2/#comment-1696</link>
		<dc:creator>dirk adamsky</dc:creator>
		<pubDate>Thu, 22 Sep 2011 09:10:46 +0000</pubDate>
		<guid isPermaLink="false">http://deludi.nl/blog/?p=421#comment-1696</guid>
		<description>Hi Peter and Felipe,

Did some testing/checking: you are both right. There were slashes missing in the code on line 55. The reason for that is that i copied the blog articles from my previous site. With the copying i had a problem that the &quot;\&quot; sign wasn&#039;t copied. 
The code above is now corrected and working again.
Please let me know if it works on Win7.
Thank you in advance.

Best regards,

dirk adamsky</description>
		<content:encoded><![CDATA[<p>Hi Peter and Felipe,</p>
<p>Did some testing/checking: you are both right. There were slashes missing in the code on line 55. The reason for that is that i copied the blog articles from my previous site. With the copying i had a problem that the &#8220;\&#8221; sign wasn&#8217;t copied.<br />
The code above is now corrected and working again.<br />
Please let me know if it works on Win7.<br />
Thank you in advance.</p>
<p>Best regards,</p>
<p>dirk adamsky</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dirk adamsky</title>
		<link>http://vbscriptblog.com/vbscript/active-directory/lastlogon-active-directory-vbscript/active-directory-vbscript-to-enumerate-the-last-logon-of-all-ad-users-and-a-lot-of-user-attributes-v2/#comment-1695</link>
		<dc:creator>dirk adamsky</dc:creator>
		<pubDate>Thu, 22 Sep 2011 08:49:16 +0000</pubDate>
		<guid isPermaLink="false">http://deludi.nl/blog/?p=421#comment-1695</guid>
		<description>Hi Peter,

The scripts are build on and tested in a 2003/xp environment.
When you have a 2003 AD with a win 7 client they should work also.
Found this explanation for the error code:

http://www.computerperformance.co.uk/Logon/code/code_80041021.htm

Can you check if it&#039;s a cut and paste error?
btw you can copy the scriptcode with the icons in the upper right corner of the script code.

Regards,

dirk adamsky</description>
		<content:encoded><![CDATA[<p>Hi Peter,</p>
<p>The scripts are build on and tested in a 2003/xp environment.<br />
When you have a 2003 AD with a win 7 client they should work also.<br />
Found this explanation for the error code:</p>
<p><a href="http://www.computerperformance.co.uk/Logon/code/code_80041021.htm" rel="nofollow">http://www.computerperformance.co.uk/Logon/code/code_80041021.htm</a></p>
<p>Can you check if it&#8217;s a cut and paste error?<br />
btw you can copy the scriptcode with the icons in the upper right corner of the script code.</p>
<p>Regards,</p>
<p>dirk adamsky</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Felipe</title>
		<link>http://vbscriptblog.com/vbscript/active-directory/lastlogon-active-directory-vbscript/active-directory-vbscript-to-enumerate-the-last-logon-of-all-ad-users-and-a-lot-of-user-attributes-v2/#comment-1669</link>
		<dc:creator>Felipe</dc:creator>
		<pubDate>Wed, 21 Sep 2011 03:10:50 +0000</pubDate>
		<guid isPermaLink="false">http://deludi.nl/blog/?p=421#comment-1669</guid>
		<description>Hi, i try the use the script and i got the same error above. :S any idea to add the column whit that information in AD. Thanks</description>
		<content:encoded><![CDATA[<p>Hi, i try the use the script and i got the same error above. :S any idea to add the column whit that information in AD. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://vbscriptblog.com/vbscript/active-directory/lastlogon-active-directory-vbscript/active-directory-vbscript-to-enumerate-the-last-logon-of-all-ad-users-and-a-lot-of-user-attributes-v2/#comment-1662</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Tue, 20 Sep 2011 15:21:25 +0000</pubDate>
		<guid isPermaLink="false">http://deludi.nl/blog/?p=421#comment-1662</guid>
		<description>none of your scripts work on my Win7 machine... why not?

They throw this error: 

Windows Script Host
Line: 55
Char: 2
Error: 0x80041021
Code: 90041021
Source: (null)</description>
		<content:encoded><![CDATA[<p>none of your scripts work on my Win7 machine&#8230; why not?</p>
<p>They throw this error: </p>
<p>Windows Script Host<br />
Line: 55<br />
Char: 2<br />
Error: 0&#215;80041021<br />
Code: 90041021<br />
Source: (null)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dirk adamsky</title>
		<link>http://vbscriptblog.com/vbscript/active-directory/lastlogon-active-directory-vbscript/active-directory-vbscript-to-enumerate-the-last-logon-of-all-ad-users-and-a-lot-of-user-attributes-v2/#comment-326</link>
		<dc:creator>dirk adamsky</dc:creator>
		<pubDate>Thu, 23 Jun 2011 16:24:59 +0000</pubDate>
		<guid isPermaLink="false">http://deludi.nl/blog/?p=421#comment-326</guid>
		<description>Hi Kevin,

Maybe the WMI stack is corrupt on your machine.
Can you run the script on another machine?

Dirk Adamsky</description>
		<content:encoded><![CDATA[<p>Hi Kevin,</p>
<p>Maybe the WMI stack is corrupt on your machine.<br />
Can you run the script on another machine?</p>
<p>Dirk Adamsky</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://vbscriptblog.com/vbscript/active-directory/lastlogon-active-directory-vbscript/active-directory-vbscript-to-enumerate-the-last-logon-of-all-ad-users-and-a-lot-of-user-attributes-v2/#comment-323</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Thu, 23 Jun 2011 15:47:29 +0000</pubDate>
		<guid isPermaLink="false">http://deludi.nl/blog/?p=421#comment-323</guid>
		<description>strComputer Command is not working properly when I run script.. Any Ideas 0x80041021</description>
		<content:encoded><![CDATA[<p>strComputer Command is not working properly when I run script.. Any Ideas 0&#215;80041021</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dirk adamsky</title>
		<link>http://vbscriptblog.com/vbscript/active-directory/lastlogon-active-directory-vbscript/active-directory-vbscript-to-enumerate-the-last-logon-of-all-ad-users-and-a-lot-of-user-attributes-v2/#comment-88</link>
		<dc:creator>dirk adamsky</dc:creator>
		<pubDate>Mon, 02 May 2011 08:08:19 +0000</pubDate>
		<guid isPermaLink="false">http://deludi.nl/blog/?p=421#comment-88</guid>
		<description>Hi Irshad,

Thank you.

Best regards,

dirk adamsky</description>
		<content:encoded><![CDATA[<p>Hi Irshad,</p>
<p>Thank you.</p>
<p>Best regards,</p>
<p>dirk adamsky</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: irshad</title>
		<link>http://vbscriptblog.com/vbscript/active-directory/lastlogon-active-directory-vbscript/active-directory-vbscript-to-enumerate-the-last-logon-of-all-ad-users-and-a-lot-of-user-attributes-v2/#comment-87</link>
		<dc:creator>irshad</dc:creator>
		<pubDate>Mon, 02 May 2011 07:59:48 +0000</pubDate>
		<guid isPermaLink="false">http://deludi.nl/blog/?p=421#comment-87</guid>
		<description>Hi Dirk,
Many thanks for the script ,its working fine in my domain and saves a lot of time for cleaning AD.

Thank you so much.
regards
irshad</description>
		<content:encoded><![CDATA[<p>Hi Dirk,<br />
Many thanks for the script ,its working fine in my domain and saves a lot of time for cleaning AD.</p>
<p>Thank you so much.<br />
regards<br />
irshad</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dirk adamsky</title>
		<link>http://vbscriptblog.com/vbscript/active-directory/lastlogon-active-directory-vbscript/active-directory-vbscript-to-enumerate-the-last-logon-of-all-ad-users-and-a-lot-of-user-attributes-v2/#comment-86</link>
		<dc:creator>dirk adamsky</dc:creator>
		<pubDate>Wed, 02 Feb 2011 12:16:22 +0000</pubDate>
		<guid isPermaLink="false">http://deludi.nl/blog/?p=421#comment-86</guid>
		<description>Hi Barca,

From your comment I think that you invoke wscript.exe (windows version) instead of cscript.exe (command line version.
To run a script:
1. open a command prompt
2. go to the directory with the script in it
3. give &#039;cscript scriptname&#039; (without quotes) and enter

Best regards,

Dirk Adamsky</description>
		<content:encoded><![CDATA[<p>Hi Barca,</p>
<p>From your comment I think that you invoke wscript.exe (windows version) instead of cscript.exe (command line version.<br />
To run a script:<br />
1. open a command prompt<br />
2. go to the directory with the script in it<br />
3. give &#8216;cscript scriptname&#8217; (without quotes) and enter</p>
<p>Best regards,</p>
<p>Dirk Adamsky</p>
]]></content:encoded>
	</item>
</channel>
</rss>

