[K12OSN] Finally need to logon and access homes from windows

Nick Fenger nick at trilliumcharterschool.org
Thu May 1 00:38:44 UTC 2008


If you are not going to have the XP machine join a domain then you can drop
a script into the C:\Documents and Settings\All Users\Start
Menu\Programs\Startup folder on the XP box. It will pop up their files when
they login and remind them to completely log out when they are done.

Copy to a text below and save as Logon.vbs

If MsgBox("Do You Need Access to Your Personal Files During This
Session?",4,"Access Your Files?") = 6 Then
   Call Main()
End If

Sub Main()
 Msgbox "Be sure to completely logout of Windows when you are done or others
will be able to access your files. " & vbCrLf & "Press OK to enter your
username and password to access your files."
 Call Run("%windir%\Explorer.exe \\TRILLIUMORG-PDC\<file://trilliumorg-pdc/>
")
 Msgbox "If received an error saying your files were not accessable, logout
of windows and login again"
End Sub

Sub Run(ByVal sFile)
Dim shell
    Set shell = CreateObject("WScript.Shell")
    'shell.Run Chr(34) & sFile & Chr(34), 1, false
    shell.Run sFile, 1, false
    Set shell = Nothing
End Sub

I think you could map a network drive that may do the same thing but I'm not
sure.



On Wed, Apr 30, 2008 at 5:52 AM, Peter Scheie <peter at scheie.homedns.org>
wrote:

> To access your linux home dirs from Windows, you'll need Samba running on
> the linux box(es).  I don't think setting that up will be any easier or
> harder on Centos than Fedora 5 or 6; setting Samba up is easy on any of
> them.  So, I wouldn't change your existing systems for that, at least not
> this late in the school year.  There are other reasons to upgrade, chiefly
> the fact that support updates are no longer being produced for Fedora 5 & 6.
>  But that can wait until summer.
>
> Peter
>
> Jim Christiansen wrote:
>
> >  Well, the day has arrived where I need to log on windows (2k or xp pro-
> > haven't decided yet) and use my linux home dirs.
> >
> > The current server is fedora 5 or 6 based k12ltsp.  Will things be
> > easier if the server was running the current k12ltsp 5- Centos version??
> >
> > Is there a current writeup for this?
> >
> > I wish I didn't have to, but I have Pro/Engineer and want my students to
> > experience it.
> >
> > Thanks in advance for any ideas and advice.  Jim
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> > _______________________________________________
> > K12OSN mailing list
> > K12OSN at redhat.com
> > https://www.redhat.com/mailman/listinfo/k12osn
> > For more info see <http://www.k12os.org>
> >
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>



-- 
Trillium Charter School
MS Advisor
Math & Technology Teacher
Technology Coordinator


www.trilliumcharterschool.org

Trillium Charter School is democratically-structured environment that
fosters students' natural curiosity, creativity, and self-awareness.
Students learn to take initiative and assume responsibility for their own
learning, which supports constructive interaction with the local, regional,
and global community.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/k12osn/attachments/20080430/fc89d971/attachment.htm>


More information about the K12OSN mailing list