Re: Startup Script create files on network

From: BoomStick (this-_at_bigfoot.com)
Date: 02/27/04


Date: Fri, 27 Feb 2004 12:57:25 -0700

I figured it out!

Permissions weren't the problem at all. We are using a cluster for data
redundancy. This cluster has an alias assoiciated to it so that if we need
to bring a different server online as the primary, we can do so without
having to redirect everyones shortcuts and drive mappings.

Apparently startup scripts either don't like the alias, or are not going to
to dns to correctly determine the correct location that the alias is
pointing to.

I'm going to have to code my scripts with variables so that if the server
gets failed over to a different one, we can get the scrips back running with
just one modification.

Thanks for all your inputs.

Jared

"Chriss3" <noSpamHere@chrisse.se> wrote in message
news:%23eRt9tV$DHA.808@TK2MSFTNGP12.phx.gbl...
> You have to seen the difference between Share Permissions and NTFS
Security,
>
> My advice here is to give the SYSTEM account Full Control at the Share
> Permission for the particular share.
>
> How ever I think the SYSTEM account always should have the right to create
> files and folder to the local computer.
>
> Share Permission is the problem here I think.
>
> --
> Regards
> Christoffer Andersson
>
> No email replies please - reply in the newsgroup
>
> "BoomStick" <jared_luker-remove this-@bigfoot.com> skrev i meddelandet
> news:ew%237LaV$DHA.3852@TK2MSFTNGP10.phx.gbl...
> > I have a GPO in place that defines the startup script as
> > LGStartupRedirect.vbs.
> >
> > That script just calls a script on my machine (startup.vbs). I don't
have
> > change rights to the SYSVOL or NETLOGON directories, so I need to have
> this
> > script redirected so that I can make changes whenever I want.
> >
> > The script that's on my machine DOES execute, because I have a
> wscript.echo
> > statement that does pop up before I get the login screen. The scrpt
> > performs all actions EXCEPT creating that text file on one of my file
> > servers.
> >
> > I give SYSTEM change permissions on the folder.
> >
> > One weird thing I noticed is that when I add "system" to the names for
> > rights and hit Check Name, it shows the picture of a user with a red
arrow
> > going up. But when I look at the SYSTEM in the permissions window, the
> icon
> > looks like a group icon.
> >
> > I'm also currious... Why is it that I can run setup.exe for office2003
> > through the login script and it can access my network resource for read,
> but
> > when I want to write to a network resource it does not do it.
> >
> > I just added a file check statement into my script to see if it would be
> > able to read that particular directory. I said that if computername.txt
> > existed to pop up a message, and it did not pop up a message. I would
> seem
> > that the startup script does not have read or write access to that
network
> > share for some reason.
> >
> > Weird...
> >
> > Jared
> >
> > "Chriss3" <noSpamHere@chrisse.se> wrote in message
> > news:%23apvQyU$DHA.1456@TK2MSFTNGP09.phx.gbl...
> > > The SYSTEM account should work. tell us the steps you take exactly to
> > define
> > > your startup script.
> > >
> > > thanks.
> > >
> > > --
> > > Regards
> > > Christoffer Andersson
> > >
> > > No email replies please - reply in the newsgroup
> > >
> > > "BoomStick" <jared_luker-remove this-@bigfoot.com> skrev i meddelandet
> > > news:uJKvh5K$DHA.2804@tk2msftngp13.phx.gbl...
> > > > Unless I did it wrong, that did not work. The reason I question it,
> is
> > > the
> > > > only account on the domain that was called "system" had some sort of
> > weird
> > > > icon on it. But I added it to the NTFS permissions and I still
don't
> > get
> > > a
> > > > text file there.
> > > >
> > > > Jared
> > > >
> > > > "Chriss3" <noSpamHere@chrisse.se> wrote in message
> > > > news:O1JnP6I$DHA.2432@TK2MSFTNGP11.phx.gbl...
> > > > > System I suppose Startup scripts running under System Account.
> > > > >
> > > > > --
> > > > > Regards
> > > > > Christoffer Andersson
> > > > >
> > > > > No email replies please - reply in the newsgroup
> > > > >
> > > > > "BoomStick" <jared_luker-remove this-@bigfoot.com> skrev i
> meddelandet
> > > > > news:%23LlX1jI$DHA.2180@TK2MSFTNGP09.phx.gbl...
> > > > > > Hey all,
> > > > > >
> > > > > > I was wondering if anyone knows what permissons need to be set
on
> a
> > > > > network
> > > > > > share/folder to allow a startup script to create a file as it is
> > > > > executing.
> > > > > >
> > > > > > For example, I like to create a text file for each machine on a
> > folder
> > > > on
> > > > > my
> > > > > > server that represents if something did or did not happen in the
> > > startup
> > > > > > script. I just want to be able to record those files during the
> > > startup
> > > > > > script. I know the script that creates the files works fine
> because
> > I
> > > > can
> > > > > > execute it while I'm logged on and it will create the file. I
> just
> > > does
> > > > > not
> > > > > > do it during the startup script.
> > > > > >
> > > > > > Any suggestions you could give me would be most appreciated...
> > > > > >
> > > > > > Jared
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Relevant Pages

  • Re: Startup Script create files on network
    ... You have to seen the difference between Share Permissions and NTFS Security, ... My advice here is to give the SYSTEM account Full Control at the Share ... > That script just calls a script on my machine. ... > that the startup script does not have read or write access to that network ...
    (microsoft.public.win2000.group_policy)
  • Re: cant get access to disk share when connecting from a remote s
    ... The systems are DUTs. ... for each of the drives within the system. ... Everything in the scripts work except the file permissions below the shares ... the shares on the DUTs manually, after they run my rename script, but I would ...
    (microsoft.public.windows.server.scripting)
  • Re: VBA Script to Read WMP 11 Database
    ... The script failed on the desktop when I downloaded WMP11, ... Just reviewing the bidding -- WMP 11 responds properly to commands in a VBS ... That's why the computer wouldn't let me manually change the permissions. ... Digital Media MVP: 2004-2007 ...
    (microsoft.public.windowsmedia)
  • Re: VBA Script to Read WMP 11 Database
    ... The script failed on the desktop when I downloaded WMP11, ... Just reviewing the bidding -- WMP 11 responds properly to commands in a VBS ... That's why the computer wouldn't let me manually change the permissions. ... The CREATOR OWNER is likely on windows to be one of the admin accounts ...
    (microsoft.public.windowsmedia)
  • Re: how to restrict users to search in their own Organizational Unit
    ... will be given the necessary permissions. ... Who would you DENY? ... decided a script can make it possible to accomplish, ... If I need to create a security group per OU and then add all users ...
    (microsoft.public.windows.server.active_directory)

Loading