<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6959446635996930517</id><updated>2011-10-13T02:16:21.446-07:00</updated><title type='text'>John's Tech Blog</title><subtitle type='html'>Mostly technical stuff to simplify administration tasks!</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://johnjersey.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6959446635996930517/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://johnjersey.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>JJ</name><uri>http://www.blogger.com/profile/11407209694134650386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_O82pb1iq2Ks/SqhudGVcl7I/AAAAAAAAAAM/9svgFZyquJE/S220/jj.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>12</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6959446635996930517.post-5673603357195870540</id><published>2009-04-28T16:12:00.000-07:00</published><updated>2009-04-28T16:16:26.110-07:00</updated><title type='text'>Checking on your scheduled tasks!</title><content type='html'>From a Windows command prompt:&lt;br /&gt;&lt;br /&gt;schtasks /query&lt;br /&gt;&lt;br /&gt;This will give you output of the current machine.&lt;br /&gt;&lt;br /&gt;schtasks /query /s \\servername &gt;&gt;\\server\sharename\tasks\server1_tasks.csv&lt;br /&gt;&lt;br /&gt;This will send the output to a file named server1_tasks.csv on a network share and each subsequent run, will append to this file.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6959446635996930517-5673603357195870540?l=johnjersey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://johnjersey.blogspot.com/feeds/5673603357195870540/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6959446635996930517&amp;postID=5673603357195870540' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6959446635996930517/posts/default/5673603357195870540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6959446635996930517/posts/default/5673603357195870540'/><link rel='alternate' type='text/html' href='http://johnjersey.blogspot.com/2009/04/checking-on-your-scheduled-tasks.html' title='Checking on your scheduled tasks!'/><author><name>JJ</name><uri>http://www.blogger.com/profile/11407209694134650386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_O82pb1iq2Ks/SqhudGVcl7I/AAAAAAAAAAM/9svgFZyquJE/S220/jj.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6959446635996930517.post-3039584664779769483</id><published>2009-04-28T16:02:00.000-07:00</published><updated>2009-04-28T16:15:41.190-07:00</updated><title type='text'>Printing from Windows using IPP to CUPS</title><content type='html'>The scenario is this - you are using CUPS (Common Unix Printing System) and want to have central logging of all your printing.  By using Internet Printing Protocol (IPP) you can set up your Windows hosts to print via IPP to CUPS.&lt;br /&gt;&lt;br /&gt;Help available from here:&lt;br /&gt;rundll32 printui.dll,PrintUIEntry /?&lt;br /&gt;&lt;br /&gt;The process to install the printers can be accomplished via the add/printer wizard, but I am a command line guy so I use this for an HP 2605DN printer:&lt;br /&gt;&lt;br /&gt;rundll32 printui.dll,PrintUIEntry  /if /f "\\printserver\hppcp602.inf" /b "Printer on Printserver - 2605 PCL 6" /r "http://cupsprintserver:631/printers/printername" /m "HP Color LaserJet 2605 PCL 6"&lt;br /&gt;&lt;br /&gt;The key to this is the last part - "HP Color LaserJet 2605 PCL 6" as this has to match the actual driver name that is listed in the .inf file verbatim.&lt;br /&gt;&lt;br /&gt;Enjoy!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6959446635996930517-3039584664779769483?l=johnjersey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://johnjersey.blogspot.com/feeds/3039584664779769483/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6959446635996930517&amp;postID=3039584664779769483' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6959446635996930517/posts/default/3039584664779769483'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6959446635996930517/posts/default/3039584664779769483'/><link rel='alternate' type='text/html' href='http://johnjersey.blogspot.com/2009/04/printing-from-windows-using-ipp-to-cups.html' title='Printing from Windows using IPP to CUPS'/><author><name>JJ</name><uri>http://www.blogger.com/profile/11407209694134650386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_O82pb1iq2Ks/SqhudGVcl7I/AAAAAAAAAAM/9svgFZyquJE/S220/jj.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6959446635996930517.post-2529915917416703389</id><published>2009-02-03T14:06:00.000-08:00</published><updated>2009-02-03T14:09:04.114-08:00</updated><title type='text'>MOM SQL Error</title><content type='html'>&lt;span style="font-family:arial;"&gt;Description: Could not connect using SQLDMO to SQL Instance MSSQLSERVER. However, the instance is currently running.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3 id="tocHeadRef"&gt;Method 1: Register the Sqldmo.dll file&lt;/h3&gt;&lt;script type="text/javascript"&gt;         loadTOCNode(2, 'resolution');       &lt;/script&gt;If you receive the first two errors that are mentioned in the "Symptoms" section, follow these steps:&lt;ol&gt;&lt;li&gt;Log on to the computer that is running MOM 2005 and SQL Server 2000 by using an account that has administrative permissions.&lt;/li&gt;&lt;li&gt;Click &lt;strong class="uiterm"&gt;Start&lt;/strong&gt;, click &lt;strong class="uiterm"&gt;Run&lt;/strong&gt;, type &lt;span class="userInput"&gt;regsvr32.exe sqldmo.dll&lt;/span&gt;, and then click &lt;strong class="uiterm"&gt;OK&lt;/strong&gt;.&lt;/li&gt;&lt;li&gt;In the &lt;strong class="uiterm"&gt;Regsvr32&lt;/strong&gt; dialog box, click &lt;strong class="uiterm"&gt;OK&lt;/strong&gt;.&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-size:100%;"&gt;http://support.microsoft.com/kb/925644%5&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6959446635996930517-2529915917416703389?l=johnjersey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://johnjersey.blogspot.com/feeds/2529915917416703389/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6959446635996930517&amp;postID=2529915917416703389' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6959446635996930517/posts/default/2529915917416703389'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6959446635996930517/posts/default/2529915917416703389'/><link rel='alternate' type='text/html' href='http://johnjersey.blogspot.com/2009/02/mom-sql-error.html' title='MOM SQL Error'/><author><name>JJ</name><uri>http://www.blogger.com/profile/11407209694134650386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_O82pb1iq2Ks/SqhudGVcl7I/AAAAAAAAAAM/9svgFZyquJE/S220/jj.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6959446635996930517.post-1281126008470974605</id><published>2009-01-06T07:32:00.000-08:00</published><updated>2009-01-06T07:40:05.612-08:00</updated><title type='text'>Explorer.exe not loading on XP systems</title><content type='html'>I recently ran into a problem where intermittently the explorer.exe process was not running when XP users logged on.  The result was a blue background with no icons displayed - if you ran ctrl alt del and started a new process, explorer.exe the desktop loaded fine and all was well. &lt;br /&gt;&lt;br /&gt;There was lots of chatter about spyware and hijacked browsers, but that was not the issue.  I was trying to determine if SP3 or perhaps the Symantec EndPoint virus software was the culprit as both were installed about the same time.&lt;br /&gt;&lt;br /&gt;As it turns out, Symantec posted a comment about this on their support site in respect to login scripts.  If you create a new GPO like this:&lt;br /&gt;&lt;br /&gt;Computer Configuration, Administrative Templates, System/Scripts&lt;br /&gt;Policy Setting - Run logon scripts synchronously&lt;br /&gt;&lt;br /&gt;This allows the login script to load, antivirus to scan, and the explorer.exe process to execute!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6959446635996930517-1281126008470974605?l=johnjersey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://johnjersey.blogspot.com/feeds/1281126008470974605/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6959446635996930517&amp;postID=1281126008470974605' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6959446635996930517/posts/default/1281126008470974605'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6959446635996930517/posts/default/1281126008470974605'/><link rel='alternate' type='text/html' href='http://johnjersey.blogspot.com/2009/01/explorerexe-not-loading-on-xp-systems.html' title='Explorer.exe not loading on XP systems'/><author><name>JJ</name><uri>http://www.blogger.com/profile/11407209694134650386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_O82pb1iq2Ks/SqhudGVcl7I/AAAAAAAAAAM/9svgFZyquJE/S220/jj.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6959446635996930517.post-896407118348940087</id><published>2008-12-11T07:36:00.000-08:00</published><updated>2008-12-11T07:43:03.587-08:00</updated><title type='text'>Netbackup</title><content type='html'>I recently ran into an issue with Netbackup 6.5.1 and wanted to make a mental note about this.  I was perplexed as to why when I looked through the restore gui one of my systems was only displaying the weekly full backups but not the incremental ones.&lt;br /&gt;&lt;br /&gt;While this caused some confusion, the backups always finished successfully and never once did I suspect that I would not be able to retrieve data.  Upon looking in the /usr/openv/netbackup/db/images directory I found the directory that correlated to my system name but it was listed twice.  Once with like this "Systemname" and then "systemname".  Notice the capital letter?  The java gui and for that matter, the client interface, ignores the capital letter and just pulls the information from the lower case.&lt;br /&gt;&lt;br /&gt;In my incremental policy, the client name was listed with the capital and even though my backups were being accomplished, I still could not "view" the results.&lt;br /&gt;&lt;br /&gt;I opened a case with Veritas (Symantec) and will post any results here.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6959446635996930517-896407118348940087?l=johnjersey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://johnjersey.blogspot.com/feeds/896407118348940087/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6959446635996930517&amp;postID=896407118348940087' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6959446635996930517/posts/default/896407118348940087'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6959446635996930517/posts/default/896407118348940087'/><link rel='alternate' type='text/html' href='http://johnjersey.blogspot.com/2008/12/netbackup.html' title='Netbackup'/><author><name>JJ</name><uri>http://www.blogger.com/profile/11407209694134650386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_O82pb1iq2Ks/SqhudGVcl7I/AAAAAAAAAAM/9svgFZyquJE/S220/jj.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6959446635996930517.post-4707310881609101279</id><published>2008-11-03T12:33:00.003-08:00</published><updated>2008-11-05T11:35:42.277-08:00</updated><title type='text'>Services for Unix "Network Error 53"</title><content type='html'>&lt;pre style="font-family: verdana;" wrap=""&gt;&lt;span style="font-size:100%;"&gt;"Network Error 53", "The data area passed to a system call is too small" or "Unknown Error"&lt;br /&gt;&lt;br /&gt;Client for NFS included with Windows Server 2003 R2 returns different errors when trying to access NFS shares on UNIX-based NFS servers. The exact error message may depend on your environment - you might get one or more from the ones mentioned above. And, at the same time, SFU 3.5 Client for NFS may work just fine.&lt;br /&gt;&lt;br /&gt;Analyzing the network traffic may show MOUNT or NFS calls being "rejected for security reasons (5)".&lt;br /&gt;&lt;br /&gt;The R2 Client for NFS uses high ports (&gt;1024) to connect to NFS servers and that's known to cause the above errors. There are two ways to fix this -&lt;br /&gt;&lt;br /&gt;Change how your NFS servers export the NFS shares and make them allow connections from high ports&lt;br /&gt;OR&lt;br /&gt;Add /UseReservedPorts /DWORD value under HKLM\Software\Microsoft\Client for NFS\CurrentVersion\Default and set it to 1.&lt;br /&gt;&lt;br /&gt;Restart the Client for NFS service to allow the change to take effect.&lt;/span&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6959446635996930517-4707310881609101279?l=johnjersey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://johnjersey.blogspot.com/feeds/4707310881609101279/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6959446635996930517&amp;postID=4707310881609101279' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6959446635996930517/posts/default/4707310881609101279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6959446635996930517/posts/default/4707310881609101279'/><link rel='alternate' type='text/html' href='http://johnjersey.blogspot.com/2008/11/services-for-unix-network-error-53_9080.html' title='Services for Unix &quot;Network Error 53&quot;'/><author><name>JJ</name><uri>http://www.blogger.com/profile/11407209694134650386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_O82pb1iq2Ks/SqhudGVcl7I/AAAAAAAAAAM/9svgFZyquJE/S220/jj.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6959446635996930517.post-6270616880507765538</id><published>2008-11-03T12:13:00.002-08:00</published><updated>2008-11-05T11:35:00.602-08:00</updated><title type='text'>Documentation to support running a program (application, script, etc) as a Windows Service:</title><content type='html'>&lt;pre style="font-family: verdana;" wrap=""&gt;&lt;span style=";font-size:100%;" &gt;Requirements:  There are two utilities needed to run a program as a NT&lt;br /&gt;Service&lt;br /&gt;&lt;br /&gt;srvany.exe and instsrv.exe&lt;br /&gt;&lt;br /&gt;instsrv installs an instance of srvany as an NT Service and throughout the rest of the setup process that instance of srvany runs the program.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. To install srvany, open a command shell by clicking Start, Run, cmd and in the console window type INSTSRV NAME_OF_SERVICE&lt;br /&gt;&lt;br /&gt;C:\Windows\System32\SRVANY.EXE&lt;br /&gt;&lt;br /&gt;(If srvany is not located in C:\Windows\System32\, this command needs to be changed accordingly.) This initializes an instance of srvany as an NT Service with NAME_OF_SERVICE as the Service name.  This name will appear under the Services application in the Control Panel.&lt;br /&gt;&lt;br /&gt;2. The next step is to edit the Windows NT Registry using RegEdit - Click on Start, Run, regedit.&lt;br /&gt;&lt;br /&gt;3. Now locate the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NAME_OF_SERVICE registry key.  The key can be found by either maneuvering through the registry tree, or by searching for NAME_OF_SERVICE (Edit-&gt;Find).  Right click on the key and choose New, then Key. This will create what looks like a new folder. Name the new key Parameters.&lt;br /&gt;&lt;br /&gt;4. Right click on Parameters and select New, then String Value and in the space provided type Application.&lt;br /&gt;&lt;br /&gt;5. Again, right click on Parameters and select New, then String Value and in the space provided type AppParameters.&lt;br /&gt;&lt;br /&gt;6. Right click on Application and choose Modify, then type in the path to your Perl binary. For example c:\perl\bin\perl.exe.&lt;br /&gt;&lt;br /&gt;7. Next, right click on AppParameters and select Modify then enter the path to the program you want run as a Service. There are no more required registry changes, so RegEdit can now be closed.&lt;br /&gt;&lt;br /&gt;8. Now open the Control Panel and double-click the Services application.  There should now be a service listed with the name of the service you chose in step one. The Startup option should be set to Automatic by default, but if it is not, click Startup and then Automatic if you want the Service to be started automatically when the machine boots. If you do not want it to start automatically, choose Manual. It is also best to have it log in as the System Account (which should be the default) because this way it will run no matter who is logged on to the machine, and even if no user is logged on. If appropriate, choose a user with the proper permissions for the application for the Log On As option. To get a little more information on Services, choose Start-&gt;Help-&gt;Find, type in Services and select "To configure startup for a service."&lt;br /&gt;&lt;br /&gt;9. Finally, choose the Service from the list of Services, and click the Start button to launch it. The program is now running as an NT Service.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6959446635996930517-6270616880507765538?l=johnjersey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://johnjersey.blogspot.com/feeds/6270616880507765538/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6959446635996930517&amp;postID=6270616880507765538' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6959446635996930517/posts/default/6270616880507765538'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6959446635996930517/posts/default/6270616880507765538'/><link rel='alternate' type='text/html' href='http://johnjersey.blogspot.com/2008/11/documentation-to-support-running_03.html' title='Documentation to support running a program (application, script, etc) as a Windows Service:'/><author><name>JJ</name><uri>http://www.blogger.com/profile/11407209694134650386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_O82pb1iq2Ks/SqhudGVcl7I/AAAAAAAAAAM/9svgFZyquJE/S220/jj.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6959446635996930517.post-267238264902345440</id><published>2008-10-15T09:49:00.001-07:00</published><updated>2008-11-05T11:34:43.304-08:00</updated><title type='text'>Terminal Server License Error</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;span style="font-family: verdana;"&gt;I have several windows 2003 terminal servers that up until today, were working flawlessly.  They have been in service for well over a year and well past the terminal server license grace period.  The server that holds the license remained operational, however, the other two terminal servers were not accepting connections for either users or administrators.  The downside to this were the terminal servers are virtual machines and there is no "real" console.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;Following the Microsoft knowledge base article, http://support.microsoft.com/?kbid=279561, I was able to create the appropriate registry key and point to a specific license server instead of using the auto discovery method which at this point in time, fails.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;To select a specific license server for use with various Windows Terminal Services servers in a domain or site, you can modify the registry to point to a particular license server. You can specify that all Terminal Services servers work with a particular license server for accounting purposes. A Terminal Services server and the license server can reside in different domains. Microsoft recommends that you use the LicenseServers registry key to reduce any issues with the Terminal Server licensing discovery process.&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6959446635996930517-267238264902345440?l=johnjersey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://johnjersey.blogspot.com/feeds/267238264902345440/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6959446635996930517&amp;postID=267238264902345440' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6959446635996930517/posts/default/267238264902345440'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6959446635996930517/posts/default/267238264902345440'/><link rel='alternate' type='text/html' href='http://johnjersey.blogspot.com/2008/10/terminal-server-license-error.html' title='Terminal Server License Error'/><author><name>JJ</name><uri>http://www.blogger.com/profile/11407209694134650386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_O82pb1iq2Ks/SqhudGVcl7I/AAAAAAAAAAM/9svgFZyquJE/S220/jj.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6959446635996930517.post-8296380177269240336</id><published>2008-09-24T12:33:00.000-07:00</published><updated>2008-09-24T13:07:34.501-07:00</updated><title type='text'>Microsoft Log Parser</title><content type='html'>Logs are an important part of daily administration however, getting the data out of the logs can be at times, painstaking!&lt;br /&gt;&lt;br /&gt;Microsoft's Log Parser utility - http://www.microsoft.com/downloads/details.aspx?FamilyID=890cd06b-abf8-4c25-91b2-f8d975cf8c07&amp;amp;displaylang=en  can help with extracting the data you want.  While the tool is comprehensive enough, the command line queries can be difficult to create.&lt;br /&gt;&lt;br /&gt;For example, after you download and install the tool and you wanted to examine all of the print activities from user name "test".&lt;br /&gt;&lt;br /&gt;You would type the following command:&lt;br /&gt;&lt;br /&gt;LogParser "SELECT TimeGenerated, SourceName, EventCategoryName, Message INTO report.txt FROM System WHERE EventID = 10 AND SID LIKE '%test%'" -resolveSIDs:ON&lt;br /&gt;&lt;br /&gt;The report.txt file output will display, nicely formatted, all the particulars for that user.  Of course, you can change the parameters to match the security log too!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6959446635996930517-8296380177269240336?l=johnjersey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://johnjersey.blogspot.com/feeds/8296380177269240336/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6959446635996930517&amp;postID=8296380177269240336' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6959446635996930517/posts/default/8296380177269240336'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6959446635996930517/posts/default/8296380177269240336'/><link rel='alternate' type='text/html' href='http://johnjersey.blogspot.com/2008/09/microsoft-log-parser.html' title='Microsoft Log Parser'/><author><name>JJ</name><uri>http://www.blogger.com/profile/11407209694134650386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_O82pb1iq2Ks/SqhudGVcl7I/AAAAAAAAAAM/9svgFZyquJE/S220/jj.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6959446635996930517.post-1451621228592744865</id><published>2008-09-11T08:06:00.001-07:00</published><updated>2008-11-05T11:34:26.902-08:00</updated><title type='text'>Roaming Profiles and Active Desktop Error</title><content type='html'>&lt;pre style="font-family: verdana;" wrap=""&gt;&lt;span style="font-size:100%;"&gt;If for some reason you get an Active Desktop Recovery error on any Windoes System (Noticeable by a white background and some verbiage about clicking this for recovery) - try this:&lt;br /&gt;&lt;br /&gt;KEY_CURRENT_USER\Software\Microsoft\Internet&lt;br /&gt;Explorer\Desktop\SafeMode\Components&lt;br /&gt;Change the value of DeskHtmlVersion to zero instead of decimal 272 or whatever value is there.&lt;/span&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6959446635996930517-1451621228592744865?l=johnjersey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://johnjersey.blogspot.com/feeds/1451621228592744865/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6959446635996930517&amp;postID=1451621228592744865' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6959446635996930517/posts/default/1451621228592744865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6959446635996930517/posts/default/1451621228592744865'/><link rel='alternate' type='text/html' href='http://johnjersey.blogspot.com/2008/09/roaming-profiles-and-active-desktop_11.html' title='Roaming Profiles and Active Desktop Error'/><author><name>JJ</name><uri>http://www.blogger.com/profile/11407209694134650386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_O82pb1iq2Ks/SqhudGVcl7I/AAAAAAAAAAM/9svgFZyquJE/S220/jj.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6959446635996930517.post-891451899350057756</id><published>2008-09-10T08:12:00.000-07:00</published><updated>2008-11-05T11:34:11.437-08:00</updated><title type='text'>Linux Network Time Protocol (NTP)</title><content type='html'>&lt;span style="font-family: verdana;font-family:trebuchet ms;font-size:100%;"  &gt;&lt;span style="font-size:100%;"&gt;Time sync is important for both Windows and Unix computers and this is usually accomplished in an enterprise environment using an external NTP server.  Both operating systems come with their own preferred servers, however, there are a slew of time servers available and the most popular ones can be found at the National Institute of Standards and Technology (NIST) - http://tf.nist.gov/service/time-servers.html&lt;br /&gt;&lt;br /&gt;Your ntp.conf is located in the /etc directory on your *nix host.  If you examine the file (vi, cat, more) it should look something like this:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;pre style="font-family: verdana;font-family:trebuchet ms;"  wrap=""&gt;&lt;span style="font-size:100%;"&gt;Restrict default nomodify notrap noquery&lt;br /&gt;restrict 127.0.0.1&lt;br /&gt;driftfile /var/lib/ntp/drift&lt;br /&gt;broadcastdelay 0.008&lt;br /&gt;keys /etc/ntp/keys&lt;br /&gt;server www.time.gov&lt;br /&gt;restrict time mask 255.255.255.255 nomodify notrap noquery&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If you cd to /usr/sbin and run ntpq -p you should see your NTP server listed and the status of the server.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;remote            refid                  st t when poll    reach  delay   offset    jitter&lt;br /&gt;==============================================================================&lt;br /&gt;*www.time.gov 192.43.244.18     2 u  987 1024  377   10.471  3.530   1.369&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style=""&gt;If you don't see the * in front of your time server it signifies that the time is not in sync with the remote time server.  If the jitter is a really large number, that also is a clue that the NTP is not working.  You could have a firewall that is not allowing the time protocol to pass or perhaps that time server is not available.&lt;br /&gt;&lt;br /&gt;My recommendation is to use a dedicated host inside your network as the time server, that utilizes a pool of time servers.  Point all your hosts to the local time server and create an alias called "time" that you reference in your ntp.conf file instead of using a specific time host.  This will allow time servers to come and go and you don't have to update the ntp.conf on every host.&lt;br /&gt;&lt;br /&gt;Enjoy!&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-family: verdana;font-family:trebuchet ms;font-size:100%;"  &gt;&lt;em&gt;&lt;/em&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6959446635996930517-891451899350057756?l=johnjersey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://johnjersey.blogspot.com/feeds/891451899350057756/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6959446635996930517&amp;postID=891451899350057756' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6959446635996930517/posts/default/891451899350057756'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6959446635996930517/posts/default/891451899350057756'/><link rel='alternate' type='text/html' href='http://johnjersey.blogspot.com/2008/09/linux-network-time-protocol-ntp.html' title='Linux Network Time Protocol (NTP)'/><author><name>JJ</name><uri>http://www.blogger.com/profile/11407209694134650386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_O82pb1iq2Ks/SqhudGVcl7I/AAAAAAAAAAM/9svgFZyquJE/S220/jj.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6959446635996930517.post-8047643464856139985</id><published>2008-09-09T12:27:00.000-07:00</published><updated>2008-11-05T11:33:47.557-08:00</updated><title type='text'>Windows AD dsquery command</title><content type='html'>&lt;span style="font-family: verdana;font-size:100%;" &gt;If you are trying to bulk update lots of Active Directory users, try using the dsquery and dsmod commands.&lt;br /&gt;&lt;br /&gt;For example, to update a users AD description, use the following command:&lt;br /&gt;&lt;br /&gt;dsquery user -samid "username" -limit 0 | dsmod user -desc "New Description for User"&lt;br /&gt;&lt;br /&gt;This works well for one or many users but may take some tweaking to get the information out of AD.  To get the list of users from AD, use csvde.&lt;br /&gt;&lt;br /&gt;Type csvde -r objectclass=user -f c:\userlist.csv&lt;br /&gt;&lt;br /&gt;Once the file has been created, use excel to tweak the csv file into a useable format.  I like using excel and notepad (utilizing the find/replace) to get rid of excess tabs, breaks and use this create the correct syntax.&lt;br /&gt;&lt;br /&gt;Enjoy!&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6959446635996930517-8047643464856139985?l=johnjersey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://johnjersey.blogspot.com/feeds/8047643464856139985/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6959446635996930517&amp;postID=8047643464856139985' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6959446635996930517/posts/default/8047643464856139985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6959446635996930517/posts/default/8047643464856139985'/><link rel='alternate' type='text/html' href='http://johnjersey.blogspot.com/2008/09/windows-ad-dsquery-command.html' title='Windows AD dsquery command'/><author><name>JJ</name><uri>http://www.blogger.com/profile/11407209694134650386</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_O82pb1iq2Ks/SqhudGVcl7I/AAAAAAAAAAM/9svgFZyquJE/S220/jj.jpg'/></author><thr:total>0</thr:total></entry></feed>
