How sleep windows 7/8 using the command line?

How sleep windows 7/8 using the command line?

for example:-l is for disconnection, what command should I give to sleep?

Hello

Powercfg command-line options
http://TechNet.Microsoft.com/en-us/library/cc748940 (v = WS.10) .aspx

I hope this helps.

Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

Tags: Windows

Similar Questions

  • How to pass variables by using the command line when starting from a native application ActionScript

    How to pass in variables or arguments to start using the command line when starting a native ActionScript application? For example, I have my app MySweetWidget call and it was compiled with Adobe AIR runtime in captivity so now I have MySweetWidget.exe.

    In the command line, I call MySweetWidget.exe and would like to pass in variables or properties of the application. I guess that these variables are read from the loaderInfo.parameters object.

    Please let me know if the Adobe AIR runtime supports passing the parameters to native execution. If so, I would like to help determine the correct format of how pass variables. So would you want to read those loaderinfo.parameters object?

    Thank you

    Jeff

    I found the answer to my own question:

    Yes, it's a feature supported. It is documented on the following page:

    http://help.Adobe.com/en_US/FlashPlatform/reference/ActionScript/3/Flash/desktop/NativeApp lication.html #event:invoke

    When you subscribe to the event from the NativeApplication invoke it will subsequently send the event and you read the table of e.arguments object to get the start in the native application arguments.

  • WINDOWS 7 error the application failed to start because the side by side configuration is incorrect, please see the application event log or use the command-line sxstrace.exe for more details.

    «WINDOWS 7 error the application failed to start because the side by side configuration is incorrect, please see the application event log or use the command-line sxstrace.exe for more details.»

    This cams almost for all the applications that I try to open. I read all kinds of things to solve problems, but I can't install anything because it is constantly on the screen.

    I think it's like that because my computer shuts off when I was doing the system restore, because he has not started.

    I don't know what to do.

    Hello

     
    You can view the event log by using Event Viewer. See the link below for more information about how to use Event Viewer to check the error message or information,
     
    Please check the information in Event Viewer and let us know the problem more briefly for a better solution.
     

    Method 1:
    However, try the SFC (System File Checker) scan on the computer. Check out the following link to do the same thing:
    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7
    http://support.Microsoft.com/kb/929833
     
    Method 2:
    You try to run the fixit given in the following link and check if it works:
  • How to use the command line in w/Merge Vista?-need to cut password expires...

    I use Vista Home Basic by Fusion on a Mac Intel. The instructions to stop Vista expire a password is to use the command-line under Vista. I already know these instructions, so my question is:

    How to use the command line inside Vista, on a virtual machine?

    Thanks for your help in advance, I don't want to mess something else.

    Jacob.

    With assistance from the command-line on Vista is no different if it is to be run on a virtual machine or on a physical machine, so just like you would on any physical machine.

  • How to remove a shortcut with the command line?

    How to remove a shortcut with the command line?

    How to make a backup of the local users and groups with command line?

    You delete a shortcut, just as you would remove any other file.  A shortcut will end with the extension ".lnk".  So assuming you are trying to remove the shortcut named "Shortcut.lnk" which appears to the user 'Bob's Office, you use the button Delete (del) or 'clear' command by specifying the full path to the file.  (Remember to put filename in quotes if there is a space anywhere in the path or name) as in:

    del "C:\documents and settings\Bob\Desktop\Shortcut.lnk".

    What kind of a backup 'users and groups' you want to do?  If there is a backup of the users and groups as written in the registry, a good registry as C:\WINDOWS\ERUNT backup program that will make the command line.  If you are trying to backup all users and their data as well, then you are better off with a backup program.

    HTH,
    JW

  • "Error: the application failed to start because the side by side configuration is incorrect, please see the application event log or use the command-line sxstrace.exe for more details.

    I have QQ (an international chat program) installed on the laptop. Then my hard drive crashed. Now when I try to reinstall it on my new hard drive I get the following message:

    "Error: the application failed to start because the side by side configuration is incorrect, please see the application event log or use the command-line sxstrace.exe for details" -how can I solve this problem? I have Windows 7.

    Hello

    Thanks for choosing Microsoft Community to post your question.

    It seems that you can not install application QQ, you get an error: "the application could not start because the side by side configuration is incorrect, please see the application event log or use the command-line sxstrace.exe for more details.

    We're here to help and guide you in the right direction. This problem could be caused when the computer is missing the correct C++ run time for your type of system components. (x 86 or x 64).

    Here are a few troubleshooting steps that you can try to solve this problem.

    Method 1: we will install Microsoft Visual C++ for your computer package.

    Note: If you use the 32-bit operating system, download and install 32-bit edition(X86).

    If you use the 64-bit operating system, download and install edition(X64) 64-bit.

    Microsoft Visual C++ 2008 SP1 Redistributable Package (x 86)
    http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=A5C84275-3B97-4AB7-A40D-3802B2AF5FC2&displaylang=en

    Microsoft Visual C++ 2008 SP1 Redistributable Package (x 64)
     http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=BA9257CA-337F-4B40-8C14-157CFDFFEE4E&displaylang=en

    Package redistributable Microsoft Visual C++ 2010 (x 86)

    http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=a7b7a05e-6de6-4D3A-A423-37bf0912db84

    Package redistributable Microsoft Visual C++ 2010 (x 64)

    http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=bd512d9e-43c8-4655-81bf-9350143d5867

    Method 2: Run the fixit available at the following link.

    Solve problems with programs that cannot be installed or uninstalled

    http://support.Microsoft.com/mats/Program_Install_and_Uninstall

    Also, check the event log using Event Viewer.

    Please see the link below for more information on how to use Event Viewer to check the error message or information,

    http://Windows.Microsoft.com/en-us/Windows7/what-information-appears-in-event-logs-Event-Viewer

    If you have additional problems, please reply to this post and we will be happy to help you further.

  • Installation of 11 GR 2 by using the command line.

    Hi Alex,

    I want to install 11 GR 2 using the command line prompt, because I am connected remotely and there is a firewall that blocks the xterminals.
    Can you give me a link to docs on how to install it using the command line?
    I can do by copying the script generated by the alter system backup controlfile to trace? There is a database creation script generated it.


    Thank you very much.

    KinsaKaUy? wrote:
    Thank you fiedi, is there a link for windows?

    Try this http://download.oracle.com/docs/cd/E11882_01/install.112/e18029/app_nonint.htm#BABFEECI

    See you soon

  • Adding users to a group of construction using the command line tool

    Hello
    Please forgive me if this is in the wrong category/forum, I can't seem to find one for Oracle Portal. I wonder if someone could help me with this issue please?

    I am trying to automate the adding users to a group of portal, entries already exist for users in the OID.
    With the help of the following ldapmodify command:

    ldapmodify h myhost.company.com Pei 389 - D cn = sleep w f /home/modify.ldif password

    where /home/modify.ldif has the following entries:-

    DN: cn = User1, cn = Users, dc is company, dc = com
    ChangeType: modify
    Add: orcldefaultprofilegroup
    orcldefaultprofilegroup: cn = groupname, cn = portal. 090112.174408.194907000, cn = groups, dc = company, dc = com

    DN: cn = User2, cn = Users, dc is company, dc = com
    ChangeType: modify
    Add: orcldefaultprofilegroup
    orcldefaultprofilegroup: cn = groupname, cn = portal. 090112.174408.194907000, cn = groups, dc = company, dc = com

    The ldapmodify script puts the specified group in the field "Default group" of the 'Edit portal user profile' page in the portal, which is fine. However it is not in fact add the user to the group. When I check the list of the members of the users group are not listed. Also the group is not listed under the existing users group membership "in the"Edit user"page. Also, when I try to connect to the portal as users, I get the error message "you are not authorized to perform this operation. (WWC-44131) "

    How can I add users to a group membership by using the command line tool?

    Thank you.

    M

    Your LDIF file must change the group entry and no input from the user.

    something like

    DN: cn = portal. 090112.174408.194907000, cn = groups, dc = company, dc = com
    ChangeType: modify
    Add: uniqueMember
    uniqueMember: cn = User1, cn = Users, dc is company, dc = com

  • The list of permissions of the files using the command line

    Hi all

    My windows operating system is windows Server 2003 R2.

    Now, I'm trying to find a solution that can display all the permissions of the file of each folder and its subdirectory by using the command line syntax.
    I tried to use ICACLS to solve this problem, but its result contains the permissions of all files/folders. I just want to have the permission of files, not the permissions of each individual files.

    Is it possible to just show the permissions of folders with ICACLS? If it is possible, what sentence from command line?

    However, I also looked at Systinterals AccessChk and AccessEnum without finding a solution.

    If you have no good solution, please share with me.

    Advanced thanks.

    Hi Leo,

    The question you have posted is related to file permissions in Server 2003 and it would be better suited to the TechNet community.

    Please visit the link below to find a community that will provide the support you want.

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

    Hope it will be useful.

  • Install programs by using the command line?

    My computer will not install packaged with Bitrock Installer programs.  How to do this? I used the command line in the past, but I forgot how.  It must be installed all by activating not the installer to Bitrock.  Or what I can do for my computer compatible with the Bitrock Installer?

    Hi sallysantlerart,

    1. what program are you trying to install?

    2. what happens when you try to install the program?

    You can consult the following links to install the program by using the command line:

    http://msdn.Microsoft.com/en-us/library/aa372024 (v = vs. 85) .aspx

    http://msdn.Microsoft.com/en-us/library/Aa367988 (v = vs. 85) .aspx

    Hope this information is useful.

    Jeremy K
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • The application has failed to start because its side-by-side configuration is incorrect. See the application event log or use the command-line sxstrace.exe for more details

    Hello

    I can t open Google Earth or Microsoft Office programs because I get this message - the application could not start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe for more details.

    A few days ago I could open all what programs. I put t know what is the problem.

    I did sxstrace and that's what I have-

    =================
    Launch the activation context generation.
    Input parameter:
    Flags = 0
    ProcessorArchitecture = Wow32
    CultureFallBacks = en-US; en
    ManifestPath = C:\Program Files (x 86) \Google\Google Earth\client\googleearth.exe
    AssemblyDirectory = C:\Program Files (x 86) \Google\Google Earth\client\
    Application configuration file =
    -----------------
    INFO: File analysis shows C:\Program Files (x 86) \Google\Google Earth\client\googleearth.exe.
    INFO: Manifest definition identity is (null).
    INFO: Reference: Microsoft.VC80.CRT, processorArchitecture = "x 86" publicKeyToken = "1fc8b3b9a1e18e3b", type = "win32", version = "8.0.50727.4053"
    INFO: Resolving reference Microsoft.VC80.CRT, processorArchitecture = "x 86" publicKeyToken = "1fc8b3b9a1e18e3b", type = "win32", version = "8.0.50727.4053".
    INFO: Resolving reference for ProcessorArchitecture WOW64.
    INFO: Resolving reference for the neutral culture.
    INFO: Application binding policy.
    INFO: No found publisher policy.
    INFO: No redirect political connection is found.
    INFO: Start the detection of assembly.
    INFO: Can't find the assembly in WinSxS.
    NEWS: Try to detect manifest to C:\Windows\assembly\GAC_32\Microsoft.VC80.CRT\8.0.50727.4053__1fc8b3b9a1e18e3b\Microsoft.VC80.CRT.DLL.
    INFO: Found no manifesto for the neutral culture.
    INFO: End detection of assembly.
    INFO: Resolving reference for ProcessorArchitecture x 86.
    INFO: Resolving reference for the neutral culture.
    INFO: Application binding policy.
    NEWS: Control strategy of the Publisher C:\Windows\WinSxS\manifests\x86_policy.8.0.microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.5592_none_517247830f45081d.manifest
    INFO: Start the detection of assembly.
    INFO: End detection of assembly.
    ERROR: Activation context generation failed.
    End activation context generation.

    Help, please!

    This type of error can be caused if the Visual C++ library runtime components are missing or because of a third-party software.

    Follow the steps below:
     
    Method 1:
    If the problem is caused by the lack of Visual C++ libraries, you can download and install the Runtime components of Visual C++ libraries from the link below:
     
    This error can occur when the Microsoft .NET Framework installation on the computer is damaged or is missing.

    Try it out below step to reinstall and repair installation of Microsoft .NET Framework on the computer, then check if you can install the software.

    (a) click the Start button, select Control Panel, click programs and then click on 'Turn Windows has or not.' If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    (b) search for Microsoft .NET framework 3.5.1 uncheck, click OK and restart the computer.

    (c) after the reboot, open again "Turn Windows features on or off" and place a check next to Microsoft .NET framework 3.5.1 and restart the computer.

    Step 2

    If the previous step fails, then I suggest that you manually download and install Microsoft Visual C++ 2005 and 2008 Redistributable Package and check to see if you can install the software.

    In programs and features, you do not show that you have installed Microsoft Visual C++ 2005 Redistributable and Microsoft Visual C++ 2008 Redistributable? If this is not the case, download the links here.
     
    Package redistributable Visual C++ 2005 (X 86)
     http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=32BC1BEE-A3F9-4C13-9C99-220B62A191EE&displaylang=en
     
    Visual C++ 2005 (x 64) redistributable package manager
     http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=eb4ebe2d-33c0-4A47-9dd4-b9a6d7bd44da&displaylang=en

    Package redistributable Microsoft Visual C++ 2008 (x 86)

    http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en

    Package redistributable Visual C++ 2008 SP1 (x 64)
     http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=BA9257CA-337F-4B40-8C14-157CFDFFEE4E&displaylang=en

    I hope this helps.

  • Business rule to launch using the command line

    I tried lauching business rule by using the command line utility CalcMgrCmdLineLauncher.cmd. The syntax I used is \Planning\planning1 > CalcMgrCmdLineLauncher.cmd A:Samp U:admin D:PL /R:AGGR F:Agg.xml. I get the following error when executing the command-

    FATAL error: Cannot run getRTPs(). Cannot find the rule AGGR deployed in the type of plan PL in the repository
    com hyperion.calcmgr.common.CalcMgrODLLogger logServereMsg

    I selected the correct application of planning in the locations tab and assigned administrator privileges on the tab of the business rule access privileges. I followed all the instructions in the link - http://download.oracle.com/docs/cd/E17236_01/epm.1112/hp_admin/frameset.htm?ch06s09s05.html to run BR by command line.

    Please let me know the reason for this error...

    No, you can use the CmdLnLauncher utility located in the installation of Regional service directory, it will be under eas\console\bin

    To get instructions on how to use it, then take a look on-- can not run business with bat file rule

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Use the command line to call EX60/C40

    Hello

    I'm looking to use the command line or xml to call extensions of our EX60 and C40. I want to automate the call made by the devices. We use 9.1 CM and TC6.

    In addition, if someone knows if it is possible to configure ERA/Hot Dial so when a user picks up the phone on the EX60 it automatically connect an extension? I tried through dialing SIP and ERA rule in CUCM.

    Thank you

    Kaleb

    To dial the command line, you can use the command 'xcommand dial.

    xCommand Dial

    Dial a number from the system. Returns information on the CallId and ConferenceId, which are necessary for some other commands.

    Number: Enter the number or address.

    Protocol: Select the Protocol h.323 or SIP.

    CallRate: Fix a rate of call.

    CallType: Select the type of audio or video call.

    BookingId: any identifier that an external booking system (e.g., TMS, CTS - MAN) can use for its own references to match calls placed with the internal identifier systems of booking for a meeting. This can be any string, for example, a GUID. The reservation Id will be provided in the call connects, events of appeal etc. for the call.

    Requires the user role: USER

    Parameters:

    Number (r):
    Protocol:
    CallRate:<64..6000>
    CallType:
    BookingId:

    Example:

    xCommand Dial number: 543210 Protocol: h323
    Ok
    * r DialResult (status = OK):
    CallId: 2
    ConferenceId: 1
    * end

  • Snapshot by using the command line

    Hi all

    Can we take the snapshot of the virtual machine by using the command line? Also is it possible if I want to memory as good or rejection of snapshot while taking the snapshot.

    Concerning

    Anil

    Save the planet, go for green

    If you have found my reply to be useful, feel free to mark it as useful or Correct.

    Is there a cliché already:

    VMware-cmd if you found this information useful, please consider awarding points to 'Correct' or 'Useful' answers and answers. Thank you!!

  • How to program a chkdsk using the command prompt?

    could someone tell me how to plan (for once only, not repeatedly), windows automatically fix file system errors and find the attempt to recover bad sectors, using the command prompt? I want to perform this check to my external hard drive when windows are on the boot sequence, not on the 'normal' environment for those who want the truth revealed open their hearts and their secrets unseal right now until the now from now who complete memories for those who are now in this House only truth will be heard from the mouth

    Hello

    Start - type in the search-> CMD box find top - make a right click on - RUN AS ADMIN

    To the guest who is probably similar to C:\Windows\System32 >

    This type by replacing X with the correct drive letter.

    CHKDSK X: /f /r

    Where X: is the drive letter for the external drive - spaces after: and f.

    C:\Windows\System32>chkdsk X:/f/r

    I hope this helps.

    Rob Brown - Microsoft MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

Maybe you are looking for