<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sysadmin Blog</title>
	<atom:link href="http://blog.andreasfelder.com/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.andreasfelder.com</link>
	<description>Just another IT Blog</description>
	<lastBuildDate>Mon, 02 May 2011 04:27:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Ceton Cable Card and Cisco SDV Tuning Adapters</title>
		<link>http://blog.andreasfelder.com/archives/88</link>
		<comments>http://blog.andreasfelder.com/archives/88#comments</comments>
		<pubDate>Mon, 02 May 2011 04:27:59 +0000</pubDate>
		<dc:creator>Andreas</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.andreasfelder.com/?p=88</guid>
		<description><![CDATA[I got my Ceton Tuner card about 3 weeks ago and its working great. Windows Media Center in Windows 7 is amazing and great to have a DVR with 4 tuners. The only issues I have had was that some of the SDV channels didn't work correctly after it running for a little while and [...]]]></description>
			<content:encoded><![CDATA[<p>I got my Ceton Tuner card about 3 weeks ago and its working great. Windows Media Center in Windows 7 is amazing and great to have a DVR with 4 tuners. The only issues I have had was that some of the SDV channels didn't work correctly after it running for a little while and sometimes recordings were failing because of it. So I checked on the Ceton site and found this great article:</p>
<p><a title="Cisco Tuning Adapters and the Ceton Card" href="http://www.cetoncorp.com/support/index.php?/Knowledgebase/Article/View/4/5/wiring-for-two-tuning-adapters" target="_blank">Cisco Tuning Adapters and the Ceton card</a></p>
<p>This article describes that the Cisco Tuning adapters I received from Time Warner cable should be hooked up in Parallel and not serial like Time Warner told me. The Tuning adapters do not support the pass-through port when connecting multiple TAs. You should be using a 3 way or 4 way splitter in order to split the cable connection and have an individual cable go to each TA and the tuner card.</p>
<p>I hope that helps out somebody else as well.</p>
<p>Thanks,<br />
Andreas</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.andreasfelder.com/archives/88/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Office applications requesting Authentication for SharePoint</title>
		<link>http://blog.andreasfelder.com/archives/84</link>
		<comments>http://blog.andreasfelder.com/archives/84#comments</comments>
		<pubDate>Mon, 14 Mar 2011 02:23:23 +0000</pubDate>
		<dc:creator>Andreas</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">http://blog.andreasfelder.com/?p=84</guid>
		<description><![CDATA[Had a problem recently with SharePoint 2010 when we changed our main way of accessing the site to a public domain name. This change made all Office Applications 2007 and 2010 request authentication when opening and saving to or from SharePoint. After a longer research into the issue I found this Microsoft KB. In there [...]]]></description>
			<content:encoded><![CDATA[<p>Had a problem recently with SharePoint 2010 when we changed our main way of accessing the site to a public domain name. This change made all Office Applications 2007 and 2010 request authentication when opening and saving to or from SharePoint.</p>
<p>After a longer research into the issue I found this <a href="http://support.microsoft.com/kb/943280" target="_blank">Microsoft KB</a>.</p>
<p>In there Microsoft informs about how WebDav secures sites or networks. I always knew that SharePoint uses WebDav to share documents to Office applications however I had no idea that you had to specify a trusted location if it uses an Internet FQDN instead of a local netbios name.</p>
<p>So I followed the KB and I actually deloyed the registry key via Group Policy Prefferences and after people restarted their PCs no more calls about having to authenticate.</p>
<p>Thanks,</p>
<p>Andreas</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.andreasfelder.com/archives/84/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dell 28xx series</title>
		<link>http://blog.andreasfelder.com/archives/78</link>
		<comments>http://blog.andreasfelder.com/archives/78#comments</comments>
		<pubDate>Mon, 14 Mar 2011 01:23:16 +0000</pubDate>
		<dc:creator>Andreas</dc:creator>
				<category><![CDATA[Dell]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://blog.andreasfelder.com/?p=78</guid>
		<description><![CDATA[Was configuring some Dell 2824 switches which are pretty good switches for the money. However I ran into some issues. The command line over the serial connection didn't allow me to set the IP or anything so I did a quick Google and came across this article. In there I found that the 28xx series [...]]]></description>
			<content:encoded><![CDATA[<p>Was configuring some Dell 2824 switches which are pretty good switches for the money. However I ran into some issues.</p>
<p>The command line over the serial connection didn't allow me to set the IP or anything so I did a quick Google and came across <a href="http://www.mcbsys.com/techblog/2009/12/setting-up-a-dell-powerconnect-2824-switch/" target="_blank">this article.</a></p>
<p>In there I found that the 28xx series switches use a default IP of 192.168.2.1. I browsed there and was able to login with admin and no password. This allowed me to fully set them up.</p>
<p>I hope that this helps somebody else too.</p>
<p>Thanks,</p>
<p>Andreas</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.andreasfelder.com/archives/78/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Transfer logins between SQL instances</title>
		<link>http://blog.andreasfelder.com/archives/73</link>
		<comments>http://blog.andreasfelder.com/archives/73#comments</comments>
		<pubDate>Fri, 03 Sep 2010 14:02:55 +0000</pubDate>
		<dc:creator>Andreas</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[logins]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://blog.andreasfelder.com/?p=73</guid>
		<description><![CDATA[I just moved our SharePoint 2010 and Project 2010 databases (Yeah it uses like 10). Anyway I realized that moving the database and creating the SQL Alias, so the server believes that the Database is still local, is going to be easy. However I also wanted the same logins on the new remote instance as [...]]]></description>
			<content:encoded><![CDATA[<p>I just moved our SharePoint 2010 and Project 2010 databases (Yeah it uses like 10). Anyway I realized that moving the database and creating the SQL Alias, so the server believes that the Database is still local, is going to be easy. However I also wanted the same logins on the new remote instance as I had on the local instance. After a quick google I found a script from Microsoft support: <a title="http://support.microsoft.com/kb/918992/" href="http://support.microsoft.com/kb/918992/" target="_blank">http://support.microsoft.com/kb/918992/</a></p>
<p>First run this Query:</p>
<blockquote><p>USE master<br />
GO<br />
IF OBJECT_ID ('sp_hexadecimal') IS NOT NULL<br />
DROP PROCEDURE sp_hexadecimal<br />
GO<br />
CREATE PROCEDURE sp_hexadecimal<br />
@binvalue varbinary(256),<br />
@hexvalue varchar (514) OUTPUT<br />
AS<br />
DECLARE @charvalue varchar (514)<br />
DECLARE @i int<br />
DECLARE @length int<br />
DECLARE @hexstring char(16)<br />
SELECT @charvalue = '0x'<br />
SELECT @i = 1<br />
SELECT @length = DATALENGTH (@binvalue)<br />
SELECT @hexstring = '0123456789ABCDEF'<br />
WHILE (@i &lt;= @length)<br />
BEGIN<br />
DECLARE @tempint int<br />
DECLARE @firstint int<br />
DECLARE @secondint int<br />
SELECT @tempint = CONVERT(int, SUBSTRING(@binvalue,@i,1))<br />
SELECT @firstint = FLOOR(@tempint/16)<br />
SELECT @secondint = @tempint - (@firstint*16)<br />
SELECT @charvalue = @charvalue +<br />
SUBSTRING(@hexstring, @firstint+1, 1) +<br />
SUBSTRING(@hexstring, @secondint+1, 1)<br />
SELECT @i = @i + 1<br />
END</p>
<p>SELECT @hexvalue = @charvalue<br />
GO</p>
<p>IF OBJECT_ID ('sp_help_revlogin') IS NOT NULL<br />
DROP PROCEDURE sp_help_revlogin<br />
GO<br />
CREATE PROCEDURE sp_help_revlogin @login_name sysname = NULL AS<br />
DECLARE @name sysname<br />
DECLARE @type varchar (1)<br />
DECLARE @hasaccess int<br />
DECLARE @denylogin int<br />
DECLARE @is_disabled int<br />
DECLARE @PWD_varbinary  varbinary (256)<br />
DECLARE @PWD_string  varchar (514)<br />
DECLARE @SID_varbinary varbinary (85)<br />
DECLARE @SID_string varchar (514)<br />
DECLARE @tmpstr  varchar (1024)<br />
DECLARE @is_policy_checked varchar (3)<br />
DECLARE @is_expiration_checked varchar (3)</p>
<p>DECLARE @defaultdb sysname</p>
<p>IF (@login_name IS NULL)<br />
DECLARE login_curs CURSOR FOR</p>
<p>SELECT p.sid, p.name, p.type, p.is_disabled, p.default_database_name, l.hasaccess, l.denylogin FROM<br />
sys.server_principals p LEFT JOIN sys.syslogins l<br />
ON ( l.name = p.name ) WHERE p.type IN ( 'S', 'G', 'U' ) AND p.name &lt;&gt; 'sa'<br />
ELSE<br />
DECLARE login_curs CURSOR FOR</p>
<p>SELECT p.sid, p.name, p.type, p.is_disabled, p.default_database_name, l.hasaccess, l.denylogin FROM<br />
sys.server_principals p LEFT JOIN sys.syslogins l<br />
ON ( l.name = p.name ) WHERE p.type IN ( 'S', 'G', 'U' ) AND p.name = @login_name<br />
OPEN login_curs</p>
<p>FETCH NEXT FROM login_curs INTO @SID_varbinary, @name, @type, @is_disabled, @defaultdb, @hasaccess, @denylogin<br />
IF (@@fetch_status = -1)<br />
BEGIN<br />
PRINT 'No login(s) found.'<br />
CLOSE login_curs<br />
DEALLOCATE login_curs<br />
RETURN -1<br />
END<br />
SET @tmpstr = '/* sp_help_revlogin script '<br />
PRINT @tmpstr<br />
SET @tmpstr = '** Generated ' + CONVERT (varchar, GETDATE()) + ' on ' + @@SERVERNAME + ' */'<br />
PRINT @tmpstr<br />
PRINT ''<br />
WHILE (@@fetch_status &lt;&gt; -1)<br />
BEGIN<br />
IF (@@fetch_status &lt;&gt; -2)<br />
BEGIN<br />
PRINT ''<br />
SET @tmpstr = '-- Login: ' + @name<br />
PRINT @tmpstr<br />
IF (@type IN ( 'G', 'U'))<br />
BEGIN -- NT authenticated account/group</p>
<p>SET @tmpstr = 'CREATE LOGIN ' + QUOTENAME( @name ) + ' FROM WINDOWS WITH DEFAULT_DATABASE = [' + @defaultdb + ']'<br />
END<br />
ELSE BEGIN -- SQL Server authentication<br />
-- obtain password and sid<br />
SET @PWD_varbinary = CAST( LOGINPROPERTY( @name, 'PasswordHash' ) AS varbinary (256) )<br />
EXEC sp_hexadecimal @PWD_varbinary, @PWD_string OUT<br />
EXEC sp_hexadecimal @SID_varbinary,@SID_string OUT</p>
<p>-- obtain password policy state<br />
SELECT @is_policy_checked = CASE is_policy_checked WHEN 1 THEN 'ON' WHEN 0 THEN 'OFF' ELSE NULL END FROM sys.sql_logins WHERE name = @name<br />
SELECT @is_expiration_checked = CASE is_expiration_checked WHEN 1 THEN 'ON' WHEN 0 THEN 'OFF' ELSE NULL END FROM sys.sql_logins WHERE name = @name</p>
<p>SET @tmpstr = 'CREATE LOGIN ' + QUOTENAME( @name ) + ' WITH PASSWORD = ' + @PWD_string + ' HASHED, SID = ' + @SID_string + ', DEFAULT_DATABASE = [' + @defaultdb + ']'</p>
<p>IF ( @is_policy_checked IS NOT NULL )<br />
BEGIN<br />
SET @tmpstr = @tmpstr + ', CHECK_POLICY = ' + @is_policy_checked<br />
END<br />
IF ( @is_expiration_checked IS NOT NULL )<br />
BEGIN<br />
SET @tmpstr = @tmpstr + ', CHECK_EXPIRATION = ' + @is_expiration_checked<br />
END<br />
END<br />
IF (@denylogin = 1)<br />
BEGIN -- login is denied access<br />
SET @tmpstr = @tmpstr + '; DENY CONNECT SQL TO ' + QUOTENAME( @name )<br />
END<br />
ELSE IF (@hasaccess = 0)<br />
BEGIN -- login exists but does not have access<br />
SET @tmpstr = @tmpstr + '; REVOKE CONNECT SQL TO ' + QUOTENAME( @name )<br />
END<br />
IF (@is_disabled = 1)<br />
BEGIN -- login is disabled<br />
SET @tmpstr = @tmpstr + '; ALTER LOGIN ' + QUOTENAME( @name ) + ' DISABLE'<br />
END<br />
PRINT @tmpstr<br />
END</p>
<p>FETCH NEXT FROM login_curs INTO @SID_varbinary, @name, @type, @is_disabled, @defaultdb, @hasaccess, @denylogin<br />
END<br />
CLOSE login_curs<br />
DEALLOCATE login_curs<br />
RETURN 0<br />
GO</p></blockquote>
<p>This creates two stored procedures in the master database.</p>
<p>To actually use the stored procedure to create a script for us you need to be logged in with a user that has the SQL server sysadmin role.</p>
<p>If you have that role go ahead and run:</p>
<blockquote><p>EXEC sp_help_revlogin</p></blockquote>
<p>as a new Query.</p>
<p>The result of the query should be a SQL query script that creates the logins on the new server. Before I ran it on the new server I deleted all the logins that already exist for example my own, local system and etc.</p>
<p>Now you only have to be sysadmin on the new SQL instance so you can run the script on there and you should be all set.</p>
<p>I hope it works for you as good as it did for me</p>
<p>Andreas</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.andreasfelder.com/archives/73/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GPSgate</title>
		<link>http://blog.andreasfelder.com/archives/71</link>
		<comments>http://blog.andreasfelder.com/archives/71#comments</comments>
		<pubDate>Sun, 08 Aug 2010 04:36:44 +0000</pubDate>
		<dc:creator>Andreas</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Other Software]]></category>
		<category><![CDATA[Bluetooth]]></category>
		<category><![CDATA[GPS]]></category>

		<guid isPermaLink="false">http://blog.andreasfelder.com/archives/71</guid>
		<description><![CDATA[I recently had a small issue with a Bluetooth GPS device and Mappoint 2010. It wasn’t able to communicate with it at all but if I used any other software it had no issue what so ever. So i researched a bit and found out that Mappoint has a few issues with Bluetooth GPS devices. [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had a small issue with a Bluetooth GPS device and Mappoint 2010. It wasn’t able to communicate with it at all but if I used any other software it had no issue what so ever. So i researched a bit and found out that Mappoint has a few issues with Bluetooth GPS devices. Anyway long story short I found this great software called GPSgate. It is originally made for using the Bluetooth devices in more then one software at the same time. However it works great with Mappoint.</p>
<p>Once installed you can simply set the software to use the Bluetooth GPS and publish it one or more COM ports.</p>
<p>If you are not going to do anything crazy and really only want the software for Mappoint or Streets and Trips you can use the Express version which won’t cost you too much. So here is the link to the client:</p>
<p><a title="http://gpsgate.com/products/gpsgate_client" href="http://gpsgate.com/products/gpsgate_client" target="_blank">http://gpsgate.com/products/gpsgate_client</a></p>
<p>And here is the link to the purchase page for the Express version:</p>
<p><a title="http://gpsgate.com/purchase/gpsgate_express_license" href="http://gpsgate.com/purchase/gpsgate_express_license" target="_blank">http://gpsgate.com/purchase/gpsgate_express_license</a></p>
<p>&#160;</p>
<p>I hope it works for you as it has for me</p>
<p>Andreas</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.andreasfelder.com/archives/71/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2 Server Redundant Exchange 2010 configuration</title>
		<link>http://blog.andreasfelder.com/archives/68</link>
		<comments>http://blog.andreasfelder.com/archives/68#comments</comments>
		<pubDate>Sun, 08 Aug 2010 04:12:49 +0000</pubDate>
		<dc:creator>Andreas</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Redundancy]]></category>
		<category><![CDATA[RPC]]></category>

		<guid isPermaLink="false">http://blog.andreasfelder.com/archives/68</guid>
		<description><![CDATA[I have been working on Exchange 2010 especially doing a redundant configuration with using the least amount of systems because I am working with a very small environment and I only want good data and access redundancy. Anyway I found these three articles that really cleared things up: Part 1 Part 2 Part 3 In [...]]]></description>
			<content:encoded><![CDATA[<p>I have been working on Exchange 2010 especially doing a redundant configuration with using the least amount of systems because I am working with a very small environment and I only want good data and access redundancy.</p>
<p>Anyway I found these three articles that really cleared things up:</p>
<p><a href="http://www.msexchange.org/articles_tutorials/exchange-server-2010/high-availability-recovery/load-balancing-exchange-2010-client-access-servers-using-hardware-load-balancer-solution-part1.html" target="_blank">Part 1</a></p>
<p><a href="http://www.msexchange.org/articles_tutorials/exchange-server-2007/planning-architecture/uncovering-new-rpc-client-access-service-exchange-2010-part2.html" target="_blank">Part 2</a></p>
<p><a href="http://www.msexchange.org/articles_tutorials/exchange-server-2010/high-availability-recovery/load-balancing-exchange-2010-client-access-servers-using-hardware-load-balancer-solution-part3.html" target="_blank">Part 3</a></p>
<p>In these three articles they cover everything you will need to know about load balancing the two servers. It is quite simple actually. Install all roles on both servers. Now you will have to edit the registry to not use a dynamic port for RPC which is used by IMAP and Directory Access:</p>
<blockquote><p>On the CAS servers, for Mailbox connections, you need to use add a DWORD registry key named “<strong>TCP/IP Port</strong>” under: <strong>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeRpc\ParametersSystem</strong></p>
<p><strong><img src="http://www.msexchange.org/img/upl/image0131256994382131.png" border="0" alt="" hspace="0" width="505" height="326" align="baseline" /><br />
</strong><strong>Figure 8:</strong> Adding the required DWORD key on CAS server to configure a static port number</p>
<p>Set the value to the port number to be assigned. In this article we use port 55000, but you are free to choose whatever port you want to use, just remember it should not conflict with other applications using the port. It is recommend you choose a port within the dynamic RPC ranger (1024-65535).</p></blockquote>
<p>This is from Part 2.</p>
<p>If you set this on both the servers you will need a lot less ports to load balance then before. I am basing this on Kentrox LoadMasters. They are a great product but the only thing they are missing right now is load balancing port ranges. This of course is no big deal after using the registry edit to change it from a dynamic port range to a single static port.</p>
<p>If you have different load balancers you might be able to just load balance the entire servers but it doesn’t matter if you do or not.</p>
<p>Also very good information is in Part 1 about Persistence and in Part 3 about the exact settings of the Kentrox Load Masters.</p>
<p>I also discovered a great website from Microsoft which can help you test outside Exchange connectivity. I know it supports Exchange 2010 but it might work for 2007 as well. Even if the site is made my Microsoft I would for sure not use an account that is actually going to be used with this site. Anyway here is the site and it pretty much tests anything you could.</p>
<p><a title="https://www.testexchangeconnectivity.com/" href="https://www.testexchangeconnectivity.com/" target="_blank">https://www.testexchangeconnectivity.com/</a></p>
<p>I hope you have fun,</p>
<p>Andreas</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.andreasfelder.com/archives/68/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>HP LaserJet 1022 issues</title>
		<link>http://blog.andreasfelder.com/archives/62</link>
		<comments>http://blog.andreasfelder.com/archives/62#comments</comments>
		<pubDate>Sun, 08 Aug 2010 03:32:52 +0000</pubDate>
		<dc:creator>Andreas</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Other Software]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Driver]]></category>
		<category><![CDATA[HP]]></category>
		<category><![CDATA[PCL]]></category>
		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://blog.andreasfelder.com/?p=62</guid>
		<description><![CDATA[Recently I was trying to fix an issue with an HP LaserJet 1022 on a Windows 7 x86 machine with an USB connection. The issue was that if certain files were being printed it would kill the print spooler until you clean it out (delete the print spooler files manually). I found that the biggest [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I was trying to fix an issue with an HP LaserJet 1022 on a Windows 7 x86 machine with an USB connection. The issue was that if certain files were being printed it would kill the print spooler until you clean it out (delete the print spooler files manually). I found that the biggest problem files were PDF files.</p>
<p>So I stated researching and found the following post:</p>
<p><a href="http://arstechnica.com/civis/viewtopic.php?f=11&amp;t=327353" target="_blank">http://arstechnica.com/civis/viewtopic.php?f=11&amp;t=327353</a></p>
<p>In this post they are describing a very similar issue. They are also talking about that the solution is using a PCL driver (which by the product description it natively supports). However HP is unique in this case. They don’t actually have a PCL driver for this printer they only have a Host Based printer driver.</p>
<p>They requested help from HP who actually told them to use a HP LaserJet 6L driver.</p>
<table border="0" cellspacing="0" cellpadding="2" width="551">
<tbody>
<tr>
<td valign="top" width="549">
<p>Dear HP Customer,           <br />Thank you for contacting Hewlett-Packard's Commercial Solutions Center.            <br />We understand that you are seeking PCL 5e print driver for the HP LaserJet 1022 product.            <br />The software CD for the HP LaserJet 1022 product does not contain PCL print drivers and they are not currently available on our Web site. Only a host-based driver is available.             <br />Click on the following URL for an explanation of host-based printing:            <br /><a href="http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=bpl07860">http://h20000.www2.hp.com/bizsupport/TechSupport/Docume...sp?objectID=bpl07860</a>            <br />Click on the following URL for Supported Windows Operating Systems and PC System Requirements:             <br /><a href="http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c00405416">http://h20000.www2.hp.com/bizsupport/TechSupport/Docume...p?objectID=c00405416</a>            <br />We would suggest that you try using an alternate MS Windows print driver, such as an HP LaserJet 6L. Use the Windows Add Printer Wizard to install a MS Windows HP LaserJet print driver.             <br />NOTE: Alternate print drivers may or may not work when printing to an HP LaserJet 1022 product.            <br />Perform the following to select an alternate print driver using the Add Printer Wizard:            <br />1. From the Windows desktop, click Start, and then Printers and Faxes.             <br />2. Double-click on the Add Printer icon. The Add Printer Wizard screen should appear, click Next.            <br />3. Follow the instructions.             <br />4. Under Manufacturer, select HP, under Printers select HP LaserJet 6L (or 5L), and then click Next.             <br />5. Continue with the installation.            <br />NOTE: Select the same port you are using for the HP LaserJet 1022 host-based driver.            <br />Once again, thank you for contacting Hewlett-Packard's Commercial Solutions Center.            <br />NOTE: Our advice is strictly limited to the question(s) asked and is based on the information provided to us. Problems and solutions may depend on the nature of your system environment and various other parameters that are unknown to HP; therefore, HP cannot assume any responsibility or liability. Please be advised that technical information changes as new data becomes available, therefore, HP recommends that you check back at our technical support web site located at <a href="http://www.hp.com/country/us/en/support.html">http://www.hp.com/country/us/en/support.html</a> regularly for possible updates. Hewlett-Packard shall not be liable for any direct, indirect, special, incidental or consequential damages in connection with the use of this information.</p>
</td>
</tr>
</tbody>
</table>
<p>&#160;</p>
<p>So by this answer from HP we can see that they are obviously aware of the problem but decided not to fix it and give a work around instead.</p>
<p>It works perfectly fine to use the LaserJet 6L driver. If you can’t see the driver when installing the printer you can press Windows Update in Windows 7 and Vista in order for it download a lot of drivers from Windows Update.</p>
<p>&#160;</p>
<p>I hope this helps somebody</p>
<p>Andreas</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.andreasfelder.com/archives/62/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Find out what caused a BSOD</title>
		<link>http://blog.andreasfelder.com/archives/55</link>
		<comments>http://blog.andreasfelder.com/archives/55#comments</comments>
		<pubDate>Mon, 02 Aug 2010 19:38:29 +0000</pubDate>
		<dc:creator>Andreas</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[BSOD]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.andreasfelder.com/?p=55</guid>
		<description><![CDATA[Of course you can use good old Google and find out what the BSOD stands for but this only gets you so far. (my favorite site with most BSODs on it is this one: http://www.aumha.org/a/stop.php) If you want more and your computer has its pagefile on the C drive it will try to create a [...]]]></description>
			<content:encoded><![CDATA[<p>Of course you can use good old Google and find out what the BSOD stands for but this only gets you so far. (my favorite site with most BSODs on it is this one: <a title="http://www.aumha.org/a/stop.php" href="http://www.aumha.org/a/stop.php" target="_blank">http://www.aumha.org/a/stop.php</a>)</p>
<p>If you want more and your computer has its pagefile on the C drive it will try to create a Crash dump Memory file under C:\Windows called Memory.dmp</p>
<p>This file you can analyze. I followed this instructions:<br />
<a title="http://www.brighthub.com/computing/windows-platform/articles/29860.aspx" href="http://www.brighthub.com/computing/windows-platform/articles/29860.aspx" target="_blank">http://www.brighthub.com/computing/windows-platform/articles/29860.aspx</a></p>
<p>However you can simplfy this:</p>
<p>Go to this page: <a title="http://www.microsoft.com/downloads/details.aspx?FamilyID=6b6c21d2-2006-4afa-9702-529fa782d63b&amp;displaylang=en" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=6b6c21d2-2006-4afa-9702-529fa782d63b&amp;displaylang=en" target="_blank">http://www.microsoft.com/downloads/details.aspx?FamilyID=6b6c21d2-2006-4afa-9702-529fa782d63b&amp;displaylang=en</a></p>
<p>Download the utility and run it. It will automatically detect the right version and guide you through the install.</p>
<p><a href="http://blog.andreasfelder.com/wp-content/uploads/2010/08/install_selection.jpg"><img class="alignnone size-full wp-image-56" title="install_selection" src="http://blog.andreasfelder.com/wp-content/uploads/2010/08/install_selection.jpg" alt="Select components" width="490" height="344" /></a></p>
<p>On this screen only select the Common Utilities (I installed the Redistributable packages as well just to make sure everything works)</p>
<p>After it downloads and installs everything go into your start menu and open up WinDbg. Now click on File - Symbol File path and paste the following into the window:</p>
<p>SRV*c:\websymbols*http://msdl.microsoft.com/download/symbols</p>
<p>and click ok.</p>
<p>Now just open the crash dump .dmp file with file - open crash dump. Once analyzed it will let you know what file it thinks the problem file was.<br />
( I in the past had a lot of luck when there were corrupt or buggy drivers on the system) If you end up with a .sys file you can usually Google it to find out what driver it is.</p>
<p>When it is down with analyzing you can click on the links in blue to get more inept (hint the "!analyze -v" is very helpful)</p>
<p>I hope that helps somebody with a BSOD problem</p>
<p>Andreas</p>
<p>UPDATE:</p>
<p>Correction from before: The only thing required to run the debugging  tools is the actual debugging tools under Common Utilities. Also the .net 4.0 is not required.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.andreasfelder.com/archives/55/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL SPNs can really bite you in the you know what</title>
		<link>http://blog.andreasfelder.com/archives/52</link>
		<comments>http://blog.andreasfelder.com/archives/52#comments</comments>
		<pubDate>Wed, 28 Jul 2010 21:29:57 +0000</pubDate>
		<dc:creator>Andreas</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[SCCM]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[VMM]]></category>
		<category><![CDATA[AD]]></category>
		<category><![CDATA[SPN]]></category>

		<guid isPermaLink="false">http://blog.andreasfelder.com/?p=52</guid>
		<description><![CDATA[I was moving some databases from local SQL servers to one remote SQL server. The new Remote box is a SQL 2008 R2 box and I do have to say I like SQL 2008 and R2 a lot. Anyway I was moving a SCCM 2007 R2 SP2 Site database and the VMM 2008 R2 database [...]]]></description>
			<content:encoded><![CDATA[<p>I was moving some databases from local SQL servers to one remote SQL server. The new Remote box is a SQL 2008 R2 box and I do have to say I like SQL 2008 and R2 a lot. Anyway I was moving a SCCM 2007 R2 SP2 Site database and the VMM 2008 R2 database to this server and nothing was quite working right. It for some reason was trying to authenticate with NT Anonymous logon which I of course didn't wnat to open up my database to everybody and their brother. So i researched a bit and found this article:</p>
<p><a title="http://poseidom.wordpress.com/2007/12/16/set-spn-for-sql-2005-sccm-remote-sql-fix/" href="http://poseidom.wordpress.com/2007/12/16/set-spn-for-sql-2005-sccm-remote-sql-fix/" target="_blank">http://poseidom.wordpress.com/2007/12/16/set-spn-for-sql-2005-sccm-remote-sql-fix/</a></p>
<p>I know it is for SQL 2005 however it works on SQL 2008 and R2 just as well and I would actually say you should do that with every SQL server, that uses a domain service account, you got because sooner or later you will run into that problem.</p>
<p>I actually did the Method 2 on his blog because i might want some more instances and i don't want to worry about SPNs any more! (also for teh 2nd Method you don't need the port numbers)</p>
<p style="padding-left: 60px;">Method 1: The “Right” way</p>
<ol style="padding-left: 90px;">
<li>Install the Windows 2003 support tools somewhere on a machine in the domain</li>
<li>Login as a Domain Admin</li>
<li>Run  setspn -A MSSQLSvc/&lt;FQDN&gt; &lt;SQL_Service_Account&gt; Note YOU MUST USE THE FQDN</li>
<li>Run  setspn -A MSSQLSvc/&lt;FQDN&gt;:&lt;Port&gt;  &lt;SQL_Service_Account&gt;  Note YOU MUST USE THE FQDN, and the most  common port is 1443</li>
<li>Run setspn -L &lt;SQL_Service_Account&gt; validate that “servicePrincipalName:” has been set like you expect</li>
<li>Restart the SQL server after AD replication has completed</li>
<li>Run the following query on the SQL server; this MUST return KERBEROS:<br />
select auth_scheme from sys.dm_exec_connections where <a href="mailto:session_id=@@spid">session_id=@@spid</a></li>
</ol>
<p style="padding-left: 60px;">Method 2: The “easy” way</p>
<p style="padding-left: 90px;">In adsiedit grant the service account the ability to write the servicePrincipalName to “SELF”<br />
Taken from: <a href="http://support.microsoft.com/kb/319723">http://support.microsoft.com/kb/319723</a></p>
<ul style="padding-left: 90px;">
<li>
<ol>
<li>Click Start, click Run, type Adsiedit.msc, and then click OK.
<ul>
<li>Note The ADSIEdit tool is included in the Windows Support Tools. To  obtain the Windows Support Tools, visit the following Microsoft Web  site: <a href="http://www.microsoft.com/downloads/details.aspx?familyid=6EC50B78-8BE1-4E81-B3BE-4E7AC4F0912D&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?familyid=6EC50B78-8BE1-4E81-B3BE-4E7AC4F0912D&amp;displaylang=en</a></li>
</ul>
</li>
<li>In the ADSI Edit snap-in, expand Domain [DomainName], expand  DC= RootDomainName, expand CN=Users, right-click CN= AccountName , and  then click Properties.
<ul>
<li>DomainName is a placeholder for the name of the domain.</li>
<li>RootDomainName is a placeholder for the name of the root domain.</li>
<li>AccountName is a placeholder for the account that you specify to start the SQL Server service.</li>
<li>If you specify the Local System account to start the SQL Server  service, AccountName is a placeholder for the account that you use to  log on to Microsoft Windows.</li>
<li>If you specify a domain user account to start the SQL Server  service, AccountName is a placeholder for the domain user account.</li>
</ul>
</li>
<li>In the CN= AccountName Properties dialog box, click the Security tab.</li>
<li>On the Security tab, click Advanced.</li>
<li>In the Advanced Security Settings dialog box, make sure that SELF is listed under Permission entries.
<ul>
<li>If SELF is not listed, click Add, and then add SELF.</li>
</ul>
</li>
<li>Under Permission entries, click SELF, and then click Edit.</li>
<li>In the Permission Entry dialog box, click the Properties tab.</li>
<li>On the Properties tab, click This object only in the Apply onto  list, and then click to select the check boxes for the following  permissions under Permissions:
<ul>
<li>Read servicePrincipalName</li>
<li>Write servicePrincipalName</li>
</ul>
</li>
<li>Click OK two times.</li>
</ol>
</li>
</ul>
<p style="padding-left: 90px;">
<p>Of course the first method is more secure and probably better for most environments but if your environment is like mine where stuff changes every week I would go with Method 2.</p>
<p>Anyway now both SCCM and VMM are happy like never before. They like not having a SQL server on the same box.</p>
<p>Andreas</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.andreasfelder.com/archives/52/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backup all SQL Databases in one instance</title>
		<link>http://blog.andreasfelder.com/archives/48</link>
		<comments>http://blog.andreasfelder.com/archives/48#comments</comments>
		<pubDate>Wed, 21 Jul 2010 21:09:47 +0000</pubDate>
		<dc:creator>Andreas</dc:creator>
				<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://blog.andreasfelder.com/?p=48</guid>
		<description><![CDATA[So today I was going to move a hole bunch of SQL databases from one server to another. All DBs are used very seldom so no issue about people connecting and stuff. However I was looking at those databases and I didn't want to click through the backup wizard like 20 times and I didn't [...]]]></description>
			<content:encoded><![CDATA[<p>So today I was going to move a hole bunch of SQL databases from one server to another. All DBs are used very seldom so no issue about people connecting and stuff. However I was looking at those databases and I didn't want to click through the backup wizard like 20 times and I didn't want to execute a backup command that often either. So i went for a quick search and found the following stored procedure  from this site: <a title="http://www.kodyaz.com/articles/sql-server-backup-script-for-all-databases.aspx" href="http://www.kodyaz.com/articles/sql-server-backup-script-for-all-databases.aspx" target="_blank">http://www.kodyaz.com/articles/sql-server-backup-script-for-all-databases.aspx</a></p>
<p>This is the script:</p>
<p style="padding-left: 30px;"><code>CREATE PROC BackupDatabase (<br />
@DatabaseName sysname	,<br />
@SQLBackupFolder nvarchar(400)<br />
)<br />
AS</code></p>
<p style="padding-left: 30px;">DECLARE @BackupSQLScript nvarchar(max)<br />
DECLARE @SQLBackupFileName nvarchar(400)</p>
<p style="padding-left: 30px;">SET @SQLBackupFileName =<br />
REPLACE(@DatabaseName,' ','-') +<br />
CONVERT(VARCHAR,GETDATE(),112) + '.bak'</p>
<p style="padding-left: 30px;">SET @BackupSQLScript = '<br />
BACKUP DATABASE [' + @DatabaseName + ']<br />
TO DISK = ''' + @SQLBackupFolder + @SQLBackupFileName + ''''</p>
<p style="padding-left: 30px;">print @BackupSQLScript<br />
EXEC sp_executesql @BackupSQLScript<br />
GO</p>
<p>I simply edited that it inserts a dash between DB name and date for the file name:</p>
<p style="padding-left: 30px;">CREATE PROC BackupDatabase (<br />
@DatabaseName sysname ,<br />
@SQLBackupFolder nvarchar(400)<br />
)<br />
AS</p>
<p style="padding-left: 30px;">DECLARE @BackupSQLScript nvarchar(max)<br />
DECLARE @SQLBackupFileName nvarchar(400)</p>
<p style="padding-left: 30px;">SET @SQLBackupFileName =<br />
REPLACE(@DatabaseName,' ','-') + (' - ') +<br />
CONVERT(VARCHAR,GETDATE(),112) + '.bak'</p>
<p style="padding-left: 30px;">SET @BackupSQLScript = '<br />
BACKUP DATABASE [' + @DatabaseName + ']<br />
TO DISK = ''' + @SQLBackupFolder + @SQLBackupFileName + ''''</p>
<p style="padding-left: 30px;">print @BackupSQLScript<br />
EXEC sp_executesql @BackupSQLScript<br />
GO</p>
<p>After running this you have the stored procedure in your instance and therefore you will be able to run the actual backup script:</p>
<p style="padding-left: 30px;">EXEC sp_Msforeachdb "<br />
DECLARE @BackupFolder nvarchar(400);<br />
SELECT @BackupFolder = 'C:\backups\';<br />
EXEC BackupDatabase '?', @BackupFolder<br />
"</p>
<p>Oh yeah don't forget to replace C:\backups\ with the folder you want to backup to. (and also don't forget the backslash at the end!!)</p>
<p>Oh and almost forgot if you don't know how to backup just one DB through the Management studio here is a link from that same site:</p>
<p><a title="http://www.kodyaz.com/articles/sql-backup-sql-server-backup-database.aspx" href="http://www.kodyaz.com/articles/sql-backup-sql-server-backup-database.aspx" target="_blank">http://www.kodyaz.com/articles/sql-backup-sql-server-backup-database.aspx</a></p>
<p>And have fun backing up or moving DBs</p>
<p>Andreas</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.andreasfelder.com/archives/48/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

