Archive for the ‘Microsoft Operating Systems’ Category

Microsoft Software Discounts for Students

Monday, December 7th, 2009

Anyone that has an active email address ending in .EDU can purchase Microsoft Office 2007 Ultimate Edition and Windows 7 at dramatically discounted rates (click the link to order):

http://student.theultimatesteal.com/z/15/CD2866/

Microsoft is planning to expire this program soon so I would take advantage of the offer as soon as possible!

Workaround for Errors When Opening Microsoft Office Files on WebDAV Drives

Thursday, December 18th, 2008

JungleDisk is a WebDAV file sharing service running on the Amazon Simple Storage Service (Amazon S3).  It appears when users are using Office 2003 SP3 on a Vista Business SP1 based system, they may not be able to open Microsoft Word and Excel files.  The users experience an error similar to:

Could not open ‘http://2667/somebucket/some file.doc’

The JungleDisk Support site (KBID#: 300065) indicates installing the Windows Software Update for Web Folders (KB907306) and rebooting will fix the problem.  Unfortunately the reported fix does not appear to work for numerous users.  Additionally, connecting to the JungleDisk “bucket” using the naive Windows WebDAV client does not allow saving due to the “read-only” bug.

We discovered the easiest way to work around the Vista/Office 2003 WebDAV limitations was to use a substitute drive.  Once the JungleDisk client loads and you can access the JungleDisk network drives, the following command can be use to connect:
[sourcecode]subst NewDriveLetter: JungleDiskDriveLetter:\[/sourcecode]

For example, if the JungleDisk drive letter is “J:\”, you will run the following command to access the share:

[sourcecode]subst k: j:\[/sourcecode]

You should then be able to open files from and save files to the “k:” drive directly.

When your system reboots, you will need to run the subst command again. For our users, we have created a batch file that deletes the virtual drive (subst k: /d) then re-creates it (subst k: j:\). After the user’s system has completely loaded, they double-click on the batch files to create accessible virtual drives.

Incidentally, upgrading to Office 2007 on Vista or running Office 2003 from Windows XP does not appear to have any issues.

Event ID 1030 and 1058 when querying Group Policy Objects

Wednesday, November 26th, 2008

After a Windows 2003 Small Business Server failed to shutdown using APC’s PowerChute UPS software, it was having trouble querying and applying the group policy settings.

 

Event 1058

Event Type: Error
Event Source: Userenv
Event Category: None
Event ID: 1058

Description:
Windows cannot access the file gpt.ini for GPO CN={31B2F340-016D-11D2-945F-00C04FB984F9},CN=Policies,CN=System,DC=domain,DC=local. The file must be present at the location <\\Random_Domain_Name.local\sysvol\domain.local\Policies\{31B2F340-016D-11D2-945F-00C04FB984F9}\gpt.i ni>

— And —

Event 1030

Event Type: Error
Event Source: Userenv
Event Category: None
Event ID: 1030

Description:
Windows cannot query for the list of Group Policy objects. Check the event log for possible messages previously logged by the policy engine that describes the reason for this.

Successful repair steps taken:

  1. Download and install the Windows Server 2003 Service Pack 1 Support Tools.
  2. Once installed, open the command prompt and run: dfsutil /PurgeMupCache
  3. Then run: gpupdate /force
  4. Examine the Application Event log for Event ID 1704

If this does not correct your issue, the following Microsoft Knowledge Base articles might help:

  1. KB888943 - Event 1030 and event 1058 may be logged, and you may not be able to start the Group Policy snap-in on your Windows Small Business Server 2003 computer.
  2. KB842804 – A Windows Server 2003-based computer may stop responding when it is resumed from standby and events 1030 and 1058 are logged in the application log of a domain controller.

Migrate to Windows Small Business Server 2008 from Windows Small Business Server 2003

Wednesday, November 12th, 2008

The following TechNet article – “Migrate to Windows Small Business Server 2008 from Windows Small Business Server 2003″ – covers the process of installing Windows Small Business Server 2008 and migrating your existing Windows Small Business Server 2003 based domain:

http://technet.microsoft.com/en-us/library/cc546034.aspx

Although the process is fairly straight forward and simple, we have found it useful to simulate the process using a virtualized environment created from the SBS 2003 machine using Acronis True Image Virtual Edition and VMWare.

Remote Logons and UAC

Thursday, September 25th, 2008

When connecting to a Vista machine from another machine that is not on the same domain, Vista will filter the token.  You must disable Remote UAC in the Vista machine’s registry:

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\
Policies\system\LocalAccountTokenFilterPolicy

   0 – build filtered token (Remote UAC enabled)
   1 – build elevated token (Remote UAC disabled)

By setting the DWORD entry to 1, you will be able to access the administrative shares since the remote logon token will not be filtered.

Check Windows Installer (MSI) Logs

Sunday, September 21st, 2008

Windows typically uses the following directory to store MSI logs with the filenames “Msi*.log”:

%SYSTEMROOT%\Temp

By examining the MSI logs most recently modified, you can often see installation issues, such as permission errors, registry problems, and dependancy errors:

dir /O-D /TW %SYSTEMROOT%\Temp\Msi*.log

If MSI logging is not enabled, you can enable it by editing the registry or via GPO.  See KB223300 for details on how to enable logging.

Simulate a Windows Application Deployment Lifecycle

Sunday, September 21st, 2008

If a domain test bed is not avaiable, either real or virtualized, it is best to use a single workstation to test an unproven MSI based package. Frequently the deployment process is hung up when the MSI performs a custom action that requires some form of user interaction. It is important to not only look for this behavior in new installations, but also MSI’s used to upgrade long functioning deployed applications, before introducing either to your GPO.

This is the recommended test procedure:

A) Perform an installation and look for dialogues that require user intervention:

  1. MSIEXEC /i “\\path_to_msi” /qb
  2. The /i switch tells MSIEXEC to install or configure a product
  3. The /qb switch tells MSIEXEC to use a basic UI

B) If the application does not install correctly, check the MSI log file for errors. Otherwise confirm the application is functioning correctly.

C) It is critical to test what happens during uninstallation of the application too. Any user interaction requirements could cause a failure when upgrading or removing your application later. Run the following command to observe the uninstall process:

  1. MSIEXEC /x “\\path_to_msi” /qb
  2. The /x switch tells MSIEXEC to uninstall the product

D) If the application installs and uninstalls without requiring user interaction, it will probably work fine deployed. To finalize a simulation, the application should be silently installed remotely using PSEXEC and the following commands:

  1. PSEXEC -u context\username -p password \\target_machine MSIEXEC.EXE /i “\\path_to_msi” /qn

E) Confirm the application functions correctly with an unprivileged user account. Check the MSI log on the target machine for errors if necessary.

F) Once again, test the uninstall process:

  1. PSEXEC -u context\username -p password \\target_machine MSIEXEC.EXE /x “\\path_to_msi” /qn

G) If the application appears to be working, you can proceed with assigning it to your GPO.

H) If application does not deploy, try the following:

  1. Examine the MSI logs on the client computer and make any adjustments necessary.
  2. Confirm Vista’s UAC is not blocking installation.
  3. Check http://www.appdeploy.com for valuable tips and tricks, particularly if you are deploying a popular commerical package. The site has some great resources on how to customize packages so they will install correctly.

Office 2007 Updates Fail with Error Code 57A

Tuesday, September 16th, 2008

The following Office 2007 updates failed to install on Windows Vista Business with Error Code 57A:

KB950130, KB951338, KB951944, KB951596, KB954326, KB956080, KB951546

Examing the %systemroot%\Temp\MSI*.log files revealed that the admin account did not have access to the registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\
CurrentVersion\Uninstall\ENTERPRISER

Giving the administrators group and the system account ownership and Full Control of the registry key resolve the update issues.

Use CheckSUR to repair Windows Vista update issues

Sunday, September 14th, 2008

The Windows Vista Check for System Update Readiness (CheckSUR) tool will try to fix certain Windows Update installation failures.

System resources, such as file data, registry data, and even in-memory data, can develop inconsistencies during the lifetime of the operating system. These inconsistencies may be caused by various hardware failures or by software issues. In some cases, these inconsistencies can affect the Windows Servicing Store, and they can cause a Windows Vista update to fail. When the update fails, it blocks the user from installing updates and service packs. CheckSUR addresses this issue.

When Windows Update detects inconsistencies that are related to system servicing in system files or in the registry, Windows Update offers CheckSUR as an available update package.

Note This Windows Update or Automatic Update package will only be offered if such inconsistencies have been detected on the system. CheckSUR should run automatically after it has been installed from Windows Update.

To manually install and run CheckSUR, follow these steps:

  1. Click Start , click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
  2. In the User Account Control dialog box, click Continue.
  3. Type reg add HKLM\COMPONENTS /v StoreCorruptTimeStamp /t REG_SZ /d “0″ /f, and then press ENTER.
  4. Type reg delete
    HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\CheckSUR\
    , and then press ENTER.
  5. Download and then install CheckSUR from the Microsoft Download Center.
  6. As soon as the file has been successfully downloaded, double-click the file to install and run CheckSUR.

We recommend that you restart your computer after you run CheckSUR to make sure that any changes take effect. Additionally, you must try to reinstall any software updates that previously could not be installed. If CheckSUR detected and fixed the cause of the failures, these updates will now install successfully.

CheckSUR creates a log file that captures the issues, if any exist, that were found or fixed. The log file will be located at %WINDIR%\Logs\CBS\CheckSUR.log

CheckSUR is run by Windows Update after you install KB947821. Windows Update can take as long as 10 to 15 minutes to complete this scan. The time may be significantly longer on some computers. However, the Windows Update progress bar is not updated while this process is running, and it will not move. This means that the Windows Update progress bar may indicate that it is 0 percent complete, or 20 percent complete, and so on, for some time. This behavior is expected, and you should not cancel the update. If you cancel the update, some problems may not be identified, and this package may have to run again.