Link to home
Start Free TrialLog in
Avatar of andre_st
andre_st

asked on

Installing application through GP, only partially working

I am going nuts with GP. It seems to be that group policy decides every now and then to just NOT WORK. It has been working fine previously but now I have the problem of applications not installing correctly.

I create a GP and link it to either computer or user accounts. I have also tried "forcing" it. I can see through "gpresult /v" on the client that the policy indeed is noticed by the computer, and that it has been applied. But the only sign of the installed application on the computer is that I can choose to "uninstall" it from the install/remove software in the control panel. But the application has yet never been actually installed. There is no programfolder, files or anything to be found on the computer.

I have tried different software deployment methods like "assigned / published". Logged out, and restarted the computer 30 times...

I have also tried this with several different programs, just to make sure it isnt just the msi-packet. The outcome is always the same. I cannot find anything in the client logs. However I found the following errormessage in the DC log: Software installation was unable to read the MSI file \\server\share\software\install.msi. The following error was encountered: SQL query syntax invalid or unsupported.

In a another "warning" log: Software installation encountered an unexpted error while reading from the MSI file \\server\share\software\install.msi. The error was not serious enough to justify halting the operation. The following error was encountered: The operation completed successfully.

Any ideas on what the reason is behind this?
Avatar of Ned Ramsay
Ned Ramsay
Flag of United States of America image

Does the MSI install if you run it manually? Or does it error out?
Avatar of andre_st
andre_st

ASKER

It installs without any problems - when run manually.

Perhaps I should mention that the domain controller (server 2008) is run on a VMWare client. But the test computer/user runs on a "real" machine (Vista). But as I said, everything else seems to be working. And I have also been able to deploy software in this exact manner before.
Avatar of Lofty Worm
I would run dcdiag on your dc's, make sure they are all replicating correctly
also, check the permissions on the gpo, and ntfs permissions on the file and GPO files
I am only using one DC - so I guess there isnt much need to check the replication status.

As for the gpo permission, I set it to "everyone", and "domain users" - so I guess that should be more than enough. NTFS file permission? I havent checked that out, but as I tried several different msi-packets from different programs, and they all failed. I dont think there is any problem with that - especially since I can easily install them on a local machine. Either with the files placed on the local computer, or running the msi-packet manually from the network drive.
I am thinking more that the client is not able to get the package from the source.  rsop can see the gpo, but perhaps it is having problems getting the files.
Is your gpo set to install using the computer settings or the user settings?
If the client is a Vista machine as you said, have you got the correct path for user files etc? Ive seen a massive surge in problems when people are using vista PCs with GP, typically because the "c:\documents and settings\username\application data" is now in "c:\users\username" and it tries to install to the wrong path.
Loftyworm: yes, it is able to see the gpo - but is not getting the files properly.

micalkin: I have tried both ways - using computer and user settings

nedramsay: which "user files"? When you deploy a software through GPO, it only allows you to use UNC-path. Besides from that, the msi-packet should run on the local computer (from the network). And the msi-packet should have no difficulties in installing the program files to the right folders, whether it is a Vista or an XP machine. I have installed these softwares dussin of times on a local machine and there is never any problem regarding the location used by the msi.

What happens when you run the exact MSI the GPO is running, from the workstation?  I mean run the MSI from the network UNC, not the local machine.

Does the installer require elevated privileges?
ASKER CERTIFIED SOLUTION
Avatar of andre_st
andre_st

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial