Saved for later reference

online repository of stuff I had to google for hours to figure out – and random snippets of code

Preventing Java updates from installing Ask toolbar

Tags: , , , , , , ,

I found this tip on StackOverflow and wanted to mirror it here to go with my previous article on Java installs.

A Windows .reg file with

1
2
3
4
5
6
7
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft]
"SPONSORS"="DISABLE"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft]
"SPONSORS"="DISABLE"

will make the installer “just install”, no questions asked, and no toolbars sneaking in.

Some downloads: A premade .reg file, and the .reg file renamed to .txt (in case browsers/virus scanners prevent the previous download). Always verify the contents of .reg files before running them.

Share

“Please provide path to Windows media (x86 processor)” when installing printer

Tags: , , , , , , , , ,

When installing a new printer earlier, I first installed it in Windows Server 2008 R2 (which of course only exists in a x64 version), and tried to add the x86 (XP) driver since all the clients run XP.

After providing the “additional drivers”-wizard with the printer driver, it asked me to “Please provide path to Windows media (x86 processor)”, which was a bit difficult since I had no 32-bit media (I would have tried 2008 32bit or similar, if so).

Turns out, the solution is blindingly simple: Share the printer, and with an admin user (typically the same who installed the printer on the server), log on to an XP computer, and install the shared printer from there. It will ask you to provide the driver since the server has none. After installing, go into printer properties in XP, find Sharing, Additional drivers…, and check off “Windows XP/2000, x86″. The driver will be uploaded to the server.

Share

“Microsoft Dynamics CRM for Outlook with Offline Access has already been configured for a user on this computer. Only one use can be configured per computer for Microsoft CRM for Outlook with Offline Access.”

Tags: , , ,

If you try to swap users on a laptop, with Dynamics CRM installed in Offline Access mode, it will give the error above; searching gave me this page from the Chinese Dynamics CRM team, so I’m just going to repeat it here:

1
2
3
4
  C:\>osql –E –S localhost\CRM
      1> drop database mscrm_msde
      2> go
      1> quit

Basically, you connect to the SQL Server on the local computer, and delete the Offline Access database, allowing you to reconfigure as normal. Note that this won’t let you reconfigure the user as “online only” – the new configuration will automatically be Offline Access.

Secondly, this works even if the user is not Local Administrator on the computer.

Share

© 2009 Saved for later reference. All Rights Reserved.

This blog is powered by Wordpress and Magatheme by Bryan Helmig.