Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1375
  • Last Modified:

installing program via log off script in GPO

Anybody have instructions on how to install a program via GPO and a logoff script. I have an .exe file and we just want to get the program installed when users logoff for the day. We are in a 2003/2008 server mixed environment. Thanks
0
Thomas N
Asked:
Thomas N
  • 3
  • 2
1 Solution
 
Thomas NSystems Analyst - Windows System AdministratorAuthor Commented:
also should i do a workstation shutdown script or user log off script? What is the difference?
0
 
warddhoogheCommented:
0
 
Thomas NSystems Analyst - Windows System AdministratorAuthor Commented:
okay that explains that but does anyone have step by step instructions on how to install a program\application with GPO?
0
Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

 
Thomas NSystems Analyst - Windows System AdministratorAuthor Commented:
and can it be a .exe file or do I have to use a msi file?
0
 
warddhoogheCommented:
Installing software by group policies (depending on a group membership) is a different thing and occurs during logon or shortly after; you wanted it during logoff process, hence my link.

when using previous GPO logoff script definition, you can use anything that is executable, .bat .cmd .exe .vbs .msi as far as I know.
the only reason it doesnt work can be another policy preventing execution of that kind of extention or no access to the file, the anti-virus or anti-whatever you have installed on the client PC. So take that into account when deciding things.

I recommend storing and executing it from \\YOURDOMAIN\NETLOGON\your_program.bat because everyone has read access to that location and only domain admin has write permissions there.
It wouldnt hurt starting from a .bat file and starting with IF NOT EXIST <filename> .... etc so you dont install it each time a user logs off. (always think ahead is motto)
0
 
ThinkPaperIT ConsultantCommented:
What is this application you are trying to install? It all depends on whether the EXE supports unattended installation. (i.e. does it sit waiting for the user to select file location, click "next", etc..) If it requires user input, then the GPO deployment will not work.
0

Featured Post

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

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