• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 748
  • Last Modified:

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?
0
andre_st
Asked:
andre_st
  • 4
  • 4
  • 2
  • +1
1 Solution
 
Ned RamsayCommented:
Does the MSI install if you run it manually? Or does it error out?
0
 
andre_stAuthor Commented:
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.
0
 
loftywormCommented:
I would run dcdiag on your dc's, make sure they are all replicating correctly
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
loftywormCommented:
also, check the permissions on the gpo, and ntfs permissions on the file and GPO files
0
 
andre_stAuthor Commented:
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.
0
 
loftywormCommented:
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.
0
 
micalkinCommented:
Is your gpo set to install using the computer settings or the user settings?
0
 
Ned RamsayCommented:
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.
0
 
andre_stAuthor Commented:
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.

0
 
loftywormCommented:
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?
0
 
andre_stAuthor Commented:
Sorry about about the late answer. I´ve been sick at home for some days.

Loftyworm : Yes, I could run the msi from the computer client - using UNC path. But later on it required administrators permission to install. By using GPO this problem is taken care off.

However - beeing tired of this problem I simply changed to VMWare-client instead and suddenly GPO is working as it should. So I am afraid I wont try to dig further into this problem. Perhaps there simply something wrong/corrupted with the other computer client I used, and a fresh install of the OS would help?

I am closing this question, thanks alot for your efforts! I will award myself of the "solution", and choose to not admit this thread to the question database.

Regards,

André
0

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

  • 4
  • 4
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now