+ Post New Thread
Results 1 to 11 of 11
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 ...
  1. #1

    Join Date
    Mar 2007
    Posts
    124
    Thank Post
    28
    Thanked 5 Times in 4 Posts
    Rep Power
    16

    Shortcuts to multiple student area's?

    I am trying to be helpful by creating a shortcut to a students home drives but by class.





    Originally i was going to create a batch file that did this on a class group

    Net use F:\\server\student1 share
    Net use g:\\ server\student2 share etc...

    except i wouldn't have enough drive letters

    know someone must have done something like this and that i am not thinking outside the box.

    I alreay have a map to 'All students', but the staff are finding that overwhelming

    Any ideas?

    TIA

  2. #2

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    12,963
    Thank Post
    586
    Thanked 1,494 Times in 1,340 Posts
    Rep Power
    397
    Just use shortcuts to the unc's instead?

    They can then be put in your shared area for all staff?

    Ben

  3. #3

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    12,963
    Thank Post
    586
    Thanked 1,494 Times in 1,340 Posts
    Rep Power
    397
    As in right click -> new shortcut.

    Ben

  4. #4

    Domino's Avatar
    Join Date
    Oct 2006
    Location
    Bromley
    Posts
    4,020
    Thank Post
    212
    Thanked 1,163 Times in 758 Posts
    Blog Entries
    4
    Rep Power
    480
    How about in the 'all students' directory just grouping them in folders by class?

  5. #5

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    494
    Thanked 690 Times in 444 Posts
    Rep Power
    240
    Quote Originally Posted by Domino View Post
    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)

  6. #6
    User3204's Avatar
    Join Date
    Aug 2006
    Location
    Wirral
    Posts
    769
    Thank Post
    55
    Thanked 66 Times in 62 Posts
    Rep Power
    33
    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".

  7. #7

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,213
    Thank Post
    2,766
    Thanked 935 Times in 875 Posts
    Rep Power
    343
    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.

  8. #8

    Join Date
    Mar 2007
    Posts
    124
    Thank Post
    28
    Thanked 5 Times in 4 Posts
    Rep Power
    16
    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.

  9. #9

    Join Date
    Mar 2007
    Posts
    124
    Thank Post
    28
    Thanked 5 Times in 4 Posts
    Rep Power
    16
    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

  10. #10

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    12,963
    Thank Post
    586
    Thanked 1,494 Times in 1,340 Posts
    Rep Power
    397
    Cool glad you got it sorted, don't forget you can also use the thanks button to thank people.

    Ben

  11. Thanks to plexer from:

    steele_uk (17th September 2008)

  12. #11

    Join Date
    Aug 2005
    Location
    London
    Posts
    3,144
    Thank Post
    113
    Thanked 518 Times in 447 Posts
    Blog Entries
    2
    Rep Power
    121
    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

  13. Thanks to srochford from:

    steele_uk (17th September 2008)

SHARE:
+ Post New Thread

Similar Threads

  1. RDP shortcuts not working
    By firefighting in forum Wireless Networks
    Replies: 5
    Last Post: 4th June 2008, 06:15 PM
  2. Shortcuts in shared folder
    By Dean in forum How do you do....it?
    Replies: 2
    Last Post: 13th February 2008, 01:04 PM
  3. Replies: 1
    Last Post: 21st December 2007, 06:27 PM
  4. Student Shortcuts
    By Silverman in forum How do you do....it?
    Replies: 6
    Last Post: 7th December 2007, 03:46 PM
  5. need a script to delete shortcuts
    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
  •