Login Scritpts and GPOs

  • Thread starter Thread starter steve
  • Start date Start date
S

steve

Hi All

I have seen that Startup (Computer) login scripts are put into folder
\\domain\SysVol\domain\Policies\<number>\Machine\Scripts\Startup

Ho can I reference such folder into a login script so that I can have the
script copy files form this folder?

Thank you!
 
Hi

When you say a "login script", do you mean a script which is placed in the
same folder as you mentioned? If you really mean a login script, this is a
bad idea.

Anyway, the answer you're looking for is to reference myfile.dat as
%~dp0myfile.dat

Hope this helps

Oli
 
steve said:
Hi All

I have seen that Startup (Computer) login scripts are put into folder
\\domain\SysVol\domain\Policies\<number>\Machine\Scripts\Startup

Ho can I reference such folder into a login script so that I can have the
script copy files form this folder?

Thank you!

Login scripts are invariably located in the "netlogon" share.
The physical location is irrelevant.
 
Thank you for your reply.

Yes I mean a script placed in that folder.

Why is this a bad idea?

Thank you!

Steve
 
A script in the same folder is fine. A script from outside that folder
referencing \\company.com\sysvol\company.com\policies\... is not very
elegant.

Regards

Oli
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top