RE: [ActiveDir] Script not working thru GPO

2006-04-02 Thread joe
http://www.joeware.net/win/ad3e.htm      From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian DesmondSent: Sunday, April 02, 2006 3:18 PMTo: ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] Script not working thru GPO Usually how I handle that particular problem is have a

RE: [ActiveDir] Script not working thru GPO

2006-04-02 Thread Brian Desmond
]   c - 312.731.3132     From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of joe Sent: Sunday, April 02, 2006 4:19 AM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] Script not working thru GPO   One comment I thought of when looking at that is how well does

RE: [ActiveDir] Script not working thru GPO

2006-04-02 Thread Cothern, Jeffrey D Mr CTR USSOCOM HQ
AMTo: ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] Script not working thru GPO One comment I thought of when looking at that is how well does it handle multiple machines trying to run it at the same time? As a general rule, it is very difficult to have multiple computers all trying to

RE: [ActiveDir] Script not working thru GPO

2006-04-02 Thread joe
PMTo: ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] Script not working thru GPO Is there any reason you’re not just expanding the %ComputerName% environment variable in your script?   As far as searching the file:   Dim line Dim found found = false While Not objServerLis

RE: [ActiveDir] Script not working thru GPO

2006-03-30 Thread Cothern, Jeffrey D Mr CTR USSOCOM HQ
@mail.activedir.orgSubject: RE: [ActiveDir] Script not working thru GPO Is there any reason you’re not just expanding the %ComputerName% environment variable in your script?   As far as searching the file:   Dim line Dim found found = false While Not objServerList.EOF     Line

Re: [ActiveDir] Script not working thru GPO

2006-03-29 Thread Kamlesh Parmar
ECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Cothern, Jeffrey D Mr CTR USSOCOM HQ Sent: Wednesday, March 29, 2006 11:55 AM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] Script not working thru GPO   Foudn that problem and the other which was with objShell   Here is the working script.

RE: [ActiveDir] Script not working thru GPO

2006-03-29 Thread Marcus.Oh
ices\Eventlog\System\AutoBackupLogFiles", 1, "REG_DWORD"       From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, March 29, 2006 9:20 AM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] Script not working thru GPO Wha

RE: [ActiveDir] Script not working thru GPO

2006-03-29 Thread Brian Desmond
Cothern, Jeffrey D Mr CTR USSOCOM HQ Sent: Wednesday, March 29, 2006 11:55 AM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] Script not working thru GPO   Foudn that problem and the other which was with objShell   Here is the working script. Now to find a way to have it check if

RE: [ActiveDir] Script not working thru GPO

2006-03-29 Thread Cothern, Jeffrey D Mr CTR USSOCOM HQ
les", 1, "REG_DWORD"     From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]Sent: Wednesday, March 29, 2006 9:20 AMTo: ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] Script not working thru GPO What’s objFile being set to?   Set WshShell =

RE: [ActiveDir] Script not working thru GPO

2006-03-29 Thread Marcus.Oh
CTR USSOCOM HQ Sent: Wednesday, March 29, 2006 8:45 AM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] Script not working thru GPO   Thank you       That fixed that line.. Now to another line.  As I mentioned before this script works fine outside of GPO.     Do you see anything wro

RE: [ActiveDir] Script not working thru GPO

2006-03-29 Thread Cothern, Jeffrey D Mr CTR USSOCOM HQ
PMTo: ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] Script not working thru GPO Good catch Kamlesh. Jeff, check out:   http://msdn.microsoft.com/library/default.asp?url="">    for an example of this. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kamles

RE: [ActiveDir] Script not working thru GPO

2006-03-28 Thread Darren Mar-Elia
e: [ActiveDir] Script not working thru GPO If this is the exact script then Where have you defined value of "ForAppending" ??   As error  message contains "invalid argument"   -- Kamlesh  On 3/28/06, Cothern, Jeffrey D Mr CTR USSOCOM HQ <[EMAIL PROTECTED]> wrote:

Re: [ActiveDir] Script not working thru GPO

2006-03-28 Thread Kamlesh Parmar
If this is the exact script then Where have you defined value of "ForAppending" ??   As error  message contains "invalid argument"   -- Kamlesh  On 3/28/06, Cothern, Jeffrey D Mr CTR USSOCOM HQ <[EMAIL PROTECTED]> wrote: I have a script i created in vbs.  This script works when run on the machine

RE: [ActiveDir] Script not working thru GPO

2006-03-28 Thread Darren Mar-Elia
it gets to doing the policies the computer is fully on the network?   Jeff   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve RochfordSent: Tuesday, March 28, 2006 3:53 AMTo: ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] Script not working thru GPO Check

Re: [ActiveDir] Script not working thru GPO

2006-03-28 Thread matheesha weerasinghe
org Subject: RE: [ActiveDir] Script not working thru GPO  Check permissions on that file/folder - if you're running this as a machine startup script then the group "domain computers" will need to be able to write to it (and almost certainly won't have those rights unless you&#

RE: [ActiveDir] Script not working thru GPO

2006-03-28 Thread Cothern, Jeffrey D Mr CTR USSOCOM HQ
gets to doing the policies the computer is fully on the network?   Jeff   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve RochfordSent: Tuesday, March 28, 2006 3:53 AMTo: ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] Script not working thru GPO Check permissions on

RE: [ActiveDir] Script not working thru GPO

2006-03-28 Thread Steve Rochford
Check permissions on that file/folder - if you're running this as a machine startup script then the group "domain computers" will need to be able to write to it (and almost certainly won't have those rights unless you've added them before)   Steve From: [EMAIL PROTECTED] [mailto:[EMAIL PRO

RE: [ActiveDir] Script not working thru GPO

2006-03-27 Thread deji
Try accessing \\fileserver\serverlist.txt from the problem machine and see what you get. Sincerely, _ (, / | /) /) /) /---| (/_ __ ___// _ // _ ) /|_/(__(_) // (_(_)(/_(_(_/(__(/_ (_/

RE: [ActiveDir] Script not working thru GPO

2006-03-27 Thread Darren Mar-Elia
I suspect this is because startup scripts run in the context of localSystem or the machine account when accessing network resources. If the file is remote, try granting the computer account explicit write permissions to the file and see if that helps.     Darren From: [EMAIL PROTECTED] [m