![]() |
|
|
|||||||
| Petri.co.il is happy to award auglan the title of Most Valuable Member !!! |
| Register | Calendar |
Search |
Today's Posts |
Mark Forums Read |
| Notices |
|
|
GP: Computer StartUp scriptthis thread has 6 replies and has been viewed 11192 times
|
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||||||
|
||||||||
|
Hi, I am intrested in writing a script that allows to me install software on any machine with a Restricted User logged on.
I built an OU and added a machine to it. Then I added a GP and edited it on LOCAL MACHINE - Startup - script: 123.bat file in script directory call \\server\program file\program\setip.exe I can see that the machine is running the policy but it is not installing it. What shoud I do? Thank you |
|
#2
|
||||||||||
|
||||||||||
|
first, check you're eventlogs. (client side)
|
|
#3
|
||||||||
|
||||||||
|
I don`t see nothing related
BTW, scriped is replicated in AD SE? |
|
#4
|
||||||||||
|
||||||||||
|
check youre client with gpresult..
check logs.. etcetc. there must be something about errors if it doesn't work.. |
|
#5
|
||||||||
|
||||||||
|
Hi, I seems , i found something in Logs:
The GP client -side extansion Application Managment was passed flages(1) and reterned a failure status code of (1612) previose was event 108 that sends me to the first and tells that: "Verify that the source exists and that you can access it" as I told before I have full access to the installation folder and from a machine its running OK, the batch file is very simple: "call \\server\program files\program\setup.exe" any idias, please? Thank you |
|
#6
|
||||||||||
|
||||||||||
|
Quote:
maybe this will work better: call "\\server\program files\program\setup.exe" |
|
#7
|
|||||||||||
|
|||||||||||
|
It's not enough that YOU have access to the \\server\program files\program\setup.exe file.
As it is a startup script, it is executed in Local System account of the computer it runs on context. The easy way to check is by running at the client machine: Code:
at 12:07 /INTERACTIVE "cmd.exe" and trying to access the file \\server\program files\program\setup.exe manually. If you get "Access denied" the problem is the permissions (the cmd will run under Local System account)
__________________
Guy Teverovsky http://blogs.technet.com/b/isrpfeplat/ "Smith & Wesson - the original point and click interface" |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| startup GPO script works on windows 2000 but not XP clients | cedtech23 | General Scripting | 5 | 15th June 2007 20:05 |
| VBS - IF computer name begins with XXX, run script. | AndyBoot | General Scripting | 2 | 1st March 2006 15:25 |
| Computer Account Automatic Creation | yanivfel | Active Directory | 3 | 23rd October 2004 20:42 |
| script to email computer name | abstech3@volstate.net | General Scripting | 5 | 18th August 2004 15:43 |