473,383 Members | 1,813 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Degrade Administrator to normal user


Hi,

How to degrade Administrator to normal user and vice versa..(<->)

Thanks in advance..

Thanks & regards
Kondapanaidu


*** Sent via Developersdex http://www.developersdex.com ***
Jun 14 '06 #1
2 1223
use DirectoryServices classes to change group that belong to user from Adming
group to user group and vice versa

I hope this helps.

Hi,

How to degrade Administrator to normal user and vice versa..(<->)

Thanks in advance..

Thanks & regards
Kondapanaidu


--
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 14 '06 #2

"Kondapanaidu" <kondapanaidu> wrote in message
news:Od*************@TK2MSFTNGP05.phx.gbl...
|
| Hi,
|
| How to degrade Administrator to normal user and vice versa..(<->)

I'm not entirely clear on what you are after, please be more specific and
describe your scenario.
You can move a administrators user from the administrators group to another
group, Windows has tools for this, you don't need to write the code
yourself, but why would no need to move him back to the administrators
group? Note also that you need to be an Administrator to be able to do this
anyway.

Willy.
Jun 14 '06 #3

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

Similar topics

0
by: | last post by:
Help - I am really confused by this question... In order for me to build a system that uses cookies and/or sessions and handle situations where the user does not ahve this enabled which condition...
2
by: Simple Java Drinker | last post by:
I decided to reinstall the Windows XP on my computer by using the Repair Option. After typing "R" as required I am requested to input an administrator password. The problem is that no administrator...
2
by: Laurent | last post by:
Hello, I would like to create an application which would run with administrator rights when launched by a simple user. Is know the RunAs() command in SHELL, but the password is still needed. ...
2
by: hemant.antivirus | last post by:
ACCORDING TO MY KNOWLEDGE IT IS DONE ONLY BY TSR. BUT I CANNOT KNOW HOW CAN IT? SO,PLEASE DISCUSS ABOUT THAT IF U INTERSTED IN IT.
0
by: Keita | last post by:
Hi everyone. I'm using a socket-based application for Windows platforms (using winsock). Everything works fine when trying to connect in Administrator mode, but when I'm in User mode no communication...
8
by: =?Utf-8?B?TWFydGluIFNhY2hz?= | last post by:
I have been using MSCONFIG (XP Pro) for four years with no problem. I always use it in Administrator. Last night, when I attempted to go into selective startup mode, I got the following error...
5
by: babamc4 | last post by:
Hi All, Please could you help me. I added a new user and deleted two users on Friday using the security wizard then modified a DB. When I tried to open one of my DB this morning I was not...
5
by: sawilla | last post by:
First, I'm new to Python. I'm getting and error when I run Python 2.5.2 as a regular user in Vista but not when I run Python as an administrator. For example, if I type "import numpy" after I...
2
by: Scott | last post by:
Attempting to install WCF service on stand alone 2003 server as a admin user (not administrator but user "WCF" i.e user added to local admin group). It fails with user error: The description...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.