Jump to content

Junction.exe question


Recommended Posts

Posted

I'm working in a student lab enviroment with 55 windows xp professional

workstations, which are members of a domain. For the spring semester, I need

to setup myitlab, a pearson product, and the instructions I received call for

creating a junction point to redirect a folder to all users that logon. The

instructions say to change the logon script group policy for the machines in

the lab to include the junction statement. A command line example would be:

 

\\server\share\junction.exe “c:\ Documents and

Settings\%USERNAME%\Application Data\ TAIT3” “c:\Documents and Settings\All

Users\Application Data\TAIT3”

 

I downloaded junction from microsoft and read additional information about

using junction. I understand the concept, but cannot figure out how to

create a logon script to add in GP that will apply to %username%.

 

ANy information would be greatly appreciated.

 

TIA

  • Replies 5
  • Created
  • Last Reply
Guest Danny Sanders
Posted

Re: Junction.exe question

 

Not sure what you are asking.

 

You don't know where to put the script?

Or

You don't know where the %username% comes into play?

 

 

DDS

 

 

"dusty" <dusty@discussions.microsoft.com> wrote in message

news:7EC5FC63-09A8-4B9C-A26C-D62B8CCC3C04@microsoft.com...

> I'm working in a student lab enviroment with 55 windows xp professional

> workstations, which are members of a domain. For the spring semester, I

> need

> to setup myitlab, a pearson product, and the instructions I received call

> for

> creating a junction point to redirect a folder to all users that logon.

> The

> instructions say to change the logon script group policy for the machines

> in

> the lab to include the junction statement. A command line example would

> be:

>

> \\server\share\junction.exe "c:\ Documents and

> Settings\%USERNAME%\Application Data\ TAIT3" "c:\Documents and

> Settings\All

> Users\Application Data\TAIT3"

>

> I downloaded junction from microsoft and read additional information about

> using junction. I understand the concept, but cannot figure out how to

> create a logon script to add in GP that will apply to %username%.

>

> ANy information would be greatly appreciated.

>

> TIA

>

Posted

Re: Junction.exe question

 

Thanks for replying so promptly. I know where the script should be placed in

GP, and I know the purpose of using %username%; what I can't seem to find

after researching is the actual code used in the logon script that will

create a junction point to the TAIT3 dir when new users logon to the

workstations.

 

I could just copy the TAIT3 dir to the default user profile, but its almost

2GB in size.

 

"Danny Sanders" wrote:

> Not sure what you are asking.

>

> You don't know where to put the script?

> Or

> You don't know where the %username% comes into play?

>

>

> DDS

>

>

> "dusty" <dusty@discussions.microsoft.com> wrote in message

> news:7EC5FC63-09A8-4B9C-A26C-D62B8CCC3C04@microsoft.com...

> > I'm working in a student lab enviroment with 55 windows xp professional

> > workstations, which are members of a domain. For the spring semester, I

> > need

> > to setup myitlab, a pearson product, and the instructions I received call

> > for

> > creating a junction point to redirect a folder to all users that logon.

> > The

> > instructions say to change the logon script group policy for the machines

> > in

> > the lab to include the junction statement. A command line example would

> > be:

> >

> > \\server\share\junction.exe "c:\ Documents and

> > Settings\%USERNAME%\Application Data\ TAIT3" "c:\Documents and

> > Settings\All

> > Users\Application Data\TAIT3"

> >

> > I downloaded junction from microsoft and read additional information about

> > using junction. I understand the concept, but cannot figure out how to

> > create a logon script to add in GP that will apply to %username%.

> >

> > ANy information would be greatly appreciated.

> >

> > TIA

> >

>

>

>

Guest shollar
Posted

RE: Junction.exe question

 

If I am reading you right, you need to create a sharepoint for the junction

and point to it in the script.

 

Try placing it on a shared folder and point your junction statement to that

location?

Guest NoConsequence
Posted

Re: Junction.exe question

 

On Thu, 3 Jan 2008 06:59:04 -0800, dusty

<dusty@discussions.microsoft.com> wrote:

>I'm working in a student lab enviroment with 55 windows xp professional

>workstations, which are members of a domain. For the spring semester, I need

>to setup myitlab, a pearson product, and the instructions I received call for

>creating a junction point to redirect a folder to all users that logon. The

>instructions say to change the logon script group policy for the machines in

>the lab to include the junction statement. A command line example would be:

>

>\\server\share\junction.exe “c:\ Documents and

>Settings\%USERNAME%\Application Data\ TAIT3” “c:\Documents and Settings\All

>Users\Application Data\TAIT3”

>

>I downloaded junction from microsoft and read additional information about

>using junction. I understand the concept, but cannot figure out how to

>create a logon script to add in GP that will apply to %username%.

>

>ANy information would be greatly appreciated.

>

>TIA

 

It's YOUR project...do your OWN homework.

  • 1 month later...
Guest Southerner
Posted

RE: Junction.exe question

 

Hello Dusty.

 

I ran across this post because I was searching for the same information you

are or were looking for and for the same reason. Since I saw nothing of any

help for your question I thought you and othes might like to know how we did

it.

 

Our students have volatile profiles so they get deleted after logout and so

it was not practical for us to download the Tait3 directory into each users

own Application Data\Tait3 directory so we did take Pearson Educations

suggestion and used Junction.exe prior to starting MyITLab (in our case we

start it at Startup).

 

I ended up running a batch file that I copied into the C:\Documents and

Settings\All Users\Start Menu\Programs\Startup directory that runs every

time someone logs in.

 

That batch file consisted of the one command line command:

C:\windows\system\junction -s "c:\documents and

settings\%username%\application data\tait3" "c:\documents and settings\all

users\Application Data\tait3" /accepteula

 

That does what you want and creates a symbolic link from the C:\Documents

and Settings\All Users\Application Data\Tait3 directory to C:\Documents and

Settings\%Username%\Application\Tait3 directory. The above command line also

assumes that you copied the Junction.exe file into the C:\Windows\System

directory since that is where the batch file calls it from. The syntax you

list implies that you are calling it from a share on some file server but I

chose to place Junction on each computer in the C:\Windows\System directory.

 

When researching this I found that the syntax for calling Junction.exe was

backwards from what I am used to but the information on Microsoft's site is

correct. We had a bit of problem getting the exact syntax correct. It seemed

to have little problem with short file names (which do not have to be in

quotes but it does not hurt to put them in quotes and is probably good

pracice) but longer file names with spaces must be in quotes and must be

exact (as do all filenames).

 

The /accepteula switch is not needed but if it is not included in the batch

file or script that you run then each user will have to click on the accept

license agreement button. If they hit no or cancel then Junction does not

run.

 

We found that by using Junction.exe like Pearson Education suggests we do

that the time for tests to actually start after a student clicks on the test

to start it is somewhat shorter so it does seem to make a difference.

 

I hope you find this useful and hope others that are trying to speed up

MyItlab find this of some help.

 

 

"dusty" wrote:

> I'm working in a student lab enviroment with 55 windows xp professional

> workstations, which are members of a domain. For the spring semester, I need

> to setup myitlab, a pearson product, and the instructions I received call for

> creating a junction point to redirect a folder to all users that logon. The

> instructions say to change the logon script group policy for the machines in

> the lab to include the junction statement. A command line example would be:

>

> \\server\share\junction.exe “c:\ Documents and

> Settings\%USERNAME%\Application Data\ TAIT3” “c:\Documents and Settings\All

> Users\Application Data\TAIT3”

>

> I downloaded junction from microsoft and read additional information about

> using junction. I understand the concept, but cannot figure out how to

> create a logon script to add in GP that will apply to %username%.

>

> ANy information would be greatly appreciated.

>

> TIA

>


×
×
  • Create New...