What a privilege is necessary for the judgment on the command line?

I just finish to manage a bunch of files, something I think is sometimes easier to use a MS-DOS prompt with wildcards with. I wanted to put the computer power off and goto bed. I was connected with my normal user account when I published the shutdown command from the command prompt that I used instead of the mouse. To my surprise, I received this message:
E:\Shared>shutdown s
The operation completed successfully.
A required privilege is not held by the client.

I can understand this restriction for remote clients, but not for the users of the console. What privilege or registry setting would I need to activate this command works for all users of the console? It seems stupid when they can just as easily use Start-> turn off computer-> Turn Off power.

I'm also surprised with this if the first time I tried it as a regular user in all these years. I use XP Pro, so I can change the local security policy and the security policy templates.

Can I stop my system with an account standard account standard Windows XP SP3 in command prompt. Was curious when I saw your post.  I'm sure you have checked user account rights.  You have another user account to test?  I would create a user if you have not just to see what happens.

Just found this, shows your exact error trying to shutdown from the command line.

http://www.windowsnetworking.com/kbase/WindowsTips/WindowsXP/AdminTips/utilities/Cantshutdownfromcommandline.html

If you have a Windows XP desktop computer and you try to stop your machine from the command-line by typing shutdown-s you might get the following in response to this command result:

The operation completed successfully.
A required privilege is not held by the client.

Tags: Windows

Similar Questions

  • Need help to remove the files of the United Nations necessary for the command line

    Original title: DELETING FILES

    I have a large amount of support .png files that have been placed on my C:\ drive, by some malicious programs or the system.  Whatever it is, I want to remove them because they take a disproportionate amount of space (about 25 GB to an indicative value).  They are in a sub-sub-sub etc directory and appear to be copies of random images as advertisements for computers, cars, soccer players and goodness knows what else, since every time I try to see, explore stops at halfway through, due to the large amount of files.

    So my question is: is there a way to delete these files without the help of Windows Explorer, for example by using a command line? or is there another utility of file management that I could use?

    I would appreciate help on this.

    Start > type CMD

    Right click on CMD and select run as administrator

    You type the command DEl as written in the link I mentioned earlier.  Just make sure that you type the location of the file and names as you see them on your system.

    This is another article about the MS BACK Del command

    http://www.computerhope.com/delhlp.htm

    Edit: This may be temporary files from Web pages, that you have seen.  Try this before you use the DEL command.

    Tools > Internet Options > general tab

    Click on delete

    Uncheck data Preserve favorite

    Check all the other available options

    Click on delete

    Windows will remove these temporary files

    Click Ok

    Then, go to start > my computer

    Select the C drive

    In search type *.tmp

    This is more temporary files stored on the computer

    Press Ctrl + A to select

    Press DELETE to remove all the

    You may receive a message file is in use, press on ignore

    Empty folder cookies as well - C:\Users\username\cookies

    Do not delete the file; all content

    I forgot to add.  Once you type the command del, press ENTER to execute it.

  • 'For' the command line in the file Tab does not work in Task Scheduler

    I am able to do my work of script .bat with 'echo' and 'set' command in the file lines beats using raykor suggestion to put the .bat file in program/script and put the path in the field "start in". However, 'for' command line stops all other lines in order to run.  Please see the below script. Please help how to do the command line 'for' to work. I need to add the date and time for the name of the file/folder to keep track of a copy of the file on each day. This script works perfectly when I run a line by line at a time on the CMD command prompt. He copied the files and folders and gave me the date and time and concatenated to the name of the file/folder. The first 2 lines do not work. If I delete the first 2 lines, it works fine.

    for /f "Tokens = 1, 2, 3, 4 * Delims = /" %i IN ('date/t'), set dt = %i %k %%j
    for /f "Tokens = 1, 2 *" %i in (' / time t ") set tm = - %i %j
    Set tm = % tm: =-%
    set the TNT = % dt % % tm
    echo copy backup set: % of DTT.
    ECHO please wait...
    Robocopy s:\data2 d:\testBackup\data2 /e /mir /np /tee /log:"c:\users\myusername\desktop\backup_log.txt.
    echo of finishing.

    Hello

    I apologize for the delay in responding to this post.

    The query is better suited in the following TechNet Forum, asking to view the query to get a solution to this problem.

    http://social.technet.Microsoft.com/forums/en-us/home?Forum=iTCG

  • What drivers are REALLY necessary for the 230 x?

    Hi guys,.

    I recently bought the 230 x - it's great. I also bought an ssd with it and replaced defaultt with the ssd hard drive and did a clean install of Windows 7.

    I have 2 questions:

    -the drivers are REALLY essential for my device? Visualize the page drivers, there are a LOT of drivers that can be installed, but I think that some of them are not really necessary, because I don't want to slow down my superfast x 230.

    -are there a way to download all THE drivers both in place one by one?

    Thank you in advance,

    Mustafa

    Hello and welcome,

    I can't tell you which drivers necessary for what you want to do, but the best way to get them is to install ThinkVantage System Update.  Run it and it will present all the appropriate drivers for the download and installation.

    You can review the details of each before you download and decide which ones you want.  Only, check the box for those that you want and let TVSU download and install to a slap.

    [edit] It is a pure opionion, based on nothing else than my preference: I'd rather live with the installation of Lenovo for awhile and see what I like - and then uninstall the stuff I have not.   IMNSHO, the initial indigestion is not that bad on a ThinkPad.  OTOH, depending on the size of the SSD, a clean installation may be the way to go.

    Z.

  • going on a computer: how to cancel the password which is necessary for the opening of the computer

    How to cancel the password which is necessary for the opening of the computer

    Do you mean that a password is required immediately after you turn on the computer or when you arrive at the Welcome to Windows screen? If the first case, it is a BIOS password and how you disable it depends on what type of computer you have. If the latter:

    Set up Windows to automatically connect (MVP Ramesh) -http://windowsxp.mvps.org/Autologon.htm

    If you would like more information or is not what you mean, please explain your post.

    MS - MVP - Elephant Boy computers - don't panic!

  • Warning__program error__one or more files necessary for the operation of the memorex expressit label design studio are missing or corrupt. Please use the Setup program to reinstall the software.

    Tried to update to Safari that does not work after the update. Then my printer stop working. Get the following message: 'WARNING '.
    program error
    necessary for the operation of the studio of design of memorex expressit label one or several files are missing or corrupt. Please use the Setup program to reinstall the software. »
    Already uninstalled and re-installed the software manufacturer labels several times. No luck.

    It seems it all started to go wrong after your update of Safari went wong:

    http://www.Apple.com/support/Safari/

    Link above is for Support of Safari.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    We do not know your Label program Vista compatibility.

    Check if your program is Vista Compatible:

    http://www.Microsoft.com/Windows/compatibility/Windows-Vista/default.aspx

    Windows Vista Compatibility Center

    First thing to do is to check its Vista compatibility at the link above, and if not to see what patches/solutions are available from its manufacturer...

    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-compatibility-mode/

    If this is not Vista compatible, read the info on the link above.
    It works for some programs, but not all.

    This applies to software programs, NOT hardware drivers.

    If it's Vista compatible > uninstall it > Re-download/save to your desktop > right click on the setup.exe > run as admin.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    It comes with Vista, upgrade install and activate Forum.

    Try the Vista programs Forum:

    http://social.answers.Microsoft.com/forums/en-us/vistaprograms/threads

    See you soon.

    Mick Murphy - Microsoft partner

  • I would like to have the best possible experience for the games on my laptop and I want to download everything that is necessary for the performance of the games.

    I bought a new laptop which has Windows 8. I heard that Windows 8 is new, it only is not automatically provided some 'things' - forgive me for my lack of knowledge in technology. I intend to play games on my new laptop, but according to my knowledge, Windows 8 does not support things like Visual C++ and Directx 9. I am very uncertain about this subject, however. If anyone understands this as am I mean, can you please correct and/or explain more on this topic? I would like to have the best possible experience for the games on my laptop and I want to download everything that is necessary for the performance of the games.

    Original title: what's missing in Windows 8?

    Jack

    We were all new at one point, so don't worry what you know.  Win 8 is compatible with all previous OS.  It supports C++, and depends on your video card supports DIrectX 9, 10 and 11.

    The only thing that doesn't come with win 8 (and since you bought it, it may already be installed) is windows media player.

    What exactly are you trying to do, or can you give us more information for we can help you better?

  • [INS-30131] Failure of initial installation is necessary for the performance of the controls of the installer.

    Hi all

    12 c

    Win7 64 bit

    I install 12 c, but I encountered error:

    Capture.JPG

    [INS-30131] Failure of initial installation is necessary for the performance of the controls of the installer.

    Cause - failed to access the temporary location.


    Action - make sure that the current user has required permissions to the temporary location.

    Additional information:

    Details of the exception - GLWB-11322: one or more node names 'oracle_training' contains one or more invalid characters following "_".


    What temp file should grant permissions to?

    Thank you very much

    JC

    Hello

    Details of the exception - GLWB-11322: one or more node names 'oracle_training' contains one or more invalid characters following "_".

    Line underscore or annoying characters on your node name cause problem. What is the name of node? Please change it will solve the problem.

    Current version 12101 is to have this constraint. See MOS: 1957895.1

    -Pavan Kumar N

  • What is my access code for the software updates

    What is my access code for the software updates?  It seems to be a six-digit numeric code, but I have no recollection of anyone establishing.

    Take a look at this thread, what is the password for software update

  • what external storage is good for the iPhone 6 more

    what external storage is good for the iPhone 6 more

    Try doing a Google search. It will give you many hits on it.

  • What does PS vs HQ for the cam action SONY in video resolution?

    What does PS vs HQ for the cam action SONY in video resolution?

    in AS100 - nothing. It doubles the framerate - 60-30 NTSC and PAL of 25-50

  • How to get connected through the recovery environment for the command prompt administrator privileges?

    Original title: how to make the command prompt as Administrator via dvd, USB system recovery / then to repair, recovery environment invites of commands in menu on win vista, win 7, win 8?

    Hello world?, please can someone tell me how do the command prompt as Administrator via/via menu environment of recovery with the option prompt orders..., that way I can activate the hidden administrator because I forgot my password of the computer... rather than editing the registry with the cmd... It says on the top of the command prompt x administrator cmd prompt and on the guest herself said x source then the guest... I thought that I can activate the admin hidden here coz he said administrator on the top of the program but it won't let me activate the admin hidden using this command: "net user administrator / Active. ": Yes" he says: successfully completed, but after I rebooted the computer the hidden admin did not appear on the menu of connection of users, I can activate the admin hidden with this command. "net user administrator / Active: Yes" through connection to a normal startup, then proceed to the command prompt with administrator previledge, but not through, dvd environment then recovery recovery menu system, the command line option... is one way or shortcut to the command prompt with admin previledge as the high cmd prompt the normal start standard? Please please help... I want to do coz I forgot my password for admin user computer, there is no other user account on the computer... "Please help, guru of the computer/engineers/programmers out there," and I thank you so much all the response I get, and God bless the guy more... «what I wanted to say that I can make the order: "net user administrator / Active: Yes" in the connection of nomal startup is coz I tried on another computer with windows vista 64 bit...» "but I forgot my computer password... I know how to edit the registry, although to allow the hidden via the recovery environment option administrator cmd menu but I want the shortcut... thank you once again,

    Hi Robert,.

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the link below.

    http://social.technet.Microsoft.com/forums/en-us/itprovistasecurity/threads

    Hope this information helps.

  • How to check what Qt application is run for the first time?

    How to check what Qt application is run for the first time? I need for the creation of trial version of my application. Any help is greatly appreciated

    Probably use file data and put an I_ran_at_least_one_time file and verify its existence. This file is not accessible to the user and is not changed even if you upgrade the application.

  • Adobe Application Manager, necessary for the verification of your driver's license, is missing or damaged.

    Adobe Application Manager, necessary for the verification of your driver's license, is missing or damaged. It appears each time I open a program from adobe. I downloaded the Manager, but he did that update hasdobe asks Manager.Please if you have an answer answer to me.

    N ° 1)

    Launch the Task Manager, click on the more details and end Adobe all related tasks.

    Step 2)

    Go to C: > Program (x 86) > " common files" > Adobe.

    Open the Adobe folder and delete files named Adobe Application Manager and OOBE.                  [Important]

    Impossible to remove? try to rename. as old OOBE. and Adobe Application Manager old.

    Step 3)

    Click on the link below and download Adobe Application manager and install the same:

    http://download.adobe.com/pub/Adobe/creativesuite/CC/Win/ApplicationManager9.0_all.exe

    Once the installation is complete, look for the icon of Adobe Application Manager launch on desktop and double-click it.

    It will start the update process.

    Once the update is complete, launch applications CC and check.

  • What vmnic driver to use for the spine of 10g

    Hi any recommendation on what vmnic driver to use for the virtual machine if I have a spine of 10g? I use Vcentre 4.1 U2

    Hello.

    This will depend on the guest OS, but if you just want pure performance then VMXNET 3 would be the one to try. Also check out the kb VMware "choose one network adapter for your virtual machine.

    Good luck!

Maybe you are looking for