rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: Metronom on February 14, 2014, 05:49:21 AM

Title: Started as system
Post by: Metronom on February 14, 2014, 05:49:21 AM
How to make a config that would be if run by NT AUTHORITY/SYSTEM was immediately used existing config?
Title: Re: Started as system
Post by: rejetto on February 14, 2014, 02:35:11 PM
sorry don't understand the question
Title: Re: Started as system
Post by: bmartino1 on February 14, 2014, 04:27:13 PM
runing it as a service:
http://www.howtogeek.com/50786/using-srvstart-to-run-any-application-as-a-windows-service/

or do you want cmd to run as administrator/ you user "system"?

Why do you want to run the program with admin (the user you posted) "system pervilages..., also check to see if the program has that user/group has security permission to read/write by default system should have full control...
Title: Re: Started as system
Post by: Metronom on February 15, 2014, 12:28:59 AM
Sorry this "lost in translation"
I run HFS due to "a system of remote control". There is no access to HFS GUI. HFS starts only as NT AUTHORITY / SYSTEM.
Previously I configured HFS under user Administrator, but these settings do not apply when running HFS as NT AUTHORITY / SYSTEM. This is a problem.
Title: Re: Started as system
Post by: bmartino1 on February 15, 2014, 03:42:02 AM
I'm still not understanding your problem, it sounds like, to me that you are using a machine to remote in to your HFS machine, but when you remote you don't have GUI access...
So you are probably issung windows server core (or linux distro) which doesn't have a gui interface... windows and "rpc" into cmd.. as you state {I run HFS due to "a system of remote control". }

HFS is a GUI windows executable that is not meant to be used with out a gui, it is possible, and hard to do it that way...
As rejeto stated in other forums, hfs is a macro based windows executable...

How are you running it as the default "system user" to begin with, system doesn't have "default user" login rights, if you have issues opening and running a program in windows you needed to check your file/program permsions ( http://technet.microsoft.com/en-us/library/bb727008.aspx )

how to change in windows 7 gui... http://www.wikihow.com/Change-File-Permissions-on-Windows-7

To help us help you, please try to add as much detail including screen shots.

detail such as how you are remote-ing to your hfs machine, what is the machine operating system is HFS running on, how you are launching HFS... what program or protacal are you using to remote in, ie, http/ssh/rdp/ssl...

And ultimately what you are trying to accomplish form what i gather hfs for you is running as the default local "nt authority" system user , which isn't a human user, it is the windows OS machine user and is used for
( http://support.microsoft.com/kb/120929 )

to run the program as a different user require that the file/program has the users permissions...

there are no known comand line switch for HFS, that is a question for REJETO  ( i don't know of any "HFS" comand line switch or if there even are any, the power of this progrma is in the GUI ) i know default windwos and some linux switch that can help run the program...

ie,

hfs is located at c:/webroot/hfs.exe

i want to run this program with a specfic user / admin rights...

cmd comand line would be:
( http://stackoverflow.com/questions/12903629/how-do-i-run-a-program-from-command-prompt-as-a-different-user-and-as-an-admin )

batch script---
@echooff
cd \
cd webroot
runas /noprofile /user:Administrator hfs.exe
------------------

i apologize for the inconvenience, it looks like rejeto and myself do not understand your issue and I would like to help you as much as i can.
Title: Re: Started as system
Post by: Metronom on February 15, 2014, 04:49:55 AM
Okay, then this question:
"Admin" user configured HFS and it works fine.
Then "admin" logged out. Then another user logged on - "admin2".
"Admin2" wants to run HFS and immediately get it ready for use. Ie the settings of "Admin".  How to transfer settings?
Title: Re: Started as system
Post by: rejetto on February 15, 2014, 06:41:16 PM
Menu > save options > to registry (all users)

but you need to be running "as administrator"