Go Back   Computer Forums > General Computing > Networking | DNS
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 10-03-2012, 07:44 AM   #1
Fully Optimized
 
BikerEcho's Avatar
 
Join Date: Feb 2011
Location: Denmark
Posts: 4,026
Default Map network drive outside domain

Hi there.
I currently have a little problem on hand.
I have removed a group of computer from the domain, and i still want the users to be able to use there network drive. I can find there drive folder easily by typing in //thyregod/students/studentName. (i know that / should be reversed, but i am currently on a tablet)
When i find there students folders i can't access them. i will be able to access them if i change the permissions to everyone has full control on the folders, but i don't want all users to access each others files and i don't want to manually go to each folder and change permissions. there are like 400 users.
i wont a script that gives access to there folder from the domain, even though the PC is not a member of the domain.

do you guys have any idea what to do?
__________________

__________________
BikerEcho is offline   Reply With Quote
Old 10-03-2012, 07:28 PM   #2
Baseband Member
 
Join Date: Feb 2012
Location: aus
Posts: 89
Default Re: Map network drive outside domain

Thatís hard. You can enable password protected sharing and setup so each user has their own username and password. Would this do?
__________________

__________________
threadmark is offline   Reply With Quote
Old 10-03-2012, 08:19 PM   #3
Fully Optimized
 
BikerEcho's Avatar
 
Join Date: Feb 2011
Location: Denmark
Posts: 4,026
Default Re: Map network drive outside domain

Thanks for replying.
Do they then have to choose a new username and password, or can they just use there domain login?
would it be quick and easy to apply this to 400 folders each with different passwords so a user can't access another user's files?
__________________
BikerEcho is offline   Reply With Quote
Old 10-03-2012, 08:46 PM   #4
Baseband Member
 
Join Date: Feb 2012
Location: aus
Posts: 89
Default Re: Map network drive outside domain

If you have access to the domain computer you can use a macro to input the permissions but short of that you will need to share each folder and give access to each individual user. So it wont be easy. Do you still want to know.?
__________________
threadmark is offline   Reply With Quote
Old 10-04-2012, 04:36 AM   #5
Fully Optimized
 
BikerEcho's Avatar
 
Join Date: Feb 2011
Location: Denmark
Posts: 4,026
Default Re: Map network drive outside domain

It should be quick and easy to do, else it's not worth it.
i have other things of higher priority as well.
Thanks anyway for your time.
__________________
BikerEcho is offline   Reply With Quote
Old 10-04-2012, 05:45 AM   #6
Fully Optimized
 
BikerEcho's Avatar
 
Join Date: Feb 2011
Location: Denmark
Posts: 4,026
Default Re: NO 1 matrimonial site in the world

Quote:
Originally Posted by lplittle View Post
I am extremely impressed with your writing skills and also with the layout on your blog. no. 1 matrimonial site in the worldIs this a paid theme or did you customize it yourself? FREE MOVIES ONLINEEither way keep up the nice quality writing, itís rare to see a nice blog like this one these days
Would you plz leave our forum. We don't need a spammer like you.
__________________
BikerEcho is offline   Reply With Quote
Old 10-05-2012, 10:57 PM   #7
Baseband Member
 
Join Date: Feb 2012
Location: aus
Posts: 89
Default Re: Map network drive outside domain

Well there are ways to automate the windows process. What languages do you know.
__________________
threadmark is offline   Reply With Quote
Old 10-06-2012, 10:32 AM   #8
Fully Optimized
 
BikerEcho's Avatar
 
Join Date: Feb 2011
Location: Denmark
Posts: 4,026
Default Re: Map network drive outside domain

I know only very little C# and C++
It would be more trouble then worth if i should start programming again.
It's 3 years ago that i had some basics programming lessons in C# and C++
However as an administrator I need to know some scripting.
I know Batch well enough to get around and i know a thing or two in PowerShell.

In case you where talking about my spoken languages and not programming languages, it's Danish and English.
__________________
BikerEcho is offline   Reply With Quote
Old 10-06-2012, 11:40 PM   #9
Baseband Member
 
Join Date: Feb 2012
Location: aus
Posts: 89
Default Re: Map network drive outside domain

If you can put together a list of all the usernames in a text file like a good admin should be able to, I can help you with an easy script.
__________________
threadmark is offline   Reply With Quote
Old 10-07-2012, 05:41 AM   #10
Fully Optimized
 
BikerEcho's Avatar
 
Join Date: Feb 2011
Location: Denmark
Posts: 4,026
Default Re: Map network drive outside domain

I've got to say that a really appreciated your help. Thanks for that.
I can easily make a textfile with the usernames.
If possible i would like NOT to change anything in the "Active Directory Users and Computers"
If possible the script should be able to be launched from the computer it self, and not only from the server.

My main problem from not being able to do this myself is that i get an "access denied" when i try to access a students folder from the computers local user profile (all students would use the same local profile on these computers). I have seen several times where if you do not have access to a folder you get prompt with a Login message where you can enter your domain username and password. that does not happen when the computer is off the domain.
I think i can be able to access the folders when i change the permissions to "everyone full control". but i am not interested in doing that for obvious reasons.

if i can get the login box to appeared, then that might be the tick i am looking for.
__________________
BikerEcho is offline   Reply With Quote
Old 10-07-2012, 07:15 AM   #11
Baseband Member
 
Join Date: Feb 2012
Location: aus
Posts: 89
Default Re: Map network drive outside domain

Do you want to send the text file to me and il print the batch file. To be clear you want to share a folder to each user outside the domain but still requires that users login details that the domain has for that user. easy
__________________
threadmark is offline   Reply With Quote
Old 10-07-2012, 08:31 AM   #12
Fully Optimized
 
BikerEcho's Avatar
 
Join Date: Feb 2011
Location: Denmark
Posts: 4,026
Default Re: Map network drive outside domain

I want to share a specific folder to a specific user outside the domain on a single local userprofile that everyone logs into. (so there will be no login screen when windows starts) i know its a strange request.
I was thinking about making a script where the user types in there domain username so the computer knows what folder to make a shortcut of to the desktop, and then there domain password to grand the access to it.
Thanks allot for that you are willing to help. i am sure it's a strange wish i have, but i have my reasons to want it like this.

Some information about the folder setup:
The Students folders are inside "elever" (thats students in danish) it is located in C:\bruger\elever
I have no shared folders on the C:\ drive. only the D:\ has shared folders. Like my MSI and Tools folder.
all other folders inside "elever" are created as a homefolder when the user profile is created.
like so: http://img96.imageshack.us/img96/7382/homefolder.png

So i can imagen that it would be more difficult because nothing is really shared.
I can share the "elever" folder if that would do a difference.

I'll send the text file tomorrow when i get to work, if you still want it.
If you have any alternatives than that could also be great.
__________________
BikerEcho is offline   Reply With Quote
Old 10-08-2012, 05:22 AM   #13
Fully Optimized
 
BikerEcho's Avatar
 
Join Date: Feb 2011
Location: Denmark
Posts: 4,026
Default Re: Map network drive outside domain

here is a small part of the text file since it is too big to just post here.
I can edit your file too my needs. You don't have to do this if it's too much.
i know that it is not the right way to share folders to so many users. the right way is to have them on a domain.

I am not sure why you would need the names. it is gonna be a problem if i have a file that goes on a journey to ask:
are you name henrik?.. No? ok, are your name hanriette then? no? are your name...... and so on.
We do get new users every month, and every month we have users to leaves.

I was thinking more of a set commend. like:
@echo off
SET /P Username=type in your login username
SET /P Pass=Type in your password
net use X: \\Server\elever\%Username% /USER:Server\%Username% %Pass%

but this does not work since the computer is not a member of the domain.
i can however still see the students folders by typing in \\thyregod\elever (i have shared the "elever" folder, and giving the permissions "everyone" full control) in the RUN program, but i still can't access them with a local user.

The small part of the list:
abin0007
adri0597
aeva0004
albe0955
alex221a
alex4664
alex546b
alix2587
aliy0032
alma0708
amal2285
amal3354
amal8771
aman2155
ande9299
ande9498
andr098a
andr590e
andr6470
andr7537
andr7538
anet0068
anet0416
anik0154
anna116f
anna762a
anna769d
anna770d
anne056w
anne1012

---------- Post added at 11:22 AM ---------- Previous post was at 11:18 AM ----------

If you have any idea to my crazy project, then plz, tell me.
__________________
BikerEcho is offline   Reply With Quote
Old 10-11-2012, 01:21 AM   #14
Baseband Member
 
Join Date: Feb 2012
Location: aus
Posts: 89
Default Re: Map network drive outside domain

there is an easy way through the command line to set permissions.
goto Set Permissions for Shared Folders
you need to use a batch file and spawn a folder with the users name and then set the permission via {{cacls}} that way a batch will create the file, share it and give that user access. so if a user is connected to the same network they can access it by typing \\server\that user\ from the explorer and they will need their user and pass to login. once connected they can map to a drive.
__________________

__________________
threadmark is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 02:29 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0
×