Showing posts with label registry. Show all posts
Showing posts with label registry. Show all posts

Friday, October 01, 2010

TIPS & TRICKS: Changing Power Settings for Non-Administrative User via Registry

Okay, so this is more of a note to myself. Actually, this whole blog is a giant note to myself. But, I hope someone else finds it useful too.

I have a user who insists on purchasing using a notebook with a docking solution, just so she can leave the notebook in the dock about 95% of the time and remote into it. I'm not even going to get into how much sense that makes. The problem here is that the notebook goes to sleep as it should. But, that doesn't work well for someone who needs to remote in (Wake On LAN is disabled). She's also a standard user with not administrative access. The registry setting to control power settings is located here:

HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolicies

I'm going to try adjusting this at a later time. I'm hoping that temporarily giving her administrative rights and making the change at this setting will make the desired power settings stick permanently.

If anyone else tries, this please let me know how it works for you.

Happy Computing.

Wednesday, September 16, 2009

TIPS & TRICKS: Dell Optiplex 960 Remote Desktop Freezes and Video Problems

I was presented with a Dell Optiplex 960, which had some video problems and would not allow Windows Remote Desktop connections. My concern was heightened because this machine was built off an image that I was sure worked properly.

The screen would exhibit "snow-like" conditions, like you would see on old TV sets using "rabbit-ears" or a screen that had some electrical interference. Also, the problem would only appear intermittently. There nothing specific that I could attribute to its cause. This, obviously, would be a clear case of a video problem.

The other problem involved Windows Remote Desktop. When I would try to connect to the machine via Remote Desktop (from a Windows machine and a Mac running the Windows Remote Desktop client), the connection would attempt to connect. However, the Optiplex machine would freeze and the remote connection would never connect beyond a blue screen.

I was pondering whether the problems could be related or if they were separate issues that were only related by sheer coincidence. I was hovering around possible video and/or memory problems preventing the Remote Desktop connection. I attempted to tackle the Remote Desktop problem first, hoping that it would also solve the video problem at the same time. A search on Remote Desktop freezes yielded several scenarios of similar problems, including freezes that occurred only when there was a user already logged in, but nothing that gave me a workable solution.

I turned my attention to the video problem. After some poking around and searching for answers online, I finally came to the solution of a updated video driver for the nVidia Quadro 420 video card. The driver was posted on the Dell website and, even more coincidental, the date of the posted driver was yesterday. This problem seemed to have a known solution. After installing the driver and restarting several times (by no means a thorough test) I assumed that the problem was resolved.

Going back to the Remote Desktop problem, I tested to see if the updated video driver now allowed the Remote Desktop connection to work. No dice. Remote Desktop would still freeze the session on the Optiplex 960 and the remote session still wouldn't connect. After more searching, I finally went back to the Dell site to search more current solutions. This is when I found this:

http://en.community.dell.com/forums/p/19271963/19476610.aspx#19476610

Basically, we are putting in a new registry entry in the following location:

HKeyLocalMachine > SYSTEM > CurrentControlSet > Control > Session Manager > Memory Management

Right click to add a DWORD and call it: SessionImageSize

The value of the entry is in hexadecimal. The thread I referenced above used a value of 20. However, I checked another machine that didn't have any problems and found a value of 30. For now, just use 20. This could be a place to adjust if there are further problems.

Hope this helps someone. Happy computing.

Tuesday, December 30, 2008

TIPS & TRICKS: Deploying Sophos Anti-Virus to Vista

Using Sophos Enterprise Console 3.0.0.2321 to deploy Sophos to Vista did not work out of the box. Sophos gives a work-around here:

http://www.sophos.com/support/knowledgebase/article/15027.html

In my own testing, I found that steps 1 & 2 were sufficient and did not require a reboot to take effect. However, I do not know how much of it was also due to our AD Group Policies. I did realize that when I tried to deploy from the Console yesterday, our Group Policies had not propagated down to the workstation yet. Today, I see that they have come down to the machine. Nevertheless, I was unable to deploy until I took the first two steps Sophos recommended.

Monday, December 29, 2008

TIPS & TRICKS: Sophos Error 3057

Updated this post:

http://acctu.blogspot.com/2007/08/fix-sophos-stand-alone-installation.html

About 2/3 through the installation, I came across this message:

Error 3057. There was an unexpected error while attempting to create, repair or delete a user account. Contact your support personnel.

Sophos now has a knowledge base article on it:

http://www.sophos.com/support/knowledgebase/article/22862.html


However, the article is not clear at all on how to hack the registry to get it to install properly. Here are the steps that worked for me:

1. Run Regedit. If you don't know what this is, I would suggest seeking the help of someone who does. Any wrong setting made with this tool could cripple your machine.

2. Navigate to HKEY_LOCAL_MACHINE > Software.

3. Right-click on the software key and select Permissions.

4. Explicitly add your currently logged-in user with full permissions.

5. Close out and reinstall Sophos.

This worked for me without the steps listed in my previous post on the problem. Now off to retrace the steps to install from the Management Console. Happy computing.

Wednesday, October 03, 2007

TIPS & TRICKS: Frequently Used Programs list is reset to defaults during every logon in Windows Vista

In Windows Vista, when the start menu is clicked, there's a list of programs, which reflect the most recently used programs. I came across a machine that reset this list to a default list. The default list included Welcome Center, Windows Media Center, Windows Media Player, Windows Photo Gallery, Windows DVD Maker, Windows Calendar, and Windows Meeting Space.

I tried clearing it by, first removing all the existing icons manually, then by clearing the list through unchecking the box for "Store and display a list of recently opened programs" for Start Menu Properties. Neither method withstood a restart.

The cause turned out to be an improperly set registry value (thanks a lot Gateway). The registry value is called StartMenuInit. Here are the instructions:

- Click Start, type regedit.exe and press ENTER

- Navigate to the following location:
HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Advanced

- In the right-pane, create a new DWORD value named StartMenuInit

- Double-click StartMenuInit and set 3 its data

- Close Regedit.exe

Hope that helps someone. Good luck.