Page 1 of 1 1
Topic Options
#147062 - 2005-09-02 05:37 PM /moveshare
dahauss Offline
Fresh Scripter

Registered: 2005-09-02
Posts: 9
Hello.. Im trying to find a way to update the local cache on everyones computer in our school district using the CSCCMD program. I know you can use the MOVESHARE command with this but it asks for an old server & share and new server and share. Depending on who logs in, the server and share is different from the old and for the new. are there any variables I can pass to it to pull the old share and new share to it? IE a student share is in one place and a staff share is in another place..

THanks...

Top
#147063 - 2005-09-02 05:48 PM Re: /moveshare
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Can you provide some additional details? I do not yet understand your configuration and what exactly you are trying to accomplish? Are you currently running a logon script? What local cache are you trying to update?
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#147064 - 2005-09-02 05:50 PM Re: /moveshare
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
if you are just wanting to connect the share for every logging in user, there is no moving involved.
just look into manual for USE.
_________________________
!

download KiXnet

Top
#147065 - 2005-09-02 07:04 PM Re: /moveshare
dahauss Offline
Fresh Scripter

Registered: 2005-09-02
Posts: 9
what do you mean by USE? the issue is that I had a server called ALTIRIS that had the staff shares on it.. now we have a new server called STAFF and that is where all the shares were moved to. when they log in, they get their new home folder but they also get a message to the fact for offline documents on altiris saying it can not connect. I want to reset the cache to get rid of this error.. I know how to do it by going to every machine and manually doing it but I thought /moveshare would do it??
Top
#147066 - 2005-09-02 07:27 PM Re: /moveshare
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
ah.
offline folders gives you pain.
_________________________
!

download KiXnet

Top
#147067 - 2005-09-02 07:30 PM Re: /moveshare
dahauss Offline
Fresh Scripter

Registered: 2005-09-02
Posts: 9
Well why is it not working.. I wrote the following script but I get a file not found? does this happen because I have already manually reset the cache? with it work on a machine that does not have the cache reset??

IF INGROUP("staff")
? "Fixing Staff Offline Cache..."
shell "csccmd /moveshare:\\altiris\home\"+$u+" \\mis04\home\"+$u
shell "csccmd /resid"
ENDIF

IF INGROUP("High School Students")
? "Fixing High School Student Offline Cache..."
shell "csccmd /moveshare:\\altiris\Students Home Folders\"+$u+" \\mis03\"+$u+"$"
shell "csccmd /resid"
ENDIF

IF INGROUP("staff admin")
? "Fixing Admin Offline Cache..."
? "\\mis04\admin_home\"+$u
shell "csccmd /moveshare:\\altiris\home\"+$u+" \\mis04\admin_home\"+$u
shell "csccmd /resid"
ENDIF

Top
#147068 - 2005-09-03 12:08 AM Re: /moveshare
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
I don't know why this tool of your don't work.

where did you get it anyway?
_________________________
!

download KiXnet

Top
#147069 - 2005-09-03 04:17 AM Re: /moveshare
maciep Offline
Korg Regular
*****

Registered: 2002-06-14
Posts: 947
Loc: Pittsburgh
Client-Side Caching Command-Line

Does the new share need to be created first? Do the users running the script need full access to the old share? New Share?

Does it need to be run from a command shell? For example

shell "%comspec% /c csccmd...

Doesn't sound like a kix issue, but more like you need to correctly interpret the errors created by the csccmd command


Quote:


Note Users who use the CSCCMD tool must have good knowledge of client-side caching functionality.





That's not me. I'm just asking what I think are appropriate questions.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1046 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.133 seconds in which 0.073 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org