locked
what did I do wrong importing a power scheme? RRS feed

  • Question

  • I asked this on the other Microsoft forum and got a cop out of "go ask over here", so I'm reposting it here.

    http://answers.microsoft.com/en-us/windows/forum/windows_xp-hardware/what-did-i-do-wrong-importing-a-power-scheme/0cdab994-a035-4c22-9cde-9b775ecb2686#last

    The user "swestee" asked me to create a new time in the available power schemes. I wanted to see if I could automate copying power profiles using the import and export and eventually a batch file, and used this as a test case after having her put a temporary password on her account for me. Unfortunately, I couldn't get it to work. What did I do wrong?
    [QUOTE]
    D:\Documents and Settings\Administrator>powercfg /e "3 minutes"

    D:\Documents and Settings\Administrator>powercfg /e "3 minutes" /file "3 minutes.pow"

    (copy files to user account, abusing admin privileges to access her folder)
    * * * * switch user * * * *

    D:\Documents and Settings\swestee>copy "3 minutes.pow" 3min.pow
              1 file(s) copied.

    D:\Documents and Settings\swestee>dir
     Volume in drive D has no label.
     Volume Serial Number is 1EF1-0C57

     Directory of D:\Documents and Settings\swestee

    08/31/2011  04:44 PM    <DIR>          .
    08/31/2011  04:44 PM    <DIR>          ..
    08/27/2011  11:44 AM    <DIR>          Start Menu
    08/31/2011  04:45 PM    <DIR>          My Documents
    08/31/2011  04:45 PM    <DIR>          Favorites
    08/27/2011  11:44 AM    <DIR>          Desktop
    03/27/2012  04:11 PM             8,403 powercfg.hlp
    03/27/2012  04:16 PM               300 SCHEME.POW
    03/27/2012  04:21 PM               300 3 minutes.pow
    03/27/2012  04:25 PM               300 3min.pow
                   4 File(s)          9,303 bytes
                   6 Dir(s)   6,025,363,456 bytes free

    D:\Documents and Settings\swestee>powercfg /i "3 minutes" /file 3min.pow
    Scheme Not Found

    D:\Documents and Settings\swestee>powercfg /IMPORT "3 minutes" /file 3min.pow
    Scheme Not Found

    D:\Documents and Settings\swestee>powercfg /IMPORT ThreeMinutes /file 3min.pow
    Scheme Not Found

    D:\Documents and Settings\swestee>powercfg /IMPORT Three /file 3min.pow
    Scheme Not Found

    D:\Documents and Settings\swestee>powercfg /IMPORT Three /file .\3min.pow
    Scheme Not Found

    D:\Documents and Settings\swestee>powercfg /IMPORT Three
    Scheme Not Found

    D:\Documents and Settings\swestee>

    [/QUOTE]

    Please note that any future attempts will be made with my user account, Slick.

    Sunday, April 1, 2012 3:50 PM