Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


XP Pro Logoff Script needed that will.....

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,3525
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> XP Pro Logoff Script needed that will.....
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 XP Pro Logoff Script needed that will..... - 6/24/2005 10:32:12 AM   
  Roni

 

Posts: 2
Score: 0
Joined: 6/24/2005
From:
Status: offline
XP Pro Clients log into a Unix/Solaris Domain.
Clients use Roaming Profiles.

We do not want Users profiles to be cached on the local computer (yes..I'm aware there is a Group Policy setting; for some reason it doesn't work.

I was given the task of writing a script....I've never written a script in my life...so please help me keep my job!

I NEED A SCRIPT that:
When a User Logs Off
All Folders,
except Administrator, All Users and Default Users,
in the "Documents & Settings" Folder are Deleted
 
 
Post #: 1
 
 Re: XP Pro Logoff Script needed that will..... - 6/24/2005 12:27:11 PM   
  marcusrp

 

Posts: 145
Score: 0
Joined: 4/19/2005
From:
Status: offline
hmm. I'm not a Unix person by any stretch of the imagination, but I dont believe there is such a thing as a 'Unix/Solaris' Domain. Perhaps I'm mistaken. Plus, since you say clients are using roaming profiles, that tells me they are logging into a windows domain controller in order to download the roaming profile. As for the cached profile problem, you can set a registry entry for deleting cached profiles as instructed here:

http://www.winguides.com/registry/display.php/142/

if this works for you it would be easier than creating a script, since all you have to do is create the entry on one machine (test it of course), than right click the resulting key entry and export to a file. It will create a .reg file that you can put on a server share and distribute to all the applicable systems using a login script, or some other means of distribution.

(in reply to Roni)
 
 
Post #: 2
 
 Re: XP Pro Logoff Script needed that will..... - 6/24/2005 3:57:32 PM   
  Roni

 

Posts: 2
Score: 0
Joined: 6/24/2005
From:
Status: offline
Thanks so much for your prompt response and solution.

I'm going to test it, of course...but it appears this is "exactly" what I want.


I have a Server Team meeting on Monday in which a colleague will have to test it as well before being placed in production.

I was also unaware that registry enties could be exported/saved and used as a scripts.

Thanks again...

(in reply to Roni)
 
 
Post #: 3
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> XP Pro Logoff Script needed that will..... Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts