Hi All,
After a few months of browsing, I am finally posting something because I need help! If I can get this problem solved, I plan on publishing a new recipe here to the discussion boards to benefit those who are running into the very same problem.
I have done *tons* of searching on this topic; add command-line attributes to the Package.ini file; use the /32 switch for MMC...none of which are working for me:
- ThinApp version 5.0.0-1391583
- Windows 7 SP1 x86 (clean install, joined to domain, using admin account to package apps)
After installing RSAT to my VM, when attempting to start AD Users and Computers, I get this error message:
"MMC cannot open the file C:\Windows\system32\dsa.msc
This may be because the file does not exist, is not an MMC console, or was created by a later version of MMC. This may also be because you do not have sufficient access rights to the file"
My ThinApp and target VMs are both running the exact same Windows 7 SP1 x86 build, so I know it's not a platform issue (and people have done this before me, so....)
For what it's worth, Active Directory Administrative Center works fine, so does the PowerShell snap in.
AD Domains and Trusts, AD Sites and Services, AD Users and Computers, Certification Authority, DFS, DNS, File Server Resource Manager, and Group Policy Management all exhibit this error.
The following Package.ini file is the stock ThinApp generated file (I set MSIStreaming to '1'):
[Compression]
CompressionType=None
[Isolation]
DirectoryIsolationMode=Merged
[BuildOptions]
;-------- MSI Parameters ----------
;Enable MSIFilename if you want to generate a Windows Installer package.
MSIFilename=Remote System Administration Toolkit.msi
MSIManufacturer=Unknown
MSIProductVersion=1.0
MSIDefaultInstallAllUsers=1
MSIRequireElevatedPrivileges=1
MSIInstallDirectory=Remote System Administration Toolkit (VMware ThinApp)
;MSIProductCode={3AA25CD2-BD2E-02B6-68E5-A819BB038210}
MSIUpgradeCode={08F1B157-1D00-5110-B3F6-5F97E0F68303}
MSIStreaming=1
MSICompressionType=Fast
MSIArpProductIcon=%SystemSystem%\mmc.exe
MSIIs64Bit=0
;-------- General Purpose Parameters ----------
SandboxName=Remote System Administration Toolkit
InventoryName=Remote System Administration Toolkit
InventoryIcon=%SystemSystem%\mmc.exe
;PermittedGroups=Administrators;Remote Desktop Users
;RemoveSandboxOnExit=1
;RemoveSandboxOnStart=1
;SandboxNetworkDrives=1
;SandboxRemovableDisk=1
;VirtualizeExternalOutOfProcessCOM=0
;OptionalAppLinks=plugins\*.exe
;RequiredAppLinks=\\server\share\*.exe;c:\abs\path\file.exe
VirtualDrives=Drive=c, Serial=985015ce, Type=FIXED
;VirtualDrives=Drive=c, Serial=985015ce, Type=FIXED; Drive=d, Serial=985015ce, Type=CDROM
;VirtualComputerName=VDI7THINAPP
AnsiCodePage=1252
LocaleIdentifier=1033
LocaleName=en-US
; If you have problems running a 32 bit application under 64 bit Windows, try enabling this line before building the project
;Wow64=0
; If you have problems running a mixed 32/64 bit application under 64 bit Windows, try enabling this line before building the project
AltArchitectureShortcut=0
; Enable this option to load .Net binaries from the system instead of the package on Windows 7 or above
;LoadDotNetFromSystem=Win7
QualityReportingEnabled=0
; Enable this option to ignore DDE messages from external processes
;IgnoreDDEMessages=1
[Remote System Administration Toolkit.dat]
Source=%SystemSystem%\mmc.exe
;Change ReadOnlyData to bin\Package.ro.tvr to build with old versions(4.6.0 or earlier) of tools
ReadOnlyData=Package.ro.tvr
MetaDataContainerOnly=1
[DNS.exe]
Source=%SystemSystem%\mmc.exe
Shortcut=Remote System Administration Toolkit.dat
WorkingDirectory=%Profile%
CommandLine="%SystemSystem%\mmc.exe" %SystemRoot%\system32\dnsmgmt.msc /s
Comment=Manages the Domain Name System (DNS) service, which translates DNS computer names to IP addresses.
Shortcuts=%Common AdminTools%
[DFS Management.exe]
Source=%SystemSystem%\mmc.exe
Shortcut=Remote System Administration Toolkit.dat
WorkingDirectory=%SystemSystem%
CommandLine="%SystemSystem%\mmc.exe" #25windir#25\system32\dfsmgmt.msc
Comment=Manages DFS Namespaces and DFS Replication.
Shortcuts=%Common AdminTools%
[Group Policy Management.exe]
Source=%SystemSystem%\mmc.exe
Shortcut=Remote System Administration Toolkit.dat
WorkingDirectory=%Profile%
CommandLine="%SystemSystem%\mmc.exe" %SystemRoot%\system32\gpmc.msc
Comment=Allows management of Group Policy across sites, domains, and organizational units within one or more forests.
Shortcuts=%Common AdminTools%
[File Server Resource Manager.exe]
Source=%SystemSystem%\mmc.exe
Shortcut=Remote System Administration Toolkit.dat
WorkingDirectory=%SystemSystem%
CommandLine="%SystemSystem%\mmc.exe" #25windir#25\system32\fsrm.msc
Comment=Manages directory quotas and file screens.
Shortcuts=%Common AdminTools%
[Remote Server Administration Tools.exe]
Disabled=1
Source=%SystemRoot%\hh.exe
Shortcut=Remote System Administration Toolkit.dat
WorkingDirectory=%SystemRoot%\help
CommandLine="%SystemRoot%\hh.exe" rsat_client.chm
Comment=Find information about Remote Server Administration Tools, including instructions for installing, removing, or using tools.
Shortcuts=%Common AdminTools%
[Active Directory PowerShell Snap-In.exe]
Source=%SystemSystem%\WindowsPowerShell\v1.0\powershell.exe
Shortcut=Remote System Administration Toolkit.dat
WorkingDirectory=%Profile%
CommandLine="%SystemSystem%\WindowsPowerShell\v1.0\powershell.exe" -noexit -command import-module ActiveDirectory
Comment=PowerShell Management of Active Directory
Shortcuts=%Common AdminTools%
[Active Directory Administrative Center.exe]
Source=%SystemSystem%\dsac.exe
Shortcut=Remote System Administration Toolkit.dat
WorkingDirectory=%SystemSystem%
Comment=Manages users, computers, security groups and other Active Directory objects through data-driven and task-oriented navigation.
Shortcuts=%Common AdminTools%
[mtedit (1).exe]
Source=%SystemSystem%\mtedit.exe
Shortcut=Remote System Administration Toolkit.dat
FileTypes=.migtable
[desktop.exe]
Disabled=1
Source=%Common AdminTools%\desktop.ini
Shortcut=Remote System Administration Toolkit.dat
Shortcuts=%Common AdminTools%
[ADSIEdit.exe]
Source=%SystemSystem%\adsiedit.msc
Shortcut=Remote System Administration Toolkit.dat
WorkingDirectory=%Profile%
Comment=Active Directory Services Interfaces Editor (ADSI Edit) is a low-level editor for Active Directory Domain Services / Active Directory Lightweight Directory Services. It allows you to view, modify, create, and delete any object in Microsoft's AD DS/LDS.
Shortcuts=%Common AdminTools%
[Certification Authority.exe]
Source=%SystemSystem%\certsrv.msc
Shortcut=Remote System Administration Toolkit.dat
Comment=Manages Active Directory Certificate Services, which issues certificates for public key security programs
Shortcuts=%Common AdminTools%
[Share and Storage Management.exe]
Source=%SystemSystem%\StorageMgmt.msc
Shortcut=Remote System Administration Toolkit.dat
WorkingDirectory=%SystemSystem%
Comment=Manages Shares and Volumes.
Shortcuts=%Common AdminTools%
[Active Directory Domains and Trusts.exe]
Source=%SystemSystem%\domain.msc
Shortcut=Remote System Administration Toolkit.dat
WorkingDirectory=%Profile%
Comment=Manages the trust relationships between domains.
Shortcuts=%Common AdminTools%
[Active Directory Sites and Services.exe]
Source=%SystemSystem%\dssite.msc
Shortcut=Remote System Administration Toolkit.dat
WorkingDirectory=%Profile%
Comment=Creates sites to manage the replication of Active Directory Domain Services information.
Shortcuts=%Common AdminTools%
[Active Directory Users and Computers.exe]
Source=%SystemSystem%\dsa.msc
Shortcut=Remote System Administration Toolkit.dat
WorkingDirectory=%Profile%
Comment=Manages users, computers, security groups and other objects in Active Directory Domain Services.
Shortcuts=%Common AdminTools%
Thanks in advance for any help you can provide!