Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access restricted folders

Status
Not open for further replies.

dmarquesdrc

Technical User
Aug 30, 2006
113
PT
Hi,

In our windows server domain, we have personal profiles and folders for each user, as usual.
I have some pc's that are used by different people, so I have a general user for each of those pc's.
Sometimes, I need to copy some files into the user folders, but without logging off and logging on again, but the general user doesn't have access to personal folders. So there's any way so I access those folders, entering the right credentials for it?

TIA
 
One possibility that comes to mind is to simply open a new windows explorer with different credentials. A batch file on the 'general user' desktop would work conveniently for anyone that might need it. Then you'd be able to drag & drop files. Something like:
Code:
@echo off
REM clear name variable if last user didn't exit correctly
set name =""
echo Starting explorer with your credentials..
echo Remember to close the explorer window when done!
set /P name = Enter user name
if %name% == "" (
   echo you didn't enter your name
   pause
   goto :eof
   )
runas /user:domain\%name% explorer.exe
exit
[small]Initial thoughts, typed without testing. Test and consider the security implication and the need for additional error checking[/small]
 
Set up roaming user profiles and have them log into the PC as themselves?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top