Automating Company Email Signatures

No, no-one has write access to the netlogon share

It was setup like this when I joined the company by my boss. It has worked like this for years with no problems



If no one has write access to the netlogon share, then how does this line work:

IF NOT EXIST "\\DC IP ADDRESS\NETLOGON\Scripts\Disclaimer\%USERNAME%" MD "\\DC IP ADDRESS\NETLOGON\Scripts\Disclaimer\%USERNAME%"

You are checking if there is a folder at DC \ NETLOGON \ Scripts \ disclaimer, and if it cant find one, you are MakingDirectory at that location. Therefore every user must have write access to the netlogon share.

Or have i totally missed something here, and I have really screwed up NTFS share and permissions 101
 
Possibly due to do with the arguments, maybe the line is ignored...

/S /E /C /Y > NUL

Not too sure though, i'll ask today

edit - Nothing to do with the arguments. Share permissions are set on the server then security permissions are added
 
Last edited:
Back
Top Bottom