Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

VB Scripting & XP Profiles

Thread Tools
 
Search this Thread
 
Old 23 August 2005, 11:47 AM
  #1  
ozzy
Scooby Regular
Thread Starter
 
ozzy's Avatar
 
Join Date: Nov 1999
Location: Scotland, UK
Posts: 10,504
Likes: 0
Received 1 Like on 1 Post
Question VB Scripting & XP Profiles

I'm building a login script to handle user profiles. We don't use Roaming Profiles anymore as they where getting far too big to manage easily.

What I'm trying to figure out is a easy method of identifying if a user is using a 'good' profile or if they are using a fresh one after logging into a workstation for the first time.

Any ideas?

Stefan
Old 23 August 2005, 12:13 PM
  #2  
GaryScoobNCBR
Scooby Regular
 
GaryScoobNCBR's Avatar
 
Join Date: Apr 2003
Posts: 337
Likes: 0
Received 0 Likes on 0 Posts
Default

Are you using windows 2000 server with AD?
Old 23 August 2005, 05:27 PM
  #3  
ozzy
Scooby Regular
Thread Starter
 
ozzy's Avatar
 
Join Date: Nov 1999
Location: Scotland, UK
Posts: 10,504
Likes: 0
Received 1 Like on 1 Post
Default

2003 with AD, Desktops are all XP with SP2

I think I can do a check for the Outlook key in the registry. Do you know what WSH code will check for the existence of a key.

I've used the Read and Write code, but a nice boolean for the key itself would be ideal.

Stefan
Old 24 August 2005, 09:59 PM
  #4  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Default

We run a mandatory profile for all 8000 users.. thats Agents and Corporate staff... SAME PROFILE!!.

Drop me a mail to David.wallis@ventura-uk.com if you want to discuss ways of doing it easily.. + I wrote most of our 1000+ line login script

Dynamically installs digital certificates, printers, etc etc, changes wallpapers for departments.

I dont mind discussing it on here either, its just easier to check my emails than here

However your easiest way is 'force' them to use a good profile

as for the other, you could check for the presence of a registry key, or create a flag file with a known date / time or contents.

ammend the default user profile to contain a key? (load ntuser.dat into regedit, but you knew that )

David
Old 24 August 2005, 10:03 PM
  #5  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Default

Also I would write the scripts in kix (use wkix32) as its far easier.. I can use vbscript and kix and prefer kix for the majority of the scripting..

as you can do KeyExist()

Gotta go lift to the pub is here.

David
Old 24 August 2005, 10:19 PM
  #6  
ozzy
Scooby Regular
Thread Starter
 
ozzy's Avatar
 
Join Date: Nov 1999
Location: Scotland, UK
Posts: 10,504
Likes: 0
Received 1 Like on 1 Post
Default

Ta, I'll drop you a mail tomorrow.
Old 25 August 2005, 11:17 AM
  #7  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Default

No Probs.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
StueyBII
Engine Management and ECU Remapping
5
22 September 2015 02:13 PM
warrenm2
Non Scooby Related
45
16 September 2015 07:57 PM
STI5300
Engine Management and ECU Remapping
0
08 September 2015 09:19 AM
Puff The Magic Wagon!
Non Scooby Related
4
01 October 2001 05:33 PM
Squizz
Non Scooby Related
2
27 September 2001 03:44 PM



Quick Reply: VB Scripting & XP Profiles



All times are GMT +1. The time now is 10:29 PM.