473,503 Members | 1,686 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Guest Account

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. If
anyone knows of a registry key for the guest account please let me know, or
if you know of another way to check the guest account on the remote computer.
Thanks in advance.

subkey = "Software\Microsoft\Windows NT\CurrentVersion\Winlogon"
regKey = RegistryKey.OpenRemoteBaseKey(RegistryHive.LocalMa chine,
pc).OpenSubKey(subkey, True)
value = regKey.GetValue("disableCAD")
If value = "1" Then
ListBox1.Items.Add("Disable CTRL+ALT+DEL requirement for Logon: Enabled")
regKey.SetValue("disableCAD", 0)
ListBox1.Items.Add("Policy changed to correct setting. Now Disabled")
Else
ListBox1.Items.Add("Disable CTRL+ALT+DEL requirement for Logon: Disabled")
End If
Nov 17 '05 #1
0 1612

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

Similar topics

2
5269
by: Ted Ward | last post by:
Hi all. I have MySQL 4.0.18 and phpMyAdmin running on a FreeBSD box. The other day a student told me he logged on to my phpMyAdmin by specifying "guest" as the user and no password. I don't have a...
1
2464
by: Audrey2 | last post by:
Nel database "master" ho mappato, per errore, l'utente "guest" su un utente sql "XXX" creato in SQLServer. Questo tipo di impostazione non permette più di aver accesso con l'utente anonimo "guest"...
0
1057
by: Dr. Strangedub | last post by:
I am looking for information on changing a configured Direct Connection (that uses RAS via serial port) via a C# Windows program. I want to change back and forth between Host and Guest (i.e.,...
1
2359
by: Florimond | last post by:
Can I use osql to known the database install on a server via 'guest' account ? I had over 300 servers with sql server all around France (different version : 6.5, 7 and 8) I need to check all...
2
2992
by: JessyEzzy | last post by:
I want to have 2 types of accounts of which users can use to login through the site, either a user account that is created through registeration or login as a guest. I have no problem with the...
2
1974
by: Cleyton | last post by:
Hello! Someone knows how I can solve it: I've installed my program in administrator account for all users. But i've tried to run in guest account, my program returned fatal error, and it didn't...
0
1138
by: Cleyton | last post by:
Hello! Someone knows what is happening?... My program doesn't work running in guest account. My program is registrated in msconfig and starts with windows...Ok... So, it stays waiting for a...
1
1321
by: sravani1 | last post by:
plz tell that how to connect the google map in our guest book . Give some logic how to use map in my guest book.
0
1752
by: Krishna | last post by:
I have no knowledge of MS SQL server or .net development. I have visual studio express installed on my system. I would like the guest account to be used to learn the development work. It seems...
0
7203
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7281
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7334
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6993
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...
0
5579
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,...
1
5014
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...
0
1514
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 ...
1
737
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
383
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...

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.