Re: How to mount a volume as a user ?
- From: JPB <JPB@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 14 May 2008 10:00:00 -0700
Ok,
Sorry, for me it looks like an handy man fixing things, not a MVP advise.
Best regards.
"Pegasus (MVP)" wrote:
The batch file shows the general idea - you can make it.
as tight as you like, e.g. by putting it into a protected folder
so that only the command you put into it will be invoked.
I thought this was obvious and that there was no need to
spell this out in detail - sorry for not mentioning it before.
"JPB" <JPB@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:A11549CD-89F6-4D5F-A03B-11DFBE3420C7@xxxxxxxxxxxxxxxx
Your are joking !
which administrator would do that ! its strange to schedule gaps in the
security.
My trouble was about programming.
MVP means Most Valuable Professionals ... what else !
Just have a look to the shortcut in the preceding message and read what
"valuable" means.
Thanks for the joke.
"Pegasus (MVP)" wrote:
"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.
- Follow-Ups:
- Re: How to mount a volume as a user ?
- From: Pegasus \(MVP\)
- Re: How to mount a volume as a user ?
- References:
- How to mount a volume as a user ?
- From: JPB
- Re: How to mount a volume as a user ?
- From: Pegasus \(MVP\)
- Re: How to mount a volume as a user ?
- From: JPB
- Re: How to mount a volume as a user ?
- From: Pegasus \(MVP\)
- Re: How to mount a volume as a user ?
- From: JPB
- Re: How to mount a volume as a user ?
- From: Pegasus \(MVP\)
- Re: How to mount a volume as a user ?
- From: JPB
- Re: How to mount a volume as a user ?
- From: Pegasus \(MVP\)
- How to mount a volume as a user ?
- Prev by Date: Re: How to mount a volume as a user ?
- Next by Date: Re: How to mount a volume as a user ?
- Previous by thread: Re: How to mount a volume as a user ?
- Next by thread: Re: How to mount a volume as a user ?
- Index(es):
Relevant Pages
|
Loading