Unknown option 'A'

Questions and Answers : Windows : Unknown option 'A'
Message board moderation

To post messages, you must log in.

AuthorMessage
angiefromtower

Send message
Joined: 1 Apr 00
Posts: 2
Credit: 751,778
RAC: 1
United States
Message 1934126 - Posted: 7 May 2018, 5:46:47 UTC

When i start my computer, or it awakens from sleep and I log in, two messages appear on my screen from Boincmgr:

First says "Unknown option 'A'"
After I click OK, the second appears:
"Usage: boincmgr [/h][--verbose][/a][/s][/n<str>][/g<str>][/p<str>][/b<str>][/i][/c][/m][/nd]"
then gives the dictionary listings for the various letter codes.
When i click OK that message goes away, and I am able to start BOINC and it runs with no difficulties until the next time the computer wakes up.
It's merely an annoyance, but I'd like for it to go away. Any advice is much appreciated.

Running Windows 10 Home
Processor Intel i-5-4460 CPU 3.20 GHz
Running BOINC 7.8.3

When launching BOINC:
5/6/2018 10:30:07 PM | | cc_config.xml not found - using defaults
5/6/2018 10:30:07 PM | | Starting BOINC client version 7.8.3 for windows_x86_64
5/6/2018 10:30:07 PM | | log flags: file_xfer, sched_ops, task
5/6/2018 10:30:07 PM | | Libraries: libcurl/7.47.1 OpenSSL/1.0.2g zlib/1.2.8
5/6/2018 10:30:07 PM | | Data directory: C:\ProgramData\BOINC
5/6/2018 10:30:07 PM | | Running under account MsDeth
5/6/2018 10:30:08 PM | | OpenCL: Intel GPU 0: Intel(R) HD Graphics 4600 (driver version 20.19.15.4531, device version OpenCL 1.2, 1630MB, 1630MB available, 176 GFLOPS peak)
5/6/2018 10:30:08 PM | | OpenCL CPU: Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz (OpenCL driver vendor: Intel(R) Corporation, driver version 5.2.0.10094, device version OpenCL 1.2 (Build 10094))
5/6/2018 10:30:08 PM | | Host name: DESKTOP-AQC37O7
5/6/2018 10:30:08 PM | | Processor: 4 GenuineIntel Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz [Family 6 Model 60 Stepping 3]
5/6/2018 10:30:08 PM | | Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss htt tm pni ssse3 fma cx16 sse4_1 sse4_2 movebe popcnt aes f16c rdrandsyscall nx lm avx avx2 vmx tm2 pbe fsgsbase bmi1 smep bmi2
5/6/2018 10:30:08 PM | | OS: Microsoft Windows 10: Core x64 Edition, (10.00.16299.00)
5/6/2018 10:30:08 PM | | Memory: 7.92 GB physical, 9.17 GB virtual
5/6/2018 10:30:08 PM | | Disk: 918.30 GB total, 819.78 GB free
5/6/2018 10:30:08 PM | | Local time is UTC -7 hours
5/6/2018 10:30:08 PM | climateprediction.net | URL http://climateprediction.net/; Computer ID 1398723; resource share 100
5/6/2018 10:30:08 PM | Einstein@Home | URL http://einstein.phys.uwm.edu/; Computer ID 12435216; resource share 100
5/6/2018 10:30:08 PM | SETI@home | URL http://setiathome.berkeley.edu/; Computer ID 8003677; resource share 100
5/6/2018 10:30:09 PM | SETI@home | General prefs: from SETI@home (last modified 08-Aug-2015 12:44:16)
5/6/2018 10:30:09 PM | SETI@home | Host location: none
5/6/2018 10:30:09 PM | SETI@home | General prefs: using your defaults
5/6/2018 10:30:09 PM | | Reading preferences override file
5/6/2018 10:30:09 PM | | Preferences:
5/6/2018 10:30:09 PM | | max memory usage when active: 4054.47 MB
5/6/2018 10:30:09 PM | | max memory usage when idle: 7298.04 MB
5/6/2018 10:30:09 PM | | max disk usage: 820.88 GB
5/6/2018 10:30:09 PM | | don't use GPU while active
5/6/2018 10:30:09 PM | | suspend work if non-BOINC CPU load exceeds 25%
5/6/2018 10:30:09 PM | | (to change preferences, visit a project web site or select Preferences in the Manager)
5/6/2018 10:30:18 PM | Einstein@Home | Sending scheduler request: To fetch work.
5/6/2018 10:30:18 PM | Einstein@Home | Requesting new tasks for Intel GPU
5/6/2018 10:30:23 PM | Einstein@Home | Scheduler request completed: got 0 new tasks
5/6/2018 10:30:23 PM | Einstein@Home | No work sent
5/6/2018 10:30:23 PM | Einstein@Home | see scheduler log messages on https://einsteinathome.org/host/12435216/log
5/6/2018 10:30:28 PM | SETI@home | Sending scheduler request: To fetch work.
5/6/2018 10:30:28 PM | SETI@home | Requesting new tasks for Intel GPU
5/6/2018 10:30:30 PM | SETI@home | Scheduler request completed: got 0 new tasks
5/6/2018 10:30:30 PM | SETI@home | Project has no tasks available
ID: 1934126 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15183
Credit: 4,362,181
RAC: 3
Netherlands
Message 1934168 - Posted: 7 May 2018, 11:47:36 UTC - in response to Message 1934126.  

BOINC Manager starts either from the registry, or from the StartUp directory. It starts with the /a and /s attributes, where /a means autostart and /s means minimize to system tray. If for some reason the / is missing from the command, it'll complain that 'A' is not an option.

For the Startup directory, go Start->(All) Programs->BOINC->right click on BOINC Manager, properties. In the window that opens check what attributes there are on starting boincmgr.exe, and if there's an 'a'/'A' here, making it '/a' (slash, lower case a), Apply, OK.

If there's nothing in the Startup directory, BM starts from the registry.
You can check what it's doing and with what attributes by going Start->Search->msconfig.exe->Enter
In Msconfig, click the Startup tab. In the list find BOINC Client and enlarge the Command column to see what attributes it has.
Mind, there are two BOINC Client entries. One is for boinctray.exe, which is the BOINC Idle Detection program, the other is for boincmgr.exe, the BOINC Manager executable. If it's at its default path, it has to show as "C:\Program Files\BOINC\boincmgr.exe" /a /s, including the quotes because of the space in the path.

If it shows any different here, it shows different in the registry. at HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
Find the boincmgr entry in the right pane, double click it, make it "C:\Program Files\BOINC\boincmgr.exe" /a /s and press OK. Then exit the registry again.

The next time your computer starts and you log in, it should now work correctly.
ID: 1934168 · Report as offensive
angiefromtower

Send message
Joined: 1 Apr 00
Posts: 2
Credit: 751,778
RAC: 1
United States
Message 1934406 - Posted: 8 May 2018, 13:58:23 UTC - in response to Message 1934168.  

No luck with either method, so I gave up and uninstalled/re-installed the program, which fixed the problem. Thank you for your advice.
ID: 1934406 · Report as offensive

Questions and Answers : Windows : Unknown option 'A'


 
©2023 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.