hidden hit counter
Welcome to WindowsForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Logon Script registry check how to?

 
   Win 2000/NT/98/ME (Home) -> Active Directory RSS
Next:  crashed DC1 server  
Author Message
barkley bees

External


Since: Feb 01, 2008
Posts: 4



(Msg. 1) Posted: Fri Feb 01, 2008 12:46 pm
Post subject: Logon Script registry check how to?
Archived from groups: microsoft>public>win2000>active_directory, others (more info?)

We have a custom key set in the registry of our XP client machines to
differentiate our image build versions. We would like to be able to check
that this key (or variants of, depending on build number) exists when a
users logs on to the domain (to be sure they are using current builds or
even actual internal images).

Can this be done via a simple logon script where it would check the presence
for one of the defined variable in the client registry (ie:
"\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\S ession
Manager\Environment")? If the variable is not present it would be logged to
a .txt file. I imagine this wouldn't be too difficult but my scripting
skills are simply not up to the job...appreciate any feedback.

 >> Stay informed about: Logon Script registry check how to? 
Back to top
Login to vote
Marcin

External


Since: Feb 01, 2008
Posts: 7



(Msg. 2) Posted: Fri Feb 01, 2008 1:26 pm
Post subject: Re: Logon Script registry check how to? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

you can use the VBScript-based method listed at
http://www.microsoft.com/technet/scriptcenter/funzone/games/tips08/gtip0118.mspx

hth
Marcin

 >> Stay informed about: Logon Script registry check how to? 
Back to top
Login to vote
Meinolf Weber

External


Since: Aug 27, 2007
Posts: 314



(Msg. 3) Posted: Fri Feb 01, 2008 2:42 pm
Post subject: Re: Logon Script registry check how to? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hello barkley,

Have a look here:
http://www.microsoft.com/technet/scriptcenter/resources/qanda/oct04/hey1029.mspx

Best regards

Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.
** Please do NOT email, only reply to Newsgroups
** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm

> We have a custom key set in the registry of our XP client machines to
> differentiate our image build versions. We would like to be able to
> check that this key (or variants of, depending on build number) exists
> when a users logs on to the domain (to be sure they are using current
> builds or even actual internal images).
>
> Can this be done via a simple logon script where it would check the
> presence for one of the defined variable in the client registry (ie:
> "\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\S ession
> Manager\Environment")? If the variable is not present it would be
> logged to a .txt file. I imagine this wouldn't be too difficult but my
> scripting skills are simply not up to the job...appreciate any
> feedback.
>
 >> Stay informed about: Logon Script registry check how to? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Check last logon in AD - Hi all, How can I check when the user's last logon in AD? I want to know which user a/c has not been logon for a long time... Thanks Jerald

Logon script runnung twice - I implemented a logon script via AD about 4 years ago. The logon script is a compiled executable (winbatch). I recently modified the script to rollout an upgrade to our antivirus software. However, for my users, that logon script is executing twice...

set Logon Script path to null - How can I set some user Account's "logon script" property in Active Directory to null? this is the script I've written: 'Retrieve Current User's LDAP path Set objSysInfo = CreateObject("ADSystemInfo") strUserAdsPath = objSysInfo.Us...

Check for RID Master - Try to see if you have a RID Master Role which assigns the RID Pool. If you dont, you will have to assign that role to one of the DCs in your domain by using the NTDSUTIL tool. No RID Pool means no RID Master. Also if you dont have a RID Master..

Help: One and only global catalog DC down. 5 FSMO on 1st s.. - Thanks in advance. We have Active directory in a mixed mode environment (w2ks and NTs). The active directory as only 2 DCs. (1 having all FSMOs, DNS, WINS - the other Global Catalog) 2 days ago, the DC which hosts the only Global catalog crashed. We ha...
   Win 2000/NT/98/ME (Home) -> Active Directory All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
 Windows XP
  Win 2000/NT/98/ME
 Windows Vista!


[ Contact us | Terms of Service/Privacy Policy ]