How do you do....it? Thread, Shortcuts to multiple student area's? in Technical; I am trying to be helpful by creating a shortcut to a students home drives but by class.
Originally i ...
-
16th September 2008, 01:36 PM #1
-
-
IDG Tech News
-
16th September 2008, 02:23 PM #2 Just use shortcuts to the unc's instead?
They can then be put in your shared area for all staff?
Ben
-
-
16th September 2008, 02:24 PM #3 As in right click -> new shortcut.
Ben
-
-
16th September 2008, 02:29 PM #4 How about in the 'all students' directory just grouping them in folders by class?
-
-
16th September 2008, 02:34 PM #5 
Originally Posted by
Domino
How about in the 'all students' directory just grouping them in folders by class?
And then deny them access to the ones they don't need (i.e. only allow them to access the folder for their year)
-
-
16th September 2008, 08:55 PM #6 We store user folders in "d: \ users \ yearofentry \ form \ username \"
The for the restricted number of staff that are allowed read-access we map the "d: \ users \" to a drive letter ( H: ).. now they just complain they don't know what forms people are in.
I do provide a link called "Year 07" that sends to "h: \ 08 \" etc.. but they are getting confused that year 8 started in 07 and year 7 started in 08..
If all your user folders are within the same "d: \ users \" (or wherever), and you don't want to move them, you could create another share called "home" map this to another drive letter, and then within this create a folder per form/class /year, then within these folders create links to the users UNC path a la "\\servername\usershare".
-
-
16th September 2008, 09:27 PM #7 presuming you have an OU for each year intake do the mapped drives get mapped on a per year basis ( in which case you could make a script for each year and assign it as a logon script per each OU ) or can you explain in detail how you want the drives mapped exactly just so I am clear on how you do it.
-
-
17th September 2008, 08:21 AM #8
- Rep Power
- 14
Thanks for the replies, the shortcuts is something i may have a go at.
Sorry about not explaining very well.
Our students do sit in a yeargroup OU and their Homedrives are in subfolders of intake year.
The unc to their root would be \\server\students\08smithjon$
So we haven't grouped them by any particular class.
I would like to give the teachers of DIDA classes, a simple way of browsing all their DIDA students work without trawling through 160 accounts.
Example a folder called DIDA class 1 with shortcuts to all the relavant student homedrives inside.
I hope that makes more sense.
I do think the shortcut scenario will work, it will be a bit of a long slog to set them all up for the three relevant teachers, but is seems the only solution.
I was thinking about a way of publishing DIDA students as web folders, but my knowledge on this is minimal.
Thanks.
Last edited by steele_uk; 17th September 2008 at 11:07 AM.
-
-
17th September 2008, 11:06 AM #9
- Rep Power
- 14
Done thanks,
Just created multiple shortcuts (as suggested - thanks Ben) on the targeted students from the Yeargroup container and placed the shortcuts in a staff share under the a class folder.
Crude, but is eactly what they were after.
Cheers
-
-
17th September 2008, 11:07 AM #10 Cool glad you got it sorted, don't forget you can also use the thanks button to thank people.
Ben
-
Thanks to plexer from:
steele_uk (17th September 2008)
-
17th September 2008, 11:46 AM #11 If all the pupils in the class are in a security group then you could script this:
The code below assumes you're looking for a form called "form7a" and you want a set of shortcuts creating in C:\temp\shortcuts - amend as appropriate.
It queries AD to get the distinguished name of the group; having got that, it gets a list of members and for each member finds the home drive and then creates a shortcut for each one.
If you don't have the pupils in groups based on forms then I think it would be worth doing; it makes all sorts of things easier!
Code:
sGroup="form7a"
sRootFolder="c:\temp\shortcuts\"
sFolder=sRootFolder & sGroup
set oShell=createobject("wscript.shell")
Set oFSO=wscript.createobject("scripting.filesystemobject")
Set oRootDSE=GetObject("LDAP://RootDSE")
sRoot=oRootDSE.Get("DefaultNamingContext")
Set oConn = CreateObject("ADODB.Connection")
oConn.Provider = "ADsDSOObject"
oConn.Open
Set oCommand = CreateObject("ADODB.Command")
oCommand.ActiveConnection = oConn
oCommand.properties("Page Size")=100
oCommand.CommandText = "<LDAP://" & sRoot & ">;(&(objectCategory=group)(name=" & sGroup & "));distinguishedname;subTree"
Set oRS = oCommand.Execute
if not ors.eof then
sDN1=oRS("distinguishedname")
else
wscript.echo "No such group"
wscript.quit
end if
if not ofso.folderexists(sFolder) then ofso.createfolder(sFolder)
set oGroup=getobject("LDAP://" & sDN1)
for each oMember in oGroup.members
sDN2=oMember.distinguishedname
set oUser=getobject("LDAP://" & sDN2)
sHome=oUser.HomeDirectory
sName=oUser.DisplayName
set oShortcut=oShell.createshortcut(sFolder & "\" & sName & ".lnk")
oShortcut.description="Home folder for " & sName
oShortcut.targetpath=sHome
oShortcut.save
next
-
Thanks to srochford from:
steele_uk (17th September 2008)
SHARE: 
Similar Threads
-
By firefighting in forum Wireless Networks
Replies: 5
Last Post: 4th June 2008, 06:15 PM
-
By Dean in forum How do you do....it?
Replies: 2
Last Post: 13th February 2008, 01:04 PM
-
By FN-GM in forum Scripts
Replies: 1
Last Post: 21st December 2007, 06:27 PM
-
By Silverman in forum How do you do....it?
Replies: 6
Last Post: 7th December 2007, 03:46 PM
-
By philtomo-25 in forum Scripts
Replies: 2
Last Post: 1st November 2007, 03:50 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules