Re: How to mount a volume as a user ?




"JPB" <JPB@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3B8DFDA9-7A6B-4DF0-931C-AB66A650AB3F@xxxxxxxxxxxxxxxx
So just a word to explain that it can be done.

A mount point is just a kind of "reparse point".

A user can create a reparse point if he add NTFS rights.

Here is the URL wich help me :

http://www.flexhex.com/docs/articles/hard-links.phtml#download

I wrote a small tool Mountvol like wich can be used as user.

thanks for your suggestions.


You can let a normal user do anything by working indirectly with
a semaphore file. Here is how it works.
1. Create the batch file c:\Windows\Mount.bat
@echo off
set Flag=c:\Semaphore\go.txt
if "%1"=="" (
echo %date% %time% > "%Flag%"
echo The volume will be mounted within the next five minutes.
pause
goto :eof
)
if exist "%Flag" (
del "%Flag%"
mountvol . . .
)
2. Give the user a shortcut on his desktop to invoke
c:\Windows\Mount.bat
3. Create a scheduled job under an admin account.
It should run once every 5 minutes and invoke
c:\windows\Mount.bat xxx.


.


Loading