<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Lazy man's way to track user logon/logoff</title><link>http://msmvps.com/blogs/kwsupport/archive/2005/02/24/36942.aspx</link><description>I always like to find easy ways to do things. Mick recently shared in the public newsgroup how he maintains a log file of user's logons and logoffs. Step 1: Create the following two files using Notepad or your favorite text editor: ------logon.cmd---</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>re: Lazy man's way to track user logon/logoff</title><link>http://msmvps.com/blogs/kwsupport/archive/2005/02/24/36942.aspx#1726274</link><pubDate>Thu, 24 Sep 2009 13:44:31 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1726274</guid><dc:creator>Gina</dc:creator><description>&lt;p&gt;Is there a way to track &amp;#39;old&amp;#39; logons/offs? if someone no longer is using the computer, but want to see a history? is this possible? &lt;/p&gt;
&lt;p&gt;Thanks!!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1726274" width="1" height="1"&gt;</description></item><item><title>re: Lazy man's way to track user logon/logoff</title><link>http://msmvps.com/blogs/kwsupport/archive/2005/02/24/36942.aspx#1716728</link><pubDate>Wed, 19 Aug 2009 23:15:05 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1716728</guid><dc:creator>baffi888</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Is there a way to track further based on user&amp;#39;s idle time. &amp;nbsp;The problem is that the scrips will only track when users log-off or log-on. &amp;nbsp;Most users have their own computers, and they never log off..simply just locked the computer when they go home.&lt;/p&gt;
&lt;p&gt;Any suggestion is greatly appreciated.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1716728" width="1" height="1"&gt;</description></item><item><title>re: Lazy man's way to track user logon/logoff</title><link>http://msmvps.com/blogs/kwsupport/archive/2005/02/24/36942.aspx#1701944</link><pubDate>Wed, 15 Jul 2009 15:17:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1701944</guid><dc:creator>tosu</dc:creator><description>&lt;p&gt;Is there a way to add this script without using group policy??? &amp;nbsp;We have a bunch of lab computers that we want to add this too by deploying it via ghost console. &amp;nbsp;going to each computer and adding it manually will be a long, time consuming task. &amp;nbsp;Perhaps there&amp;#39;s a way through a registry change?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1701944" width="1" height="1"&gt;</description></item><item><title>re: Lazy man's way to track user logon/logoff</title><link>http://msmvps.com/blogs/kwsupport/archive/2005/02/24/36942.aspx#1698753</link><pubDate>Wed, 08 Jul 2009 15:22:14 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1698753</guid><dc:creator>Kkangtong</dc:creator><description>&lt;p&gt;This works great! But the output file, logs.log, gets overwritten time to time. Does anyone know why and how to prevent?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1698753" width="1" height="1"&gt;</description></item><item><title>re: Lazy man's way to track user logon/logoff</title><link>http://msmvps.com/blogs/kwsupport/archive/2005/02/24/36942.aspx#1688441</link><pubDate>Fri, 17 Apr 2009 14:36:04 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1688441</guid><dc:creator>guaro</dc:creator><description>&lt;p&gt;Hitendra&lt;/p&gt;
&lt;p&gt;Did you find a way to do this track lock and unlock computer user also as well.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1688441" width="1" height="1"&gt;</description></item><item><title>re: Lazy man's way to track user logon/logoff</title><link>http://msmvps.com/blogs/kwsupport/archive/2005/02/24/36942.aspx#1681130</link><pubDate>Tue, 24 Mar 2009 22:41:10 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1681130</guid><dc:creator>dcdcdc</dc:creator><description>&lt;p&gt;Thank you! Works great!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1681130" width="1" height="1"&gt;</description></item><item><title>re: Lazy man's way to track user logon/logoff</title><link>http://msmvps.com/blogs/kwsupport/archive/2005/02/24/36942.aspx#1675204</link><pubDate>Mon, 02 Mar 2009 13:08:54 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1675204</guid><dc:creator>Bhaskar</dc:creator><description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;Is there any way to import all the data to SQL server as soon as there is any update in output file.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;BW&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1675204" width="1" height="1"&gt;</description></item><item><title>re: Lazy man's way to track user logon/logoff</title><link>http://msmvps.com/blogs/kwsupport/archive/2005/02/24/36942.aspx#1674964</link><pubDate>Sun, 01 Mar 2009 11:53:43 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1674964</guid><dc:creator>Hitendra</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We are already doing this, but have a problem on XP, when a user locks his PC at the end of the day and next day comes in and simply unlocks it, the cached login on XP lets him in (though his session with the server is disconnected), and tries in the background to do a authenticate the user on the server.&lt;/p&gt;
&lt;p&gt;The handshake/authentication does happen but in this case the login script set through the Group policies does not run.&lt;/p&gt;
&lt;p&gt;Does anyone has a solution for this problem. Will help immensely to track such users login time who do not restart or log off their PCs.&lt;/p&gt;
&lt;p&gt;Hitendra&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1674964" width="1" height="1"&gt;</description></item><item><title>re: Lazy man's way to track user logon/logoff</title><link>http://msmvps.com/blogs/kwsupport/archive/2005/02/24/36942.aspx#1655245</link><pubDate>Thu, 27 Nov 2008 18:04:14 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1655245</guid><dc:creator>Ashwani</dc:creator><description>&lt;p&gt;Hello Team,&lt;/p&gt;
&lt;p&gt;Thanks for the information. Login batch file works fine, but logoff file works after 20 min of login into system.&lt;/p&gt;
&lt;p&gt;If you logon and after 5 minutes you logoff the system Logoff batch dosent works. Result:--. you will get teh login information but not teh logoff information.&lt;/p&gt;
&lt;p&gt;Somebody please help to resolve teh issue.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1655245" width="1" height="1"&gt;</description></item><item><title>re: Lazy man's way to track user logon/logoff</title><link>http://msmvps.com/blogs/kwsupport/archive/2005/02/24/36942.aspx#1649845</link><pubDate>Mon, 06 Oct 2008 06:12:03 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1649845</guid><dc:creator>Patrick</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt; &amp;nbsp;I need to do a script that track the user usage on the computer. Let say if the user uses the computer for 24hr, it will send an email to me. It have the check the logon time and the logoff time. Anyone know how to do this?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Patrick&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1649845" width="1" height="1"&gt;</description></item><item><title>re: Lazy man's way to track user logon/logoff</title><link>http://msmvps.com/blogs/kwsupport/archive/2005/02/24/36942.aspx#1648201</link><pubDate>Thu, 18 Sep 2008 15:47:34 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1648201</guid><dc:creator>Techie</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am on Win 2003 standard ed server and i am not the I.T admin and I don&amp;#39;t have access to the active directory. So, how can i track the local logon/logff on my server???&lt;/p&gt;
&lt;p&gt;I did not find any &amp;quot;group policy&amp;quot; option but I can see there&amp;#39;s a &amp;quot;local security policy&amp;quot; thing but I do not see any option there to call these scripts.&lt;/p&gt;
&lt;p&gt;Any pointers will be appreciated&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Techie&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1648201" width="1" height="1"&gt;</description></item><item><title>re: Lazy man's way to track user logon/logoff</title><link>http://msmvps.com/blogs/kwsupport/archive/2005/02/24/36942.aspx#1647633</link><pubDate>Fri, 12 Sep 2008 18:03:29 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1647633</guid><dc:creator>Robert Waite</dc:creator><description>&lt;p&gt;Munawar; &amp;nbsp;check the permissions of your shared folder not just the security level.&lt;/p&gt;
&lt;p&gt;this will catch you everytime.&lt;/p&gt;
&lt;p&gt;Bob&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1647633" width="1" height="1"&gt;</description></item><item><title>re: Lazy man's way to track user logon/logoff</title><link>http://msmvps.com/blogs/kwsupport/archive/2005/02/24/36942.aspx#1647533</link><pubDate>Thu, 11 Sep 2008 19:42:47 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1647533</guid><dc:creator>Robert Waite</dc:creator><description>&lt;p&gt;I ran this and get the network path not found, did anyone figure this out?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1647533" width="1" height="1"&gt;</description></item><item><title>re: Lazy man's way to track user logon/logoff</title><link>http://msmvps.com/blogs/kwsupport/archive/2005/02/24/36942.aspx#1646009</link><pubDate>Wed, 27 Aug 2008 19:56:16 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1646009</guid><dc:creator>Munawar</dc:creator><description>&lt;p&gt;I did all as told above, But unable to get the output.&lt;/p&gt;
&lt;p&gt;I shared the folder with everyone full access and at NTFS even i granted users the full access but i am unable to get the login/logoff log.&lt;/p&gt;
&lt;p&gt;If i run the command on a local client&amp;#39;s command prompt with the output address of local computer i get the output on local computer, but if i give the output network path as \\server1\new folder\%username%.csv and then echo the comand in the comand prompt i get the error as Network path not found. Even if i run ths command as admin i get the same error. The network share are reachable and also fullly accessible. Any help plz&lt;/p&gt;
&lt;p&gt;I m using win2k3 as DC and win XP clients.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1646009" width="1" height="1"&gt;</description></item><item><title>re: Lazy man's way to track user logon/logoff</title><link>http://msmvps.com/blogs/kwsupport/archive/2005/02/24/36942.aspx#1628778</link><pubDate>Thu, 29 May 2008 14:00:58 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1628778</guid><dc:creator>Paul</dc:creator><description>&lt;p&gt;Or bj, to add the logon / off details to a file that is named after the date just do the following.&lt;/p&gt;
&lt;p&gt;Create the 2 batchfiles below (Logon.bat and Logoff.bat)&lt;/p&gt;
&lt;p&gt;Add them to the GP as described above.&lt;/p&gt;
&lt;p&gt;Username, action, computername, time, date will be saved to a single txt file that has the current date.&lt;/p&gt;
&lt;p&gt;The next day all the details are saved to a new txt file with that date and so on.&lt;/p&gt;
&lt;p&gt;Then create an xls template to read the data from the txt file so that it sorts it in time and username order.&lt;/p&gt;
&lt;p&gt;Note: &amp;nbsp;you will have to mess about with the date variables in order to get the file name in the correct date format that you require.&lt;/p&gt;
&lt;p&gt;Logon.bat&lt;/p&gt;
&lt;p&gt;---------&lt;/p&gt;
&lt;p&gt;echo	%username%	Logged on	%computername%	%time%	%date% &amp;gt;&amp;gt; \\server\share$\%date:~-7,2%-%date:~0,2%-%date:~-4,4%.txt&lt;/p&gt;
&lt;p&gt;---------&lt;/p&gt;
&lt;p&gt;Logoff.bat&lt;/p&gt;
&lt;p&gt;----------&lt;/p&gt;
&lt;p&gt;echo	%username%	Logged on	%computername%	%time%	%date% &amp;gt;&amp;gt; \\server\share$\%date:~-7,2%-%date:~0,2%-%date:~-4,4%.txt&lt;/p&gt;
&lt;p&gt;----------&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1628778" width="1" height="1"&gt;</description></item><item><title>re: Lazy man's way to track user logon/logoff</title><link>http://msmvps.com/blogs/kwsupport/archive/2005/02/24/36942.aspx#1622589</link><pubDate>Wed, 14 May 2008 18:42:37 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1622589</guid><dc:creator>bj</dc:creator><description>&lt;p&gt;figured I&amp;#39;d post this.&lt;/p&gt;
&lt;p&gt;I have it both logging in and out going into one csv file, administered via group policies. &amp;nbsp;(work great)&lt;/p&gt;
&lt;p&gt;I took it one step further, and created a batch file that at the end of the day will rename the file to the current date. &amp;nbsp; Doing this allows me to keep the log file small, yet still organized via date.&lt;/p&gt;
&lt;p&gt;how to:&lt;/p&gt;
&lt;p&gt;1. Create a bat file in the same folder as your log share.&lt;/p&gt;
&lt;p&gt;2. Note: run the bat file from the same server that the log share is located. &amp;nbsp;(running the bat file from a different computer changed the directory it was being run from, therefor it couldn&amp;#39;t find the csv file, easy fix if someone else wants to look up the solution).&lt;/p&gt;
&lt;p&gt;2a. On the computer hosting the share create an &amp;quot;archive.bat&amp;quot; file and use task scheduler to make it run every day.&lt;/p&gt;
&lt;p&gt;3. archive.bat should read:&lt;/p&gt;
&lt;p&gt;&amp;#39;------Start Copy -----------&lt;/p&gt;
&lt;p&gt;&amp;#39; this runs daily using the task scheduler on server: Apple.&lt;/p&gt;
&lt;p&gt;&amp;#39; Set the Date Format&lt;/p&gt;
&lt;p&gt;&amp;#39; gotten from &lt;a rel="nofollow" target="_new" href="http://www.tech-recipes.com/computer_programming_tips956.html"&gt;www.tech-recipes.com/computer_programming_tips956.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;echo on&lt;/p&gt;
&lt;p&gt;@REM Seamonkey&amp;#39;s quick date batch (MMDDYYYY format)&lt;/p&gt;
&lt;p&gt;@REM Setups %date variable&lt;/p&gt;
&lt;p&gt;@REM First parses month, day, and year into mm , dd, yyyy formats and then combines to be MMDDYYYY&lt;/p&gt;
&lt;p&gt;FOR /F &amp;quot;TOKENS=1* DELIMS= &amp;quot; %%A IN (&amp;#39;DATE/T&amp;#39;) DO SET CDATE=%%B&lt;/p&gt;
&lt;p&gt;FOR /F &amp;quot;TOKENS=1,2 eol=/ DELIMS=/ &amp;quot; %%A IN (&amp;#39;DATE/T&amp;#39;) DO SET mm=%%B&lt;/p&gt;
&lt;p&gt;FOR /F &amp;quot;TOKENS=1,2 DELIMS=/ eol=/&amp;quot; %%A IN (&amp;#39;echo %CDATE%&amp;#39;) DO SET dd=%%B&lt;/p&gt;
&lt;p&gt;FOR /F &amp;quot;TOKENS=2,3 DELIMS=/ &amp;quot; %%A IN (&amp;#39;echo %CDATE%&amp;#39;) DO SET yyyy=%%B&lt;/p&gt;
&lt;p&gt;&amp;#39;SET date=%mm%%dd%%yyyy% &lt;/p&gt;
&lt;p&gt;SET date=%yyyy%-%mm%-%dd%&lt;/p&gt;
&lt;p&gt;&amp;#39; Copy and delete the UserLogon.csv. &amp;nbsp; the UserLogon.csv file will be recreated next time someone logs in.&lt;/p&gt;
&lt;p&gt;copy UserLogon.csv %date%.csv&lt;/p&gt;
&lt;p&gt;del Userlogon.csv&lt;/p&gt;
&lt;p&gt;&amp;#39;-------------End copy-------------&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1622589" width="1" height="1"&gt;</description></item><item><title>re: Lazy man's way to track user logon/logoff</title><link>http://msmvps.com/blogs/kwsupport/archive/2005/02/24/36942.aspx#1611343</link><pubDate>Fri, 02 May 2008 04:52:23 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1611343</guid><dc:creator>Manish</dc:creator><description>&lt;p&gt;A very good discussion, and easy robust and fast solution.&lt;/p&gt;
&lt;p&gt;thank u all.&lt;/p&gt;
&lt;p&gt;we need few more lazy people&amp;#39;s guide to get a revolution in sys. administration.&lt;/p&gt;
&lt;p&gt;keep it up .&lt;/p&gt;
&lt;p&gt;* &amp;nbsp;one more lazy admin.&lt;/p&gt;
&lt;p&gt;Manish&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1611343" width="1" height="1"&gt;</description></item><item><title>re: Lazy man's way to track user logon/logoff</title><link>http://msmvps.com/blogs/kwsupport/archive/2005/02/24/36942.aspx#1559406</link><pubDate>Fri, 28 Mar 2008 19:19:38 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1559406</guid><dc:creator>C. Comito</dc:creator><description>&lt;p&gt;Hey guys/gals, seems to be a lot of people wanting to do this. I&amp;#39;m attempting but am having troubles applying these methods to Win2K Server... Anyone have a &amp;quot;how to&amp;quot; that pertains to what L Bueno wrote for Win2k Server?&lt;/p&gt;
&lt;p&gt;1) Create a folder (c:\monitoring) and shared it as Monitoring$ (the $ will make it a hidden share on the network).&lt;/p&gt;
&lt;p&gt;2) give everyone Write permission on the share.&lt;/p&gt;
&lt;p&gt;3) Save the scripts here for now. Right click on both files and select Copy (we will use this later)&lt;/p&gt;
&lt;p&gt;???4) Launched Server Manager and expand Group Policy-&amp;gt;Forest-&amp;gt;Domains-&amp;gt;MyBusiness-&amp;gt;Users-&amp;gt;SBSUsers&lt;/p&gt;
&lt;p&gt;5)Create a policy here (MonitoringPolicy)&lt;/p&gt;
&lt;p&gt;6) Edit this policy (right-click Edit)&lt;/p&gt;
&lt;p&gt;???7) Navigate to &amp;nbsp;User Configuration-&amp;gt; Windows Settings-&amp;gt; &amp;nbsp;Scripts (Logon/Logoff)-&amp;gt; Logon&lt;/p&gt;
&lt;p&gt;8) Right-click on Logon and choose Properties...&lt;/p&gt;
&lt;p&gt;9) Click Show files button, click Paste and delete logoff.cmd close this window.&lt;/p&gt;
&lt;p&gt;10) Click the Add button on the logon properties window. and click Browse (this will open the logon folder)&lt;/p&gt;
&lt;p&gt;11) Select the logon.cmd file click open, then OK&lt;/p&gt;
&lt;p&gt;12) Click Ok.. &lt;/p&gt;
&lt;p&gt;13) repete the steps 8 thru 12 (when you paste the files delete the logon.cmd and leave the logoff.cmd)&lt;/p&gt;
&lt;p&gt;14) close the GP&lt;/p&gt;
&lt;p&gt;15) click Start-&amp;gt; Run and type gpupdate /force&lt;/p&gt;
&lt;p&gt;16) Login from a workstation to your network&lt;/p&gt;
&lt;p&gt;17) On your server locate the monitoring folder and there you will see the log files created based on the user name....&lt;/p&gt;
&lt;p&gt;Thank you all.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1559406" width="1" height="1"&gt;</description></item><item><title>re: Lazy man's way to track user logon/logoff</title><link>http://msmvps.com/blogs/kwsupport/archive/2005/02/24/36942.aspx#1558475</link><pubDate>Fri, 28 Mar 2008 09:09:22 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1558475</guid><dc:creator>Arvind</dc:creator><description>&lt;p&gt;Logon scripts are only executing when loging locally. When loging from a workstation the logon scripts are not executing. Write permission have been granted to the log files.&lt;/p&gt;
&lt;p&gt;From remote machine when running the script manually i.e&lt;/p&gt;
&lt;p&gt;\\server1\shared\logon.cmd &amp;nbsp;then the entry is logged in log file.&lt;/p&gt;
&lt;p&gt;Any help will be highly useful.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1558475" width="1" height="1"&gt;</description></item><item><title>re: Lazy man's way to track user logon/logoff</title><link>http://msmvps.com/blogs/kwsupport/archive/2005/02/24/36942.aspx#1485427</link><pubDate>Tue, 29 Jan 2008 10:49:14 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1485427</guid><dc:creator>Richard</dc:creator><description>&lt;p&gt;@J. Sheridan:&lt;/p&gt;
&lt;p&gt;Use the %clientname% variable to log the computername of the users pc/laptop.&lt;/p&gt;
&lt;p&gt;Not sure how to log the client IP address.&lt;/p&gt;
&lt;p&gt;Richard&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1485427" width="1" height="1"&gt;</description></item></channel></rss>