hsn 237
New Member
hello everyone
i am working on a program which will run the cmd. that part is done. in my program in the Vista OS i can run the normal user cmd. what i need to do is to run the admin cmd so i could be able to run some commands through it.
i need the command which i enter in the run to run the cmd admin.
in run i enter cmd and it runs the cormal cmd.
but i need the command which i need to enter in run to run the admin cmd.
best regards
hsn
7 9820
Hello,
The "runas" command is what you need......For example if you want to run cmd.exe as user 'Administrator' then following command works for you: - runas /user:Administrator cmd
To know more, see Microsoft DOS runas command at computerhope.com. Alternatively, you can also search Google.
Hope this helps.....
AmbrNewlearner
hsn 237
New Member
Hello,
The "runas" command is what you need......For example if you want to run cmd.exe as user 'Administrator' then following command works for you: - runas /user:Administrator cmd
To know more, see Microsoft DOS runas command at computerhope.com. Alternatively, you can also search Google.
Hope this helps.....
AmbrNewlearner
thanks for your reply.
i know about the runas command the problem is that when i do it it asks me for a password and when i enter my user account password and the cmd does not accept it. for some reason. i need to nkow what should i do. i keep searching online and everyone is saying to use the runas command but the password issue is blocking my way.
regards
hsn
Hello,
thanks for your reply.
i know about the runas command the problem is that when i do it it asks me for a password and when i enter my user account password and the cmd does not accept it. for some reason. i need to nkow what should i do. i keep searching online and everyone is saying to use the runas command but the password issue is blocking my way.
regards
hsn
Well, then you are (probably) entering the wrong password for the account. I cannot think of any other possibility in this case. Are you sure that you are entering the right password. Also, if the account has no password then this will not work. If you try to use this command with a account that has no password then you get following error message:
RUNAS ERROR: Unable to run - [Application_name]
1327: Logon failure: user account restriction. Possible reasons are blank passw
ords not allowed, logon hour restrictions, or a policy restriction has been enfo
rced.
So if there is a blank password then you either need to set up a password for that account or you need some other command (which I cannot think of at the present moment......probably, some other expert may help)
Hope this helps........
AmbrNewlearner
hsn 237
New Member
Hello,
Well, then you are (probably) entering the wrong password for the account. I cannot think of any other possibility in this case. Are you sure that you are entering the right password. Also, if the account has no password then this will not work. If you try to use this command with a account that has no password then you get following error message:
So if there is a blank password then you either need to set up a password for that account or you need some other command (which I cannot think of at the present moment......probably, some other expert may help)
Hope this helps........
AmbrNewlearner
thanks for your reply. yes i am sure i am entering the right command, i have spent more than a week working on this issue. i tried other computers. and the same issue. one of the computer its password is "dog" how could i miss writing that for more than a week.
your reply is similar to the other replies i read in other websites. i don't get why the computer is not taking the password. i am the admin it should accept my password, but for some reason it is not.
i am using a windows vista os. could that be a reason for this problem. as everyone knows VISTA SUCKS, after this problem which i am facing i am re-installing XP to my computer.
best regards
hsn
If the computer is a member of a domain you can try using the domain administrator password, as in.
User ..........YourDomainName\administrator
passowrd....password
hsn 237
New Member
If the computer is a member of a domain you can try using the domain administrator password, as in.
User ..........YourDomainName\administrator
passowrd....password
sadly i can't test that. my computer is not a member of a domain.
Hello,
your reply is similar to the other replies i read in other websites. i don't get why the computer is not taking the password. i am the admin it should accept my password, but for some reason it is not.
i am using a windows vista os. could that be a reason for this problem. as everyone knows VISTA SUCKS, after this problem which i am facing i am re-installing XP to my computer.
The problem may be caused by User account control feature of Vista. You can try disabling it but I (and Microsoft too) do not recommend this. For more visit this link.
Hope this helps.......
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: DLacey |
last post by:
I have a .NET C# application that uses the indexing service. It adds folders
to the catalog to be indexed, removes them, etc. Currently the application
requires the user be an admin user in order...
|
by: AnhTai |
last post by:
Hi all,
I've just installed MySQL 5.0 on my sun box (runing Solaris 10, install
from blastwave). This is my first time with MySQL so I don't have any
exp with it.
I have some troubles as:
-...
|
by: nemo |
last post by:
Hi,
I'm able to create, debug, and run ASP.Net projects when I login as a
user with admin privileges. However if I logon to the same machine as
a user without admin privileges, I get the...
|
by: Rahul Babbar |
last post by:
Hi,
I have two users, both of which are part of db2grp1, which is the
admin user.
db2grp1 has atleast 2 users, user1 and user2.
I create a table in user2, name it table2.
When i try to delete...
|
by: =?Utf-8?B?amFja3Y=?= |
last post by:
we tried to run our system under a non-admin user to prevent clients from
installing programs. We found out we could not correct the system time from
our program when we do that. Is there a way to...
| |
by: gangac |
last post by:
I am currently working on an ms access application for a large insurance
company which generates reports for the user after the user inputs/select
some data....
Unfortunately the application has...
|
by: Big Charles |
last post by:
Hello,
Programming in VS2003-ASP.NET 1.1, I have this problem: Using
DirectoryEntry and without any admin user, how can I check if a domain
account, that try to login, has expired?
Scenario: User...
|
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...
|
by: Babu1983 |
last post by:
Hi
I had accidentally deleted the sole Admin user for my db.
ie. My db had a single admin user 'kanagab'. somehow, I had deleted the user 'kanagab' (Tools->Security->User and Group...
|
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,...
|
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...
| |
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...
|
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...
|
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...
|
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,...
|
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...
|
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...
| |
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...
| |