All data and information provided on this site is for informational purposes only. Mike F Robbins (mikefrobbins.com) makes no representations as to accuracy, completeness, currentness, suitability, or validity of any information on this site and will not be liable for any errors, omissions, or delays in this information or any losses, injuries, or damages arising from its display or use. All information is provided on an as-is basis.

How to create an Administrative shortcut.

February 1, 2010 µ Leave a comment

As most systems administrators know, you should log into your computer as a normal domain user who does not have elevated privileges in your Active Directory domain and only run administrative programs with elevated privileges when necessary. You could hold down shift, right click the shortcut, and select “Run as different user” to run a program as a user who has elevated privileges in your Active Directory domain, but there’s an easier, more efficient way to run programs that always require elevated privileges.

Either create a new shortcut or modify an existing shortcut to a program that you need to run with elevated privileges. In this example, I will be using a shortcut to an MMC console so that any snap-in I add to the MMC console will be run with elevated privileges.

Change the target to the following, modifying the username to a user in your domain with elevated privileges and the domain to match your domain name:

 C:\Windows\System32\runas.exe /user:administrator@mikefrobbins.com /env "C:\Windows\System32\mmc.exe" 

In this example, the MMC console will run as a user named administrator in the mikefrobbins.com domain. When launched, you will be prompted to enter the password for the administrator user:

The same example can be applied to any shortcut. Here is an example of a shortcut to the “SQL Server Management Studio” console:

Change the target on the “SQL Server Management Studio” console to:

 C:\Windows\System32\runas.exe /user:administrator@mikefrobbins.com /env "C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\Ssms.exe" 

Creating administrative shortcuts to programs you frequently use that require elevated privileges is easier and more efficient than always having to do a “Run as different user” and it also helps to keep your network more secure by not being tempted to log into your computer as a user with elevated privileges in your Active Directory domain.

µ

System Optimization Tool

January 20, 2010 µ Leave a comment

One of the system optimization tools I periodically run on my computers is CCleaner. It is a freeware program from www.ccleaner.com. During the installation of CCleaner, I take the following options, but this is more of a personal preference than a requirement:


When I run the actual program, I choose the options shown in the image on the right and I don’t make any changes to the Applications tab. For new users, I would recommend taking a look at the help section of the CCleaner website to determine the most appropriate options so you don’t remove anything you may need.

Once I’ve completed running the Cleaner portion of the program, I run the registry cleaner which is the second icon from the top from within the program, taking the default options. I run this portion of the program multiple times until there are no issues left to correct.

I’ve personally used CCleaner on multiple Windows XP, Windows Vista, and Windows 7 based computers including 64 bit versions of these operating systems, although their website states that it’s not fully compatible with Windows XP x64 and Windows Vista x64. For several years it has been one of the better freeware tools in my toolkit and I would recommend it to anyone looking for a system optimization tool.

µ

System State Backup Failures with Symantec Backup Exec

December 17, 2009 µ Leave a comment

Problem:
You receive the message: “The job failed with the following error: A failure occurred accessing the object list.” in your backup job notification email when attempting to backup the system state of a Windows 2008 Server with Symantec Backup Exec. The actual error from the backup server job is: “e000fedd – A failure occurred accessing the object list.” and the error code is: “V-79-57344-65245”.

Solution:
This error is fairly generic and can be caused by several different problems; the issue I encountered was specifically due to using the combination of Trend Micro Worry-Free Business Security Advanced (Antivirus), Symantec Backup Exec 12.5, and Microsoft Windows Server 2008. To resolve this problem, stop the “Trend Micro Unauthorized Change Prevention Service” if it is running and modify the following registry settings on the server you’re attempting to backup:

Go to the following location in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TMBMServer

Change the value of “HomeDir” from:
“C:\Program Files (x86)\Trend Micro\Client Server Security Agent\..\BM”
To:
“C:\Program Files (x86)\ Trend Micro\BM”

Change the value of “ImagePath” from:
“C:\Program Files (x86)\Trend Micro\Client Server Security Agent\..\BM\TMBMSRV.exe” /service
To:
“C:\Program Files (x86)\Trend Micro\BM\TMBMSRV.exe” /service

The above example is from a machine running a 64 bit operating system and a 32 bit version of Trend. The beginning of the path should be the same as the original and may differ on 32 bit and 64 bit operating systems. Once these registry settings are updated, the system state backups should complete successfully.

For more information and for different problems that can cause this error see: http://www.symantec.com/business/support/knowledge_base_sli.jsp?umi=EvtID=V-79-57344-65245

µ