Guest notagirrafe Posted October 2, 2008 Posted October 2, 2008 I have two applications which are installed by MSI, but which then require administrative logon to each workstation to configure them. I have examines them and captured the changes which are made and it boils down to a few files I need to add to the Windows directory on the workstation. I would like to do that from a normal user logon so I don't have to visit every workstation, but how do I script that? The user logon script fails because it does not have permissions to write to the Windows directory. Thanks in advance.
Guest Meinolf Weber Posted October 2, 2008 Posted October 2, 2008 Re: Distributing files to workstations Hello notagirrafe, If you make the software distribution via GPO you can set a policy for the installation permissions, check this one: User configuration,windows components,windows installer, "Allways install with elevated privileges" Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties, and confers no rights. ** Please do NOT email, only reply to Newsgroups ** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm > I have two applications which are installed by MSI, but which then > require administrative logon to each workstation to configure them. > > I have examines them and captured the changes which are made and it > boils down to a few files I need to add to the Windows directory on > the workstation. > > I would like to do that from a normal user logon so I don't have to > visit every workstation, but how do I script that? The user logon > script fails because it does not have permissions to write to the > Windows directory. > > Thanks in advance. >
Guest notagirrafe Posted October 3, 2008 Posted October 3, 2008 Re: Distributing files to workstations That is interesting, but I'm not clear about how it helps me. The applications are installed by MSI and that is done. Now I have a few extra files which are configuration files I need to copy these into the Windows directory on the workstations. I can't see how I can use GPO to distribute them (unless I made an MSI out of them). Regards "Meinolf Weber" wrote: > Hello notagirrafe, > > If you make the software distribution via GPO you can set a policy for the > installation permissions, check this one: > User configuration,windows components,windows installer, "Allways install > with elevated privileges" > > Best regards > > Meinolf Weber > Disclaimer: This posting is provided "AS IS" with no warranties, and confers > no rights. > ** Please do NOT email, only reply to Newsgroups > ** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm > > > > I have two applications which are installed by MSI, but which then > > require administrative logon to each workstation to configure them. > > > > I have examines them and captured the changes which are made and it > > boils down to a few files I need to add to the Windows directory on > > the workstation. > > > > I would like to do that from a normal user logon so I don't have to > > visit every workstation, but how do I script that? The user logon > > script fails because it does not have permissions to write to the > > Windows directory. > > > > Thanks in advance. > > > > >
Guest Meinolf Weber Posted October 3, 2008 Posted October 3, 2008 Re: Distributing files to workstations Hello notagirrafe, I thought it was some installation steps after logon. Why not using a startup script to copy the files to the directory? Startup scripts run with system permission. Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties, and confers no rights. ** Please do NOT email, only reply to Newsgroups ** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm > That is interesting, but I'm not clear about how it helps me. The > applications are installed by MSI and that is done. Now I have a few > extra files which are configuration files I need to copy these into > the Windows directory on the workstations. I can't see how I can use > GPO to distribute them (unless I made an MSI out of them). > > Regards > > "Meinolf Weber" wrote: > >> Hello notagirrafe, >> >> If you make the software distribution via GPO you can set a policy >> for the >> installation permissions, check this one: >> User configuration,windows components,windows installer, "Allways >> install >> with elevated privileges" >> Best regards >> >> Meinolf Weber >> Disclaimer: This posting is provided "AS IS" with no warranties, and >> confers >> no rights. >> ** Please do NOT email, only reply to Newsgroups >> ** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm >>> I have two applications which are installed by MSI, but which then >>> require administrative logon to each workstation to configure them. >>> >>> I have examines them and captured the changes which are made and it >>> boils down to a few files I need to add to the Windows directory on >>> the workstation. >>> >>> I would like to do that from a normal user logon so I don't have to >>> visit every workstation, but how do I script that? The user logon >>> script fails because it does not have permissions to write to the >>> Windows directory. >>> >>> Thanks in advance. >>>
Guest Olaf Engelke Posted October 3, 2008 Posted October 3, 2008 Re: Distributing files to workstations Hello, notagirrafe wrote: > That is interesting, but I'm not clear about how it helps me. The > applications are installed by MSI and that is done. Now I have a few > extra files which are configuration files I need to copy these into > the Windows directory on the workstations. I can't see how I can use > GPO to distribute them (unless I made an MSI out of them). > besides the fact, that using the Windows directory for any application related stuff should be a big No! nowadays, you simply could set up a computer startup script in the Computer GPO and assign it to the OUs with the computers. Contents of the cmd type file could be like: @echo off if exist %SYSTEMROOT%\system32\xxx.txt goto END xcopy \\server\share\folder\xxx.txt %SYSTEMROOT%\system32 :END The Domain Computers group should have access to the mentioned share and folder. With VBScript you could evaluate more details for an existing file as well. You also could create an own MSI file, which installs the config files to the wanted target folder. Best greetings from Germany Olaf
Guest notagirrafe Posted October 3, 2008 Posted October 3, 2008 Re: Distributing files to workstations Thank you both Olaf and Meinolf for your help on this. I appreciate that the Windows directory is no place for application related stuff, but I didn't write the application, (nor even buy it). I get this sort of problem a lot with applications which do stupid things, but by the time you find out it is too late. The suggestion to use the startup script is perfect. I just did not think of it, I got stuck in trying to find a way to run the logon script with elevated privileges. Best greetings from the UK. "Olaf Engelke" wrote: > Hello, > notagirrafe wrote: > > That is interesting, but I'm not clear about how it helps me. The > > applications are installed by MSI and that is done. Now I have a few > > extra files which are configuration files I need to copy these into > > the Windows directory on the workstations. I can't see how I can use > > GPO to distribute them (unless I made an MSI out of them). > > > besides the fact, that using the Windows directory for any application > related stuff should be a big No! nowadays, you simply could set up a > computer startup script in the Computer GPO and assign it to the OUs with > the computers. > Contents of the cmd type file could be like: > @echo off > if exist %SYSTEMROOT%\system32\xxx.txt goto END > xcopy \\server\share\folder\xxx.txt %SYSTEMROOT%\system32 > :END > > The Domain Computers group should have access to the mentioned share and > folder. > With VBScript you could evaluate more details for an existing file as well. > You also could create an own MSI file, which installs the config files to > the wanted target folder. > Best greetings from Germany > Olaf > >
Recommended Posts