Archive

Archive for November, 2012

Windows 8: VMware Workstation MSI failed

November 10, 2012 4 comments

VMware Workstation 9 on Windows 8 was a struggle for me. The x64 MSI of VMware workstations was always failing with the same error message  ‘vmwareworkstation_x64.msi failed’. I tried cleaning up the temp folder, running the exe with an other account, investigating the msi log, etc..

I ended up in following the 1308KB of VMware. first I tried install cleaner(VMware_Install_Cleaner.zip) but this didn’t solve the problem for me. The issue was solved after following the “Manually cleaning a Windows system” steps by deleting specific folders & files and registry keys.

VMware link KB1308

Categories: Windows 8

SCCM 2007: Remove all packages from distribution point

November 10, 2012 Leave a comment

I use the “ConfigMgr 2007 Distribution Point Package Utility” to remove all packages from a specific distribution point. Within SCCM 2007 it’s possible to copy all packages to one ore more distribution points but there is nothing built-in to remove them again at once of all packages. This is a very handy tool, the utility queries the primary site server for all of its distribution points including child sites and then displays the packages for each distribution point. You check or uncheck which ones you want on that distribution point. You can also copy the packages list from one DP to another.

Use this tool to remove the distribution point from all packages before you completely remove the distribution point from SCCM.

Many thanks to the creator “Cory Becht”
Download

Categories: SCCM 2007 / 2012

SCCM 2007: Run programs as administrator without local admin priviliges

November 5, 2012 1 comment

In some circumstances it may be useful to run a specific program as administrator without granting the user admin rights, especially old applications that require to run as administrator. I found that this is possible via SCCM by creating a shortcut with a VBS script behind to run a program with Administrative privileges. You can also use Run Advertised programs but this not very user friendly. It’s not very recommended because the application cannot run when the SCCM server is not available but it’s sometimes very useful!

My code below can be used when you change the two variables below:

ProgramID = Name of the progams in the package
PackageID = The ID of the package

Make sure that the program is advertised to the client. You can get the package id easily with the Client Center Tool of Roger Zander by showing the published advertisements:

Client center Tool for Configuration manager 2007: http://sourceforge.net/projects/smsclictr/ 


'Run the program with Local System account)

Option Explicit

Call RunProgram("RunAS", "STC00030")

Sub RunProgram(programId, packageId)

Dim oUIResource
 Dim oPrograms
 Dim oProgram

Set oUIResource = CreateObject ("UIResource.UIResourceMgr")

If oUIResource Is Nothing Then
 wscript.echo "Could not create Resource Object - quitting"
 Exit Sub
 End If

if oUIResource.IsMandatoryProgramPending = 1 Then
 Wscript.Echo "Mandatory program pending. Try again later."
 Set oUIResource = Nothing
 Exit Sub
 End If

Set oProgram = oUIResource.GetProgram(programId, packageId)
 'WScript.Echo "oProgram: " & oProgram.Name
 if oProgram is Nothing Then
 WScript.Echo "Couldn't get the program"
 Set oUIResource = Nothing
 Exit Sub
 End If

'Wscript.Echo "Running program: " & oProgram.FullName

oUIResource.ExecuteProgram programId, packageID, True

Set oProgram = Nothing
Set oUIResource = Nothing

End Sub

Code based on: http://msdn.microsoft.com/en-us/library/cc143667.aspx

 

Categories: SCCM 2007 / 2012

Windows 8: Start menu fun

November 4, 2012 2 comments

The next video shows the real user experience of the average user. It’s maybe not really appropriate anymore because it was the beta version but it’s funny to watch:


Everyone knows yet that the removal of the classic start menu is a chock for most users. In my opinion it’s a mistake by Microsoft to completely eliminate the classic start menu. There should be at least an option to bring it back to provide some transition to future Windows versions because almost all legacy applications does not run yet in the new Windows 8 user interface but are still running on the desktop.  There are already a lot of third party tools available to bring the classic start menu back like Stardock Start8, Iobit Start Menu 8,..

But no panic, there is another great hidden feature in the new Windows 8 start menu! When you right click on the new Windows 8 User interface you get a very handy menu to access the most important tools in Windows. It’s very handy for IT-pro’s like me, this is really a great enhancement!

Categories: Windows 8