admin password??

General discussion about the Tickstory Lite software package.
gooly
Posts: 57
Joined: Tue Jul 09, 2013 10:12 am

admin password??

Post by gooly »

HI,
I am new and have just dld. and installed ts. I (Win7, 64) started the installation as NOT admin in a NOT Windows-SYS-Folder. But every time I start ts I am asekd to enter the admin pwd of Windows - what ever I tried like chg the options? There MUST be another solution - no?
tickstory
Posts: 5166
Joined: Sun Jan 06, 2013 12:27 am

Re: admin password??

Post by tickstory »

Hi Gooly,

This issue seems related to your restricted user privileges under Windows 7. Can you try having a read of the following links to see if it resolves your problem?

http://answers.microsoft.com/en-us/wind ... f19c5f3c4b
http://answers.microsoft.com/en-us/wind ... bc567f7df2

Thanks.
gooly
Posts: 57
Joined: Tue Jul 09, 2013 10:12 am

Re: admin password??

Post by gooly »

hmm,

from here: http://answers.microsoft.com/en-us/wind ... f19c5f3c4b I looked up my registry and find ONLY here:
HKEY_USERS\S-1-5-21-13....00\Software\Microsoft\Windows\CurrentVersion\Uninstall\{DD677DA4-6AA6-435F-A78A-B28452584048}_is1

(..uninstall\ ??)

several DWORDS - which shall I change?
MajorVersion REG_DWORD (0)
MinorVersion REG_DWORD (9)
NoModify REG_DWORD (1)
NoRepair REG_DWORD (1)

This: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\
and check the value of the following registry DWORD: ConsentPromptBehaviorAdmin.
(from the same url) is already at 5 not 1!!

The second hint from here:
http://windows.microsoft.com/en-US/wind ... the-slider
turn off user account controll setting - why should I reduce the security only for one program?
The safest option ('Always Notify') it tell me to inform me if a program wants to change my Windows Settings or wants to install s.th.
I don't see the need to fro this!!

Regards,
Gooly
gooly
Posts: 57
Joined: Tue Jul 09, 2013 10:12 am

Re: admin password??

Post by gooly »

Hi tickstory,

I just downloaded in run the new setup: as possible and as I prefer it I installed it as user without admin-rights.
But starting tickstory it again requests my admin password :cry:

I do not want to run non-admin-programs as admin, why should I?
I can't understand why your program needs admin-rights? It loads, stores and converts data finally it starts the MT4-terminal.

I know that MT4 installed in Windows' program folders causes problems saving self-made or dld. EAs and indicators and other files.
That's why I re-installed the MT4-terminla in 'my' Document-Folder, that simplifies everything!!

Now it could be that your program tickstory running with admin-rights will cause other very nasty troubles as it probably stores where ever data as admin-owner for users unable to read, it'll start the MT4-therminal as admin, which will save everything in the admin folders and so on..

You advised me to reduce the security of my system, by reducing the restrictions of the user privileges.
But your program tickstory (which does nothing special and nothing which is system relevant) is the only one that needs that.,
All the other e.g. StrategyQuant's TickDataDownloader nor Birt's TickData Suite requires that.
So I think I am not too immodest to ask you to change this request for the admin-rights. I hope it's not too complex.

Regards,
Gooly
tickstory
Posts: 5166
Joined: Sun Jan 06, 2013 12:27 am

Re: admin password??

Post by tickstory »

Hi Gooly,

As you pointed out, Tickstory does not do anything that requires admin rights. This seems to be a Windows request that the application requires admin for some reason.
We will put an item to address this in a future version.

Regards.
gooly
Posts: 57
Joined: Tue Jul 09, 2013 10:12 am

Re: admin password??

Post by gooly »

Thanks with hope ;)
Gooly
HarriFX
Posts: 10
Joined: Wed Aug 07, 2013 2:23 pm

Re: admin password??

Post by HarriFX »

My experience with TickStory has been that you need to install the software as Administrator, and also run it as an Admin user - it wont work otherwise.

In the manifest for the install, there is a setting that requires Admin rights, and for the installed program as well. When bundling up the setup.exe, you need to fix these settings correctly so non-admin users can run TickStory.

As a workaround, I i) Installed in a non-standard directory, ie, NOT C:\Program Files, which require admin access and ii) I have used Microsoft ACT tool 5.6 to create a "shim" that bypasses the need for the admin password ("RunAsInvoker" setting) when you run the installed program. It 90% works, but sometimes crashes when it tries to access something in C:\ProgramData (You should fix this too). The crash report looks like this:

Product name: Tickstory Lite
Product version: 0.9.2.0
Details:
Access to the path 'C:\ProgramData\Tickstory\Tickstory Lite\TickstoryLite.config' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.Configuration.Internal.WriteFileContext.ValidateWriteAccess(String filename)
at System.Configuration.Internal.WriteFileContext.Complete(String filename, Boolean success)
at System.Configuration.Internal.InternalConfigHost.StaticWriteCompleted(String streamName, Boolean success, Object writeContext, Boolean assertPermissions)
at System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.WriteCompleted(String streamName, Boolean success, Object writeContext)
at System.Configuration.Internal.DelegatingConfigHost.WriteCompleted(String streamName, Boolean success, Object writeContext)
at System.Configuration.UpdateConfigHost.WriteCompleted(String streamName, Boolean success, Object writeContext)
at System.Configuration.MgmtConfigurationRecord.SaveAs(String filename, ConfigurationSaveMode saveMode, Boolean forceUpdateAll)
at ..()
at ..(Object , EventArgs )
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
tickstory
Posts: 5166
Joined: Sun Jan 06, 2013 12:27 am

Re: admin password??

Post by tickstory »

Hi Harri,

Thanks for the detailed information. We have raised a ticket to look at this item.

Regards.
HarriFX
Posts: 10
Joined: Wed Aug 07, 2013 2:23 pm

Re: admin password??

Post by HarriFX »

Hello

Any update on this? It is still causing a problem when I want to change which MT4 installation I use in "MT4 settings".

Congratulations on the release of version 1.0! I know you might not want to tinker with your brand-spanking new release, but I notice another user is having the same issue as me

http://tickstory.com/forum/viewtopic.ph ... ite.config

Thank you very much

harri
tickstory
Posts: 5166
Joined: Sun Jan 06, 2013 12:27 am

Re: admin password??

Post by tickstory »

Hi all,

The 'permission denied' error is expected to be addressed in the next version 1.1 of Tickstory. Please note that the issue is due to Windows 7 UAC account controls so we will need to relocate the location of the config file.

We will also try and address the prompting issue in this version, Gooly, however we will need your assistance to see if it works for you given that we have been unable to reproduce the issue.

Thanks.
Post Reply