NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients Old Stuff (legacy) MVP & NMT MVPMCX2 and other NMT stuff v
1 2 3 4 5 … 37 Next »
ShareHelper utility

 
  • 0 Vote(s) - 0 Average
ShareHelper utility
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,203
Threads: 958
Joined: May 2006
#31
2009-10-07, 11:42 AM
Bonjour Eric,

Running a command prompt as Administrator, I suggest doing the following

1. Confirm again that nothing important is in the Virtual Store

dir "%LOCALAPPDATA%\virtualstore\program files\devnz\GBPVR"

2. Using the latest ShareHelper.

net stop ShareHelper > martin.log
ShareHelper1.exe /u >> martin.log
ShareHelper1.exe /i >> martin.log
net start ShareHelper >> martin.log

And then compress and upload

InstallUtil.InstallLog
ShareHelper1.InstallLog
ShareHelper1.InstallState
ShareHelper.log
martin.log

and any ShareHelper.log files in the GBPVR log folder.

Bonne chance

Martin
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#32
2009-10-08, 07:21 AM (This post was last modified: 2009-10-08, 08:09 AM by pBS.)
heyas, hate to interrupt, but i thought you might wanna try my 'interactive' service command...Smile
Code:
rem Create new 'tempcmd' srvany.exe service, no interact.
@sc create tempcmd binpath= "%cd%\srvany.exe"
rem Ask for cmd
@set /p cmdline= Command to run in service account?
rem Start service with cmd as startup params.
@sc start tempcmd "cmd /c %cmdline% >c:\net.txt 2>&1"
@sc query tempcmd
rem sleep
@ping localhost /n 3 >NUL 2>&1
@sc stop tempcmd
@sc delete tempcmd
@echo.
@echo.
@echo typed Result of Command:
@echo.
@type c:\net.txt
pause

it lets you run a single command from a service account...then removes itself..Smile
all you need is srvany.exe in the same dir...[tho an alternative to srvany.exe is fine]
stdout and stderr saved to a file and typed...[not all results make it thru i see]
add 'type= own type= interact' to sc create line and you can see it, and use as command: "cmd.exe /k" to have dos box to play with till you close it...[and remove the output redirection if you do]

makes for easier troubleshooting for me...Smile

p.s. to set params for startup in registry from script, adjust this line:
Code:
reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\[b]%SERVICENAME%[/b]\Parameters /v Application /t REG_SZ /d "[b]%PARAMETERS%[/b]" /f
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,203
Threads: 958
Joined: May 2006
#33
2009-10-08, 11:42 AM
pBS are proposing your tool as a solution for drive mapping or debugging? If it is drive mapping I will open a new thread. For debugging I use the sysinternals PSTools utility to get a true local service admin account to check that the maps are taking place The program is here http://technet.microsoft.com/en-us/sysin...96649.aspx and the command is psexe -i -s cmd

Martin
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#34
2009-10-09, 03:20 PM (This post was last modified: 2009-10-09, 03:25 PM by pBS.)
ahhh, didn't know about that option...sweet...
used to use those utils a lot but haven't played much with them lately..
thanx

thesedays, i just put a net cmd in postprocessing then recording something....Viola...run as system account by rec service...
[so definitely same cred. as rec service, no matter what it's set to..]
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
Caligula
Offline

Junior Member

Posts: 4
Threads: 2
Joined: May 2010
#35
2010-05-17, 07:30 AM
Thanks man, that really saved my butt.

It worked on:

Windows 7 Professional 32-bit.

My network share was just a drive shared in my dedicated server--nothing special.

Thank YOU again.

Merci Beaucoup!
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,203
Threads: 958
Joined: May 2006
#36
2010-07-04, 04:20 AM
I have uploaded the first link to provide instructions on running a new version ShareHelper2 for N-PVR. Most of the information in this thread will be relevant to both.

Thanks to dave.t for pointing out this no longer worked, with N-PVR. I probably should merge these into a standalone program.

Martin
dave.t
Offline

Member

Posts: 202
Threads: 34
Joined: Jun 2008
#37
2010-07-05, 08:59 PM
Hi Martin
I finally got it to work! Stupid me used IP addresses in the sharehelper.xml but used names in the config.xml
So I just copied the names from config.xml and pasted them in the sharehelper.xml and all is great!!
Thanks for this great service!!!!
Dave
dave.t
Offline

Member

Posts: 202
Threads: 34
Joined: Jun 2008
#38
2010-08-21, 10:56 PM
Hi Martin
Sorry to be a pest again! I removed npvr totally and then reinstalled. I then realised that I lost sharehelper. I reinstalled sharehelper2 and the sharehelper.xml.
For some reason I cant get it to work again. I have zipped up the logs and the xml file.
Can you see what I am missing.
Running Windows7 64 bit.
Thanks again
Dave
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,203
Threads: 958
Joined: May 2006
#39
2010-08-22, 12:32 AM
dave.t your Sharehelper.xml doesn't look like the sample http://forums.gbpvr.com//showthread.php?...post344119 you've included folder names and trailing slashes.

Martin
dave.t
Offline

Member

Posts: 202
Threads: 34
Joined: Jun 2008
#40
2010-08-23, 09:37 PM
Thanks Martin
Just got back. That did the trick.
Thanks again
Dave
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (8): « Previous 1 2 3 4 5 6 … 8 Next »
Jump to page 


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode