Re: Startup script

Tech-Archive recommends: Fix windows errors by optimizing your registry



Dan wrote:

I have a Windows startup script that runs from a GPO. The script launches
just fine. I am trying to copy over two files into a local directory from
the netlogon folder so that I can run sysocmgr.exe and install SNMP.

I cannot seem to get these two files to copy over successfully. I can get
a
DIR from the netlogon folder during startup. The part of the cmd script
that
does the copies just uses the "copy" command and I pump it's output to a
log
file. Every file copy lists as "0 files copied" in the log file. That's
funny too. Why can I write to a local log file but not copy from the
netlogon share? I cannot copy from a different Windows share either, so I
think that the problem may point to a local security issue.

Startup scripts run with System privileges on the local computer and the
permissions of the computer object elsewhere in the domain. The computer
object probably lacks permissions. I grant permissions to the group "Domain
Computers" in similar situations.

--
Richard Mueller
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
--


.



Relevant Pages

  • Re: cron job with pid: xxxx Failed
    ... > the cron yesterday & came across this entry in the cron log file ... You mention that no log file is created. ... the script called by cron. ... Permissions have chaned somewhere. ...
    (comp.unix.aix)
  • Re: cron job with pid: xxxx Failed
    ... > the cron yesterday & came across this entry in the cron log file ... You mention that no log file is created. ... the script called by cron. ... Permissions have chaned somewhere. ...
    (comp.unix.admin)
  • Re: Logon script problems logging onto another domain in forest
    ... I meant authenticating with a DC in a ... a share by the Dfs client. ... The user account stipulates that this script ... The netlogon folder is accessed by the Dfs ...
    (microsoft.public.windows.server.active_directory)
  • RE: Folder redirection stopped working....
    ... In a share audit last week I noticed that the sysvol and netlogon folder ... how do I reset all my sysvol and netlogon permissions back to the "way ... Also, just in case, if I messed up the redirection folder as well, can ...
    (microsoft.public.windows.server.active_directory)
  • Re: Creating Logon script?
    ... If the scripts are in the NetLogon folder, you only need to specify the ... If the client is Win9x or NT, the logon script should be a batch ... I've specified the path in the users profiles. ...
    (microsoft.public.windows.server.scripting)