Re: Startup Scripts
- From: Trinity Catholic High School <TrinityCatholicHighSchool@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 12 Sep 2007 08:14:08 -0700
OK, So I used copy \\share\sharename\appname\* c:\startmenu\appname and it
worked. But robocopy didn't. Odd.
Something to bear in mind.
"Trinity Catholic High School" wrote:
Strange. I granted permissions (both security and sharing) to domain.
computers, and to a specific test machine's account, and I'm still getting
the same 1314 error. its creating a directory structure, but not creating any
files on the local machine.
Basically, I'm trying to create a computer specific startmenu, for our
users, rather than user specific. I thought to do it, by copying a startmenu
from a server (so it can be updated without visiting each machine), to the
local machine, and setting in the group policy the local path for the
startmenu redirection (which would be the same on every computer in the
domain).
However, this doesn't seem to be working. Can anyone think of a different
way to do this? (Other than forgetting the whole not visiting every
machine...)
Thanks for all your input so far!
William Mann
"Richard Mueller [MVP]" wrote:
"Trinity Catholic High School"
<TrinityCatholicHighSchool@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:580758EB-9255-4FE8-A594-CAD8D6C85C05@xxxxxxxxxxxxxxxx
"Pegasus (MVP)" wrote:
"Trinity Catholic High School"
<TrinityCatholicHighSchool@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:EC6207F1-D8F0-4123-8345-FEC0E582AC05@xxxxxxxxxxxxxxxx
Hi,
I'm using a startup script to copy a folder with a startmenu from a
server
to a local machine. I've been using robocopy, and its creating the
folder
structure but not the links. What am I doing wrong? The weird thing is,
when
I run the script from the command-line when logged in it works
correctly,
therefore I'm thinking its a permission problem. I tried granting
everyone
read-only permissions, but it didn't solve the issue.
The command I'm using:
robocopy /e /zb /copyall /XO \\thssvr01\startmenu$\1015vlaptop
c:\startmenu
Any ideas, Anyone?
Thanks.
Modify the command like so, then examine the log file c:\log.txt.
robocopy /e /zb /copyall /XO \\thssvr01\startmenu$\1015vlaptop
c:\startmenu
1>c:\log.txt 2>&1
I also recommend that you add a switch to prevent existing
and unchanged files from getting copied each time.
Hi,
Its created a log of what its been trying to do, and is coming up with
ERROR
1314 (0x00000522) Copying NTFS Security to Destination Directory
\\server\foo
A required privilege is not held by the client. Is this an issue with
authentication against the server by the startup script?
Many Thanks,
William Mann
The Startup script runs before there is a user. The script has "System"
privileges on the local computer, so it can do lots of things locally. The
script uses the credentials of the computer object elsewhere in the domain.
If there is a permissions problem, the permissions need to be granted to the
computer object. I grant permissions to "Domain Computers" in these cases.
--
Richard Mueller
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
--
- References:
- Re: Startup Scripts
- From: Pegasus \(MVP\)
- Re: Startup Scripts
- From: Richard Mueller [MVP]
- Re: Startup Scripts
- From: Trinity Catholic High School
- Re: Startup Scripts
- Prev by Date: Re: Security Configuration Wizard -- SP2
- Next by Date: Windows 2003 KB935839 / KB935840 Installation Problems
- Previous by thread: Re: Startup Scripts
- Next by thread: Server 2003 R2 Standard File sharing via internet
- Index(es):
Relevant Pages
|