Junction points public folders

E

Ed Sorensen

I am running vista business sp2.
Malware is identifying problem files in my public folders but is inable to
delete them. When I run "dir /AL" in the comand prompt in the
public\documents directory I get the following:

Volume in drive C is Server 1TB1_P1 (VU_C)
Volume Serial Number is CF4C-9E98

Directory of C:\Users\Public\Documents

02/11/2006 08:41 AM <JUNCTION> My Music [E:\Users\Public\Music]
02/11/2006 08:41 AM <JUNCTION> My Pictures [E:\Users\Public\Pictures]
02/11/2006 08:41 AM <JUNCTION> My Videos [E:\Users\Public\Videos]
0 File(s) 0 bytes
3 Dir(s) 280,166,969,344 bytes free

This is obviously not correct since E:\ is my CD/DVD drive.
On my other computer, the redirection is to C:\ and not E:\

How do I restore these junction points to the correct locations?
 
E

Ed Sorensen

Dave

I managed to redirect the junctions in the public folder using mklink, but
it appears that the problem is worse than that. It seems that all the
junctions in the user/default directory are also re-directed to E:\ instead
of C:\
When I try to use mklink in the user\default directory i get an "access
denied" message.
Any other suggestions??
--
ECS


DaveD said:
Can you fix it using MKLINK?

***

Ed Sorensen said:
I am running vista business sp2.
Malware is identifying problem files in my public folders but is inable to
delete them. When I run "dir /AL" in the comand prompt in the
public\documents directory I get the following:

Volume in drive C is Server 1TB1_P1 (VU_C)
Volume Serial Number is CF4C-9E98

Directory of C:\Users\Public\Documents

02/11/2006 08:41 AM <JUNCTION> My Music [E:\Users\Public\Music]
02/11/2006 08:41 AM <JUNCTION> My Pictures
[E:\Users\Public\Pictures]
02/11/2006 08:41 AM <JUNCTION> My Videos [E:\Users\Public\Videos]
0 File(s) 0 bytes
3 Dir(s) 280,166,969,344 bytes free

This is obviously not correct since E:\ is my CD/DVD drive.
On my other computer, the redirection is to C:\ and not E:\

How do I restore these junction points to the correct locations?
 
D

DaveD

These are all guesses:

If you run CMD.EXE as Administrator and then use MKLINK does that work?

If not, I'd try logging on with the Administrator account

If that doesn't work, I'd try safe mode.

Otherwise, I'm out of ideas. Good luck

***

Ed Sorensen said:
Dave

I managed to redirect the junctions in the public folder using mklink, but
it appears that the problem is worse than that. It seems that all the
junctions in the user/default directory are also re-directed to E:\
instead
of C:\
When I try to use mklink in the user\default directory i get an "access
denied" message.
Any other suggestions??
--
ECS


DaveD said:
Can you fix it using MKLINK?

***

Ed Sorensen said:
I am running vista business sp2.
Malware is identifying problem files in my public folders but is inable
to
delete them. When I run "dir /AL" in the comand prompt in the
public\documents directory I get the following:

Volume in drive C is Server 1TB1_P1 (VU_C)
Volume Serial Number is CF4C-9E98

Directory of C:\Users\Public\Documents

02/11/2006 08:41 AM <JUNCTION> My Music [E:\Users\Public\Music]
02/11/2006 08:41 AM <JUNCTION> My Pictures
[E:\Users\Public\Pictures]
02/11/2006 08:41 AM <JUNCTION> My Videos
[E:\Users\Public\Videos]
0 File(s) 0 bytes
3 Dir(s) 280,166,969,344 bytes free

This is obviously not correct since E:\ is my CD/DVD drive.
On my other computer, the redirection is to C:\ and not E:\

How do I restore these junction points to the correct locations?
 
E

Ed Sorensen

Running mklink in safe mode allows me to re-create the junctions (after first
removing them with rmdir). However, I note that the "security" of the new
link is significantly different than before. I am the owner of the new link.
The owner of the original link was "system". This does not seem safe to me.

Any suggestions as to how to restore the original ownership and security
settings?

I guess one alternative is to reinstall windows and all the programs again,
but I would prefer not to have to spend the next three days reinstalling
programs.
 
D

DaveD

You should be able to add the SYSTEM group.
Click the SECURITY tab, then the EDIT and ADD buttons.
It might take some experimentation, but you're good at that.

***

Ed Sorensen said:
Running mklink in safe mode allows me to re-create the junctions (after
first
removing them with rmdir). However, I note that the "security" of the new
link is significantly different than before. I am the owner of the new
link.
The owner of the original link was "system". This does not seem safe to
me.

Any suggestions as to how to restore the original ownership and security
settings?

I guess one alternative is to reinstall windows and all the programs
again,
but I would prefer not to have to spend the next three days reinstalling
programs.
--
ECS


Ed Sorensen said:
I am running vista business sp2.
Malware is identifying problem files in my public folders but is inable
to
delete them. When I run "dir /AL" in the comand prompt in the
public\documents directory I get the following:

Volume in drive C is Server 1TB1_P1 (VU_C)
Volume Serial Number is CF4C-9E98

Directory of C:\Users\Public\Documents

02/11/2006 08:41 AM <JUNCTION> My Music [E:\Users\Public\Music]
02/11/2006 08:41 AM <JUNCTION> My Pictures
[E:\Users\Public\Pictures]
02/11/2006 08:41 AM <JUNCTION> My Videos [E:\Users\Public\Videos]
0 File(s) 0 bytes
3 Dir(s) 280,166,969,344 bytes free

This is obviously not correct since E:\ is my CD/DVD drive.
On my other computer, the redirection is to C:\ and not E:\

How do I restore these junction points to the correct locations?
 
G

Gene E. Bloch

1. "junction" doesn't appear on my computer

2. The given command has Unix/Linux syntax. Maybe it's not a Windows
item...

Use "junction -d" to delete these links.

Ed Sorensen said:
I am running vista business sp2.
Malware is identifying problem files in my public folders but is inable to
delete them. When I run "dir /AL" in the comand prompt in the
public\documents directory I get the following:

Volume in drive C is Server 1TB1_P1 (VU_C)
Volume Serial Number is CF4C-9E98

Directory of C:\Users\Public\Documents

02/11/2006 08:41 AM <JUNCTION> My Music [E:\Users\Public\Music]
02/11/2006 08:41 AM <JUNCTION> My Pictures
[E:\Users\Public\Pictures]
02/11/2006 08:41 AM <JUNCTION> My Videos [E:\Users\Public\Videos]
0 File(s) 0 bytes
3 Dir(s) 280,166,969,344 bytes free

This is obviously not correct since E:\ is my CD/DVD drive.
On my other computer, the redirection is to C:\ and not E:\

How do I restore these junction points to the correct locations?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top