Petri IT Knowledgebase Forums
 

Petri.co.il forums Home Forums Start Page Forums Frequently Asked Questions FAQ Member List Members List
Go Back   Petri IT Knowledgebase Forums > Microsoft Networking Services > Active Directory
Petri.co.il is happy to award auglan the title of Most Valuable Member !!!
Register Calendar Calendar Search Petri IT Knowledgebase Forums Search Todays Posts Today's Posts Mark Forums Read

Notices

GP: Computer StartUp script

GP: Computer StartUp script

this thread has 6 replies and has been viewed 11192 times

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 3rd February 2004, 16:26
konchif konchif is offline
Casual
Casual
 
 Join Date: Feb 2004
  6 month star 12 month star
 Posts: 6
 Reputation: konchif is on a distinguished road (10)
Default GP: Computer StartUp script

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  
Old 3rd February 2004, 22:58
Dumber's Avatar
Dumber Dumber is offline
Moderator
 
 Join Date: Dec 2003
  6 month star 12 month star
 Location: The Netherlands
 Posts: 8,067
 Reputation: Dumber is a splendid one to beholdDumber is a splendid one to beholdDumber is a splendid one to beholdDumber is a splendid one to beholdDumber is a splendid one to beholdDumber is a splendid one to beholdDumber is a splendid one to behold (820)
Default RE: GP: Computer StartUp script

first, check you're eventlogs. (client side)
  #3  
Old 4th February 2004, 15:10
konchif konchif is offline
Casual
Casual
 
 Join Date: Feb 2004
  6 month star 12 month star
 Posts: 6
 Reputation: konchif is on a distinguished road (10)
Default RE: GP: Computer StartUp script

I don`t see nothing related
BTW, scriped is replicated in AD
SE?
  #4  
Old 4th February 2004, 15:36
Dumber's Avatar
Dumber Dumber is offline
Moderator
 
 Join Date: Dec 2003
  6 month star 12 month star
 Location: The Netherlands
 Posts: 8,067
 Reputation: Dumber is a splendid one to beholdDumber is a splendid one to beholdDumber is a splendid one to beholdDumber is a splendid one to beholdDumber is a splendid one to beholdDumber is a splendid one to beholdDumber is a splendid one to behold (820)
Default RE: GP: Computer StartUp script

check youre client with gpresult..
check logs..
etcetc.

there must be something about errors if it doesn't work..
  #5  
Old 5th February 2004, 11:11
konchif konchif is offline
Casual
Casual
 
 Join Date: Feb 2004
  6 month star 12 month star
 Posts: 6
 Reputation: konchif is on a distinguished road (10)
Default RE: GP: Computer StartUp script

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  
Old 5th February 2004, 11:45
Dumber's Avatar
Dumber Dumber is offline
Moderator
 
 Join Date: Dec 2003
  6 month star 12 month star
 Location: The Netherlands
 Posts: 8,067
 Reputation: Dumber is a splendid one to beholdDumber is a splendid one to beholdDumber is a splendid one to beholdDumber is a splendid one to beholdDumber is a splendid one to beholdDumber is a splendid one to beholdDumber is a splendid one to behold (820)
Default RE: GP: Computer StartUp script

Quote:
"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"
but does the batchfile work when you run it manually?

maybe this will work better:

call "\\server\program files\program\setup.exe"
  #7  
Old 6th February 2004, 01:09
guyt's Avatar
guyt guyt is offline
[MSFT]
Guru
 
 Join Date: Nov 2003
  6 month star 12 month star
 Location: Israel
 Posts: 1,766
  Send a message via MSN to guyt
 Reputation: guyt is a name known to allguyt is a name known to allguyt is a name known to allguyt is a name known to allguyt is a name known to allguyt is a name known to all (592)
Default RE: GP: Computer StartUp script

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"
(change the time so it will run in a minute after you submit the job)
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"
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT +3. The time now is 21:52.

Steel Blue 3.5.4 vBulletin Style ©2006 vBEnhanced
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
 

Valid XHTML 1.0!   Valid CSS!

Copyright 2005 Daniel Petri