Dusty Cables dot com

a tech blog

Printer names from command line

March 25th, 2014. Published under Uncategorized. No Comments.

In Windows Vista (I think), 7, and 8:

View default printer:
cscript C:\Windows\System32\Printing_Admin_Scripts\en-US\prnmngr.vbs -g

View all printers:
cscript C:\Windows\System32\Printing_Admin_Scripts\en-US\prnmngr.vbs -l

In Windows XP:

View default printer:
cscript C:\windows\system32\prnmngr.vbs -g

View all printers:
cscript C:\windows\system32\prnmngr.vbs -l

Good stuff.

Chinese domain scams still making rounds

December 13th, 2012. Published under Uncategorized. No Comments.

Just received another one of these (Previous posts are here and here). Today brings a new example:

(Letter to the President or Brand Owner, thanks)

Dear President,
We are the department of Asian Domain Registration Service in China. Here I have something to confirm with you. We formally received an application on December 13 2012 that a company claimed Daster Industrial Co. Ltd were applying to register “DOMAIN_NAME_REPLACED” as their Net Brand and some domain names through our firm.

Now we are handling this registration, and after our initial checking, we found the name were similar to your company’s, so we need to check with you whether your company has authorized that company to register these names. If you authorized this, we would finish the registration at once. If you did not authorize, please let us know within 7 workdays, so that we could handle this issue better. After the deadline we will unconditionally finish the registration for Daster Industrial Co. Ltd. Looking forward to your prompt reply.
Best Regards,

Ashin Yang

Registration Dept.

Tel: +0086 28 859 155 86 || Fax: +0086 28 859 121 16
12/F,No.8 XiYue building,Yi Huan Lu,Jinniu District,Chengdu City,China

Obviously this is the same scam changed a bit.

Internet Explorer Secuity Warning: Do you want to view only the webpage content that was delivered securely?

April 21st, 2011. Published under Uncategorized. No Comments.

I came across a computer with Internet Explorer 8 that was showing this warning every time he browsed to a new page within a few banking websites. I added the URL to the Trusted Sites zone, but this did not do the trick. I then enabled “Display mixed content” for the Trusted Zone, which should have done the trick (Internet Options -> Security tab -> Custom Level button.

However, this did NOT do the trick. The issue is that the website, which is secured with HTTPS, is trying to load some content that is NOT secure (via HTTP). This causes IE to throw the warning. The “Display mixed content” tells IE to ignore this issue. The reason this did not fix the issue in this case is because I enabled “Display mixed content” in the Trusted Sites zone, but the HTTP data was being loaded from another domain which was NOT in my Trusted Sites zone. I enabled “Display mixed content” for the Internet Zone as well and the warnings ceased.

I know what you are thinking. Isn’t this now less secure? The answer is “probably”, but in my opinion, this isn’t a big deal. Maybe I am wrong and this can trick you into having malicious code run, I’m not sure. Honestly, I think if any site loads HTTP data within and HTTPS session, its bad coding to begin with.

Anyway, there are a lot of posts for this fix out there, but many of them say the “Display mixed content” fix didn’t fix the issue for them at all. Maybe doing this for all zones will fix the issue for them.

Recycle Bin is corrupted on Windows XP

March 16th, 2011. Published under Uncategorized. No Comments.

I fixed this today using a bit of info I found on here. Google-fu will turn up a lot of different suggestions. Even the Kelly’s Korner registry file failed to work for this one. Once we did see the “The Recycle Bin on c:\ is corrupted. Do you want to empty the Recycle Bin for this drive?” error.

Basically, you make sure you have “Hide protected operating system files (Recommended)” UN-checked in Explorer, which you find by clicking Tools -> Folder Options -> View tab from an Explorer window. Then you’ll be able to see the hidden “RECYCLER” folder on the root of each drive.

If you rename the RECYCLER folder on the drive that has a corrupted Recycle Bin, then delete something on that same drive, Windows will create a new RECYCLER folder and the problem will be resolved.

I suggest re-checking “Hide protected operating system files” in Explorer when you are done.

My Computer does not show CD or DVD drive in Windows XP

October 14th, 2010. Published under Uncategorized. No Comments.

I have seen this a few times in recent months, so it is worth documenting. The CD or DVD drive does not show up in My Computer, and in the Device Manager it is showing a warning (yellow circle with black exclamation point in it). The description of the warning states something about the drivers being installed but the device is not present, when the device is most certainly present.

The fix is a registry hack. Be sure to export this key before making deletions, in case things go awry. The key to navigate to is:


Delete the following values in the right pane.  Note that both values may not exist.

  • UpperFilters
  • LowerFilters

Restart the computer and your drive letter should return.

Outlook AutoComplete cache

July 13th, 2010. Published under Uncategorized. No Comments.

Outlook 2007 icon

Many times I have been asked about the Outlook address auto complete cache.  This is the way Outlook provides email addresses you have sent or received mail with in the To, CC, or BCC fields in mail messages.  I thought this wasn’t possible in the past.

Not so, apparently.  This cache is stored in the “profilename.nk2″ file, where “profilename” is the name of the Outlook profile.  This file is hidden, so “view hidden files and folders” must be enabled in Windows Explorer.  It resides in the “%USERPROFILE%\Application Data\Microsoft\Outlook” folder.  Just copy this over to the new location to bring the autocomplete cache along and remember to rename the file if the destination Outlook profile name is different.

More details for this process can be found in this post at mycomputeraid.com.