Tag Archives: Registry

Fixed – Adobe Reader not opening in ie – turning off Open in browser.

Using Adobe Reader 9.04 on a Windows 2008r2 Remote Desktop server, I was finding that a lot of websites would fail to run when a pdf file was opened in the browser. Going to Edit/Preferences/Internet and unchecking the “Open pdf in browser” fixed the problem. The next problem was making this site wide and for every user on the terminal server.
Using procmon I was able to check the registry changes that occurred when this box was checked (although this does not help when the av software is constantly scanning the registry and files). By creating HKCU\ Software\ Adobe\ Acrobat Reader\ 9.0\ Original\ bBrowserIntegration as a dword and setting the value to 0, this option was checked for everyone. I did notice that the server initially checks HKLM for the same value, but in testing I found that adding this value under HKLM did not make the user interface change. I know Adobe checks other settings in the registry so I’m not sure if it was checking other locations to see if HKLM should also be set, but in that case, why check the HKLM value too?
Using the Group Policy Preferences I was able to create a new setting and now Adobe Reader works for everyone on the server.

Of course, once you know this key it’s easy to find lots of google articles mentioning bBrowserIntegration but I couldn’t find anything when I initially researched this problem. One solution that might make it easier is to download a Adobe Reader Group Policy template which you can then import (computer / Administrative Templates/ Right click and browse) to apply this and other settings. Note that I found the EULA supression did not work for me with Adobe Reader 9.04 on W2k8R2

Fixed – Printers missing in Windows 2008 r2 (and Windows 7)

As part of a client migration this week I had to install a whole load of new printers on a new Windows 2008r2 server. In particular, one copier printer had about 7 different printers setup pointing to the same device – this was to allow the user to select which tray they wanted to print to without having to change the printer settings each time.
By the time I got to my fifth printer I noticed that the devices window was only showing two printers. When I selected the details view in explorer it was only showing printer1 and printer4, pressing F5 to refresh the screen would only show printer2 and printer3. This was really disconcerting as I kept getting interrupted in what I was doing so it was hard to work out which printers had already been setup when they did not appear in the user interface. However they did appear in the list of printers when I went to print something from notepad.
Puzzled, I did some searching and eventually came across Network Steve’s post about bringing back printers in Windows 7. Following his instructions and creating a new Key under hklm \Software \Microsoft \Windows \CurrentVersion\ Explorer \ControlPanel \NameSpace called {2227a280-3aea-1069-a2de-08002b30309d} a new icon appeared in control panel called printers and I can now see all of the printers so Thanks Steve!
Incidentally, these printers were set up and shared on a print server and then accessed on a locked down terminal server. I haven’t been able to work out how to get the list of printers to show up for a locked down user within control panel. The printer icon is not a normal .cpl file so I can’t include that in the list of available icons in control panel for users to use. This is not a critical function but helps when testing and troubleshooting printer issues for users in the future.

Howto enable Group Policy event logging in Windows2008

There are many websites on the internet that talk about the previous method of enabling group policy logging by adding the UserEnvDebugLevel registry entry as per Microsoft kb article 221833. Unfortunately this does not work in Windows2008 and the kb article does not link to another article that does work.

However I found out that this was changed (in Vista I think) to a different registry entry and a new log file is created. Create a new Dword value called GpSvcDebugLevel under HKLM\Software\Microsoft\Windows NT\Current Version\Diagnostics and set the value to 100002 (in hex). This will then create a file called gpsvclog.log in the %windir%\debug directory.

It looks like the preferred method of debugging the logs is to read the events that are stored in Eventvwr under Applications and Services Logs\ Microsoft\ Windows\ GroupPolicy\ Operational

Nothing happens when clicking on the start menu – fixed.

A while back we had a client that was migrating out of their existing domain and into a new SBS2008 installation. One of the things I learnt (too late) was to disable folder redirection before doing a migration otherwise clients will still point to the old server. Unfortunately I did not have access to the old server/domain but I had got a copy of the redirected folders and thankfully there was no real data on the server to be migrated from the redirected folders.

However to fix the redirected folders I had to use csccmd to remove references to the old server which was easy enough using “csccmd /unpin2:\\oldserver\share /recurse”. I then changed the registry entries in HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ User Shell Folders to point to the new location.  This worked fine for every machine except one.  This particular machine had a very strange symptom in that when clicking on the Start/All Programs button the machine would pause for about 20 seconds and then nothing would happen (to the end user). Behind the scenes the Start Menu, Startup and Programs entries in the registry would get deleted. I tried to use ProcessMon from sysinternals to monitor the registry setting but I either got too much registry information to work out what was going on or nothing at all (depending on the filters I had applied).

Anyway, yesterday I stumbled across Ramesh’s site which mentioned running “regsvr32 /i shell32.dll”. I tried this, clicked on the All programs and nothing happened – again. I rebooted and the problem persisted. I then ran it again and was about to reboot the machine again when the user logged into the machine so I had to stop work (I was doing all this remotely using rdp). I logged into the machine this morning and checked the registry. Somehow the registry items were no longer blank but were repointing back to the original server. I reset them back to the new locations and now the All programs button works as designed. I think the trick was to run regsvr32 and then reboot before clicking on the All programs button. (Either that or reboot twice and then check the registry settings and correct them)