Jump to content

Recommended Posts

Posted

Ive disabled access to the C drive and created a batch file to copy certain files from the C drive to our server when a user logs on - the file is saved under Netlogon folder and the link into the users profile page but it never seems to copy anything over - i thought this way should work even if you have c drive disabled from users? so can someone tell me how to do this please?

thx


Posted

I don't know how to do it, but you'll need to adjust the permissions of the drive to allow that to happen. Since you are running the script as the user is logging on, I would think that means that the user limits you have imposed are getting in the way. One way to get around this might be to impliment some form of "RunAs" is the script that can get around your restrictions. Good luck!

Posted

You cant copy anything to the netlogon folder during logon, windows will delete next time replication takes place. It's not a normal share.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...