윈도우 서비스로 시작된 프로그램이 네트워드 드라이브에 연결된 저장소에 연결할 때에 접근 권한이 필요하다.

다음과 같은 스크립트를 실행해줌으로써, 권한을 적용할 수 있다.


[allow-access.bat]

@echo off

SET USER=YourWindowAccount

SET PASSWD=YourWindowAccountPassword

SET SERVER=123.123.123.123


net use Y: \\%SERVER%\to\access\repository %PASSWD% /user:%USER% /persistent:yes


+ Recent posts