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.

Login Scripts & Passwords

Thread Tools
 
Search this Thread
 
Old 11 January 2007, 02:43 PM
  #1  
Puff The Magic Wagon!
Moderator
Support Scoobynet!
Thread Starter
iTrader: (2)
 
Puff The Magic Wagon!'s Avatar
 
Join Date: May 2000
Location: From far, far away...
Posts: 16,978
Received 15 Likes on 9 Posts
Default Login Scripts & Passwords

Is there an environmental variable or command that you can use in a login script that supresses the requirement for a password?

I have a login script that when it runs calls another program but that program needs to know the u/name AND password of the person logging into it

But for obvious reasons, can't hardcode the password and want this app to run in the background without a popup requesting a password.

This would be for a Windows NT login script (W2K3 domain actually)

Banging head against wall here!
Old 11 January 2007, 02:51 PM
  #2  
Dazza's-STi
Scooby Regular
 
Dazza's-STi's Avatar
 
Join Date: Jun 2003
Location: Some say he has frost on his helmet...
Posts: 2,970
Likes: 0
Received 0 Likes on 0 Posts
Default

Yep.. registry entry will do it.

Run Regedit and go to the Edit menu, select 'Find' then type DefaultUserName. The purpose is to get to the correct place within the registry before you start configuring. N.B. You may have to press F3. You will have succeed when you see HKey_Local_Machine\Software\Microsoft\Windows NT\CurrentVersion\winlogon.

If Method 1 fails then open Regedit and drill down to: HKey_Local_Machine\Software\Microsoft\Windows NT\CurrentVersion\winlogon

If AutoAdminLogon exists then Double Click on AutoAdminLogon and set value =1 (Numeric 1)
If AutoAdminLogon does NOT exist then go to: Edit (Menu), New, String Value, Type AutoAdminLogon

In regedit, you need to go to the EDIT menu, New, String Value type DefaultPassword.
To get AutoAdminLogon to work you need to add DefaultPassword to the same WINLOGON area. Set the password to what ever it needs to be for the DefaultUserName to logon successfully.

Used to do this on some servers that wern't important
Hope this helps
Daz
Old 11 January 2007, 03:01 PM
  #3  
Puff The Magic Wagon!
Moderator
Support Scoobynet!
Thread Starter
iTrader: (2)
 
Puff The Magic Wagon!'s Avatar
 
Join Date: May 2000
Location: From far, far away...
Posts: 16,978
Received 15 Likes on 9 Posts
Default

This is for a hotdesk user and changes on each pc.

Essentially we are creating a scheduled task using an admin account and running as user (based on login)
Old 11 January 2007, 08:37 PM
  #4  
Wurzel
Scooby Senior
iTrader: (1)
 
Wurzel's Avatar
 
Join Date: Nov 2000
Location: Wildberg, Germany/Reading, UK
Posts: 9,706
Likes: 0
Received 73 Likes on 54 Posts
Default

Why can't you use a domain admin account?
Old 11 January 2007, 08:46 PM
  #5  
LanCat
Scooby Regular
 
LanCat's Avatar
 
Join Date: Jul 2000
Location: cloud cuckoo land
Posts: 536
Likes: 0
Received 0 Likes on 0 Posts
Default

Doesn't the MS TweakUI tool give you the option to logon without password?
Old 11 January 2007, 10:44 PM
  #6  
Puff The Magic Wagon!
Moderator
Support Scoobynet!
Thread Starter
iTrader: (2)
 
Puff The Magic Wagon!'s Avatar
 
Join Date: May 2000
Location: From far, far away...
Posts: 16,978
Received 15 Likes on 9 Posts
Default

Originally Posted by Wurzel
Why can't you use a domain admin account?
Needs to be the user so as to get the right access
Old 11 January 2007, 10:45 PM
  #7  
Puff The Magic Wagon!
Moderator
Support Scoobynet!
Thread Starter
iTrader: (2)
 
Puff The Magic Wagon!'s Avatar
 
Join Date: May 2000
Location: From far, far away...
Posts: 16,978
Received 15 Likes on 9 Posts
Default

Originally Posted by LanCat
Doesn't the MS TweakUI tool give you the option to logon without password?
Checking...




One of the problems is that I couldn't access support.microsoft today as it is barred as a free download site by our sonicwall content filter

ROFL
Old 14 January 2007, 11:26 PM
  #8  
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

YHM
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
JackClark
Computer & Technology Related
7
17 September 2015 04:23 PM
Puff The Magic Wagon!
Non Scooby Related
3
31 August 2001 04:25 PM
Mkhan
Non Scooby Related
14
09 August 2001 02:07 AM
DazV
Non Scooby Related
14
16 July 2001 07:51 PM
Freddy Kruger
ScoobyNet General
6
11 April 2000 09:07 PM



Quick Reply: Login Scripts & Passwords



All times are GMT +1. The time now is 02:41 PM.