B
banan2
Guest
Hello.
I've been working on a way to password protect folders, even after the
domain logon, with the RUNAS command.
What I've done so far:
- Created a new user called "permission_folder1"
- Created a new folder called "folder1", removed all permissions from it,
and added the new user in the permission list.
- Created a shortcut, and added the runas command:
runas /user:domain\permission_folder1 "explorer.exe
\\server1\sharename\folder1"
When I try to open the shortcut, it will ask for password (for the
permission_folder1 user). If I type wrong password nothing happends, if I
type the right password it gives me a weird error, which I could find nothing
about on google:
RUNAS ERROR: Unable to run - explorer.exe \\server1\sharename\folder1
1385: Logon failure: the user has not been granted the requested logon type
at this computer
What does this mean? What can I do to fix it, if it's even possible?
It all takes place in a Windows enviroment, with a Windows 2003 Small
Business Server as DC, Windows Server 2003 as terminal server and Windows XP
as clients.
The shortcut doesn't work on the terminal server, nor the Windows XP clients.
The secondary logon service is running.
Might be worth mentioning that I can use:
runas /user:domain\permission_folder1 calc
Note: All names like server1, sharename, folder1, permission_folder1 etc.
are dummynames.
I've been working on a way to password protect folders, even after the
domain logon, with the RUNAS command.
What I've done so far:
- Created a new user called "permission_folder1"
- Created a new folder called "folder1", removed all permissions from it,
and added the new user in the permission list.
- Created a shortcut, and added the runas command:
runas /user:domain\permission_folder1 "explorer.exe
\\server1\sharename\folder1"
When I try to open the shortcut, it will ask for password (for the
permission_folder1 user). If I type wrong password nothing happends, if I
type the right password it gives me a weird error, which I could find nothing
about on google:
RUNAS ERROR: Unable to run - explorer.exe \\server1\sharename\folder1
1385: Logon failure: the user has not been granted the requested logon type
at this computer
What does this mean? What can I do to fix it, if it's even possible?
It all takes place in a Windows enviroment, with a Windows 2003 Small
Business Server as DC, Windows Server 2003 as terminal server and Windows XP
as clients.
The shortcut doesn't work on the terminal server, nor the Windows XP clients.
The secondary logon service is running.
Might be worth mentioning that I can use:
runas /user:domain\permission_folder1 calc
Note: All names like server1, sharename, folder1, permission_folder1 etc.
are dummynames.