473,770 Members | 1,973 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Set account to logon automatically (programmatical ly)?

How can I programmaticall y edit the settings in the dialog which is opened by
typing

control userpasswords2

in Start -> Run? For instance, if I would like to set an account to use to
automatically log on with.

Jun 29 '06 #1
2 3256
Do you mean editing users? Thus you need to use Use System.Director yServices
for
BTW, account for automatic logon could be set in the registry (google fot
the hive)
How can I programmaticall y edit the settings in the dialog which is opened by
typing

control userpasswords2

in Start -> Run? For instance, if I would like to set an account to use to
automatically log on with.


--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche

Jun 29 '06 #2
Thanks Michael,
Do you mean editing users? Thus you need to use Use System.Director yServices
for
BTW, account for automatic logon could be set in the registry (google fot
the hive)


That sounds a bit strange / insecure since you have to enter the password of
the user to be automatically logged on in control userpasswords2.

How can I programmaticall y edit the settings in the dialog which is opened by
typing

control userpasswords2

in Start -> Run? For instance, if I would like to set an account to use to
automatically log on with.


--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche

Jun 29 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
293
by: Rod Kestler | last post by:
After applying the KB Automatic Update #833987 (JPEG Security Issue), our development server suddenly will not allow any IIS 6.0 App Pool running with identity set to ASPNET to run. The Event Viewer shows the following trace from the Application Log: Event Type: Warning Event Source: W3SVC Event Category: None Event ID: 1057
4
3712
by: Reader | last post by:
I have an application that allows a user to enter a user name, user password, and the domain or machine name. From this information I would like to verify the user account and password is valid. This must work for either a domain or a local machine account. I have tried to find examples from the web and it seems every example that I have found does not work or produces odd results. I have tested each of these on Windows 2000, Windows XP,...
10
9888
by: Fabrizio | last post by:
(Sorry for the crosspost, but I really don't know which is the right newsgroup!) Hi all, I try to change the password to a user that as to change the password at first logon: try {
0
1629
by: Justin | last post by:
Does anyone know how to determine if the guest account is disabled on a remote computer on the server? I was thinking I could read a registry key to do it, but I do not know if such a key exists. Below is code showing how I determine if CTRL+ALT+DEL is required to logon to the remote machine using the registry. If it is not required then I change the key to make it required. I was hoping I could do something similar for the guest account....
0
1156
by: \Rob\ | last post by:
On a Win2000 domain controller, the ASPNET (v1.1) worker process (aspnet_wp.exe) runs under the IWAM_machinename (IIS 5) account NOT the ASPNET account. (I know domain controllers shouldn't run in this config - it is only a test machine) Why does the IWAM_machinename registry hive remain loaded evan after IISReset (which kills aspnet_wp.exe)?
10
8314
by: Martin Robins | last post by:
I need to access the scheduler service on a network computer in order to manipulate it remotely from .NET; I have all of the necessary code to perform the manipulation and it works - great - but I am having problems with authentication. I have tried using LogonUser and this works fine with a domain account, however it is not possible to use this with an account that is defined only on the remote computer - it only works with local or domain...
0
3237
by: robpimentel | last post by:
Hi, I've been using DB2 for about 1 week, so please bear with me. DB2 Connect Enterprise Edition v8.1 FixPack 5 Windows Server 2003 Standard Edition SP1 Here is an error that continues to appear on our domain controllers (Security event log): Event Type: Failure Audit Event Source: Security
8
2479
by: HDI | last post by:
Hi, We are working with Office 2003 and for our access apps we logon with the classic access security. The username and password is the same as windows logon. Is it possible that access check the network logon? Thx
6
6395
by: tsmojver | last post by:
Does anyone know how to retreive the logon account username for a particular windows service? Or the current user that is running this service as a process. C# is the prefered language of choice. Apparently, the managed classes don't seem to offer this easily (and for good reason). However, I would think there is a way to do this with an unmanaged call, but not sure where to start. Any help is greatly appreciated, Thanks.
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9906
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8933
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7456
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2849
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.