magicJack  and magicJack Plus Support, Reviews, FAQs and Hacks Forum Index

magicJack and magicJack Plus Support, Reviews, FAQs and Hacks


magicJack and magicJack Plus Unofficial Technical Support. Your Magic Jack and Magic Jack Plus phone service information resource
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Magic Jack as a service - a better way


Goto page 1, 2, 3, 4, 5  Next
 
Post new topic   Reply to topic    magicJack and magicJack Plus Support, Reviews, FAQs and Hacks Forum Index -> magicJack Tips, Tricks, and Hacks
View previous topic :: View next topic  
Author Message
hvacrepairman
MagicJack Newbie


Joined: 26 Apr 2008
Posts: 5

PostPosted: Sat May 10, 2008 10:02 am    Post subject: Reply with quote

Excuse my ignorance with all this but I dont see the srvany under services. Does this mean it did not get installed correctly?
Back to top
View user's profile Send private message
hvacrepairman
MagicJack Newbie


Joined: 26 Apr 2008
Posts: 5

PostPosted: Sat May 10, 2008 10:10 am    Post subject: Reply with quote

One thing I had a problem with was just below line 6. When I type this @ the command prompt (C:\Program Files\Windows Resource Kits\Tools\instsrv.exe" "MagicJack" "C:\Program Files\Windows Resource Kits\Tools\srvany.exe") it does not work. This is what I get. C:\Program Files\Windows Resource Kits\Tools\instsrv.exe" "MagicJack" "C:\Pr
ogram Files\Windows Resource Kits\Tools\srvany.exe"
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
Back to top
View user's profile Send private message
semicharm
MagicJack Contributor


Joined: 24 Apr 2008
Posts: 67

PostPosted: Sat May 10, 2008 10:52 am    Post subject: Reply with quote

You missed the first quote there
"[font=Courier New:b78c08367c]C:\Program Files\Windows Resource Kits\Tools\instsrv.exe" "MagicJack" "C:\Program Files\Windows Resource Kits\Tools\srvany.exe"[/font:b78c08367c]
Unfortunately, DOS thinks that the path ends at the first space, so you have to have it in quotes to tell it otherwise.
Back to top
View user's profile Send private message
hvacrepairman
MagicJack Newbie


Joined: 26 Apr 2008
Posts: 5

PostPosted: Sat May 10, 2008 8:53 pm    Post subject: Reply with quote

That was it. Thanks a million for your time.
Back to top
View user's profile Send private message
kharr
MagicJack Newbie


Joined: 25 Apr 2008
Posts: 2

PostPosted: Sun May 11, 2008 7:34 pm    Post subject: Reply with quote

Thanks for the tip. It worked perfect for me!

One minor inconvenience. This hack ONLY works if MJ is installed BEFORE you boot. If I have my PC running, then decide to plug in my MJ, it tries to reinstall itself again Mad

I then kill the process(s) (I think they were magicJack and magicJacksetup) to get rid of the dialpad and splash screen. Next I go into services and start magicJack. Now it's finally running in the background again.
Back to top
View user's profile Send private message
semicharm
MagicJack Contributor


Joined: 24 Apr 2008
Posts: 67

PostPosted: Mon May 12, 2008 10:45 am    Post subject: Reply with quote

Well, you could use Tweak UI to disable the auto run on the MJ drives and then setup a shortcut to run [font=Courier New:d23b84cf18]net start "MagicJack"[/font:d23b84cf18] to start the service.
Back to top
View user's profile Send private message
norml jack
Dan isn't smart enough to hire me


Joined: 07 Jan 2008
Posts: 115
Location: Humboldt County, Ca.

PostPosted: Tue May 13, 2008 8:16 pm    Post subject: Re: Magic Jack as a service - a better way Reply with quote

semicharm wrote:
This is my first time here, though I just got through with setting up my second MJ box. After discovering the wonderful gotchas when setting up my dad's box, such as the popups and the fact that the stupid thing doesn't work if you didn't log into windows, I went the service route that others have described. Though they do work, aside from another issue that'll get into later, the other methods still have a few problems and MJ still dumps its installation in every user profile.

After conducting my own research and experimentation, I've devised another process for getting MJ to work as a service that doesn't require creating a new user or have any erroneous errors in Event Viewer.

1) Install MJ as usual.

2) Once MJ is finally at the dialpad window and working properly, open Task Manager, click the Processes tab and end the MagicJack.exe process.

3) Run MSConfig, go to the Startup tab, uncheck cdloader2.exe, then click OK.

4) Open My Computer and go to [font=Courier New:fa50175775]C:\Documents and Settings\Your Username\Application Data[/font:fa50175775] and move the mjusbsp folder to [font=Courier New:fa50175775]C:\Documents and Settings\All Users\Application Data[/font:fa50175775]. While you're in My Computer, also note the letter for second drive assigned to the MJ box. If you right click the drive and choose Properties, the correct one will have the name PHONE.

5) You can get rktools.exe to install the Windows Resource Kit, but you only really need instsrv.exe and srvany.exe.

6) Using the default path where the resource kit is installed, run cmd and enter

"C:\Program Files\Windows Resource Kits\Tools\instsrv.exe" "MagicJack" "C:\Program Files\Windows Resource Kits\Tools\srvany.exe"

If you have those two files somewhere else, just adjust the path accordingly. Make sure that there are no errors reported and close the window.

7) Run regedit and go to [font=Courier New:fa50175775]HKEY_LOCAL_MACHINE\SYSTEM\Current Control Set\Services\MagicJack[/font:fa50175775]. Right click the MagicJack key, choose New>Key, and name it Parameters.
Now in the Parameters key, right click, choose New>String Value, and name it Application.
Double click the Application value and set it to

"C:\Documents and Settings\All Users\Application Data\mjusbsp\magicJack.exe" /scf _magicJackPersonalDataRoot "X:\magicJack"

where X is the second MagicJack drive letter you found earlier, then click OK.

That's ALL! You can either restart your computer or open the services window and start the new MagicJack service. Once MagicJack as connected, you should get a dial tone.

TROUBLESHOOTING:
If you've completed all of the steps and still can get it working, try the following:

1) Check that the MagicJack service is running. If not, try starting it.
- If it still doesn't start, make sure step 6 was completed correctly.

2) Open the Task Manager, click the Processes tab, and check if magicjack.exe is running.
- If it is, end the magicjack.exe process.

3) Edit or create a shortcut for MagicJack. Change the Target field to

"C:\Documents and Settings\All Users\Application Data\mjusbsp\magicJack.exe" /scf _magicJackPersonalDataRoot "X:\magicJack"

where X is the second MagicJack drive letter you found earlier. Change the Start in field to

"C:\Documents and Settings\All Users\Application Data\mjusbsp\"

a) If the shortcut works correctly, run regedit and go to [font=Courier New:fa50175775]HKEY_LOCAL_MACHINE\SYSTEM\Current Control Set\Services\MagicJack\Parameters[/font:fa50175775] and correct the value for Application. Stop the magicjack.exe process and restart the MagicJack service.

b) If it shortcut doesn't work either, make sure that the mjusbsp folder is in "C:\Documents and Settings\All Users\Application Data", that the drive letter is correct, and that everything in the shortcut was entered correctly. Note that there IS a space between "/scf" and "_magicJackPersonalDataRoot"!


NOTES:
You don't have to create a new user to run MJ as a service. Actually, you can move the mjusbsp folder just about anywhere, though you should place it somewhere in All Users or Program Files if you want Limited Users to have access to it. You don't have to name the service "MagicJack" either, but it at least should be something easy to remember. Wink Also, unlike the other "simple" method, I recommend using srvany.exe instead of magicJackLoader.exe directly, because it will start the service a LOT faster, doesn't give erroneous errors in Event Viewer, and still allows you to access the dialer window too!

If you need to access the MagicJack dialer window for any reason, just open the Services window, right click on the MagicJack service, click the Log On tab, click Allow service to interact with desktop, and click OK. Right click the MagicJack service again and choose Restart

What, no splash screen!? Using the alternate method for starting MJ rather than using magicJackLoader will not only skip the splash screen, but will stop it from needlessly installing itself in every damn user! You could also use it in a shortcut as well, in case you ever need to start it without using the service.

Overall, this method for setting MJ as a service is so simple, I probably could create a batch file to do the whole thing! If there's any request for it, I could write one when I get the time.

Shutdown issues:
Well, I said would get to it later, didn't I? Some time after I had first setup the service using the standard method on my parent's computer, it began locking up when restarting or shutting down and sure enough, disabling the service fixed the problem. There were errors in Event Viewer stating MagicJack had been accessing the registry while windows was shutting down, so I figured that I just needed to force the service to shut down when Windows shutdown. Using a shutdown script seemed to work most of the time, but sometimes it would still lockup and this time the computer would hang at the BIOS while searching for USB drives. After some research I found a small utility that can disconnect USB drives, such as MJ, from a command prompt. After adding it to the shutdown script everything works perfectly!

So if anyone else has the same problem, I detail my fix here as well. Unfortunately, it does requires using the Group Policy editor, which is missing from XP Home, so if anyone has this problem and has XP Home, let me know.

1) Download RemoveDrive and extract the files into your mjusbsp folder.

2) Run gpedit.msc, go to [font=Courier New:fa50175775]Computer Configuration->Windows Setting->Scripts[/font:fa50175775] and double click Shutdown. Click Add, then Browse. Right click in this window, choose New->Text Document. Open the file and add the following

Code:

net stop MagicJack
"C:\Documents and Settings\All Users\Application Data\mjusbsp\removedrive\RemoveDrive.exe" ymax*


Save the file and close. Now right click on it and rename it some thing like [font=Courier New:fa50175775]shutdown magicjack.bat[/font:fa50175775]. This time just click the file and then click Open on this window, then click OK on the other two.

If you are still having the problem and checked that the file .bat you created is correct, then again in Group Policy editor, go to [font=Courier New:fa50175775]Computer Configuration->Administrative Templates->System->Scripts[/font:fa50175775] and double click Run shutdown scripts visible. Choose enable and click OK. When you restart your computer, a command prompt window should appear momentarily.

[EDIT 5/5: several clarifications and corrections, with addition information and advise provided by sh42n81 and Stewart.]


Your "better way" is convoluted and about as clear as mud. The Frank Zappa Procedure not only works extremely well, but provides a platform for allowing maximum security and control as well as the initial setup for running multiple MJ devices, and all of them as services. Before publishing "A better way" it is best that you have some understanding of just what it is you are accomplishing consistent with best practices. A mentally retarded child can come up with a better mud pie. Here is the original Frank Zappa Procedure as written in the old forum, thanks again Frank:

Download from Microsoft rktools.exe. Extract this file; you will need the following two programs: srvany.exe; and instsrv.exe. READ THE INSTRUCTIONS on how these programs are used. Create a user named "magicjack", temporarily assign admin privilege. Login as �magicjack�, and install the magicjack under this profile. Install the service using the instructions you READ, and then add parameter magicjackloader.exe as the target of srvany.exe.

The following is a registry script:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\magicJack]
"Type"=dword:00000010
"Start"=dword:00000002
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):63,00,3a,00,5c,00,77,00,69,00,6e,00,64,00,6f,00,77,00,73,00,\
5c,00,73,00,72,00,76,00,61,00,6e,00,79,00,2e,00,65,00,78,00,65,00,00,00
"DisplayName"="magicJack"
"ObjectName"=".\\magicjack"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\magicJack\Enum]
"0"="Root\\LEGACY_LINE1\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\magicJack\Parameters]
"Application"="c:\\Documents and Settings\\magicjack\\Application Data\\mjusbsp\\magicjackloader.exe"

Reduce the �magicjack� user privilege to "user".

If you can read, follow instructions, and have at least two brain cells to rub together, then you will end up with an MJ that runs anytime the computer is on without regard to whoever is or is not logged in.
Back to top
View user's profile Send private message Visit poster's website
semicharm
MagicJack Contributor


Joined: 24 Apr 2008
Posts: 67

PostPosted: Tue May 13, 2008 9:44 pm    Post subject: Reply with quote

Yes, I used that method first and had several issues with it, but calling my method "convoluted" is just plan silly as most of the steps are the same because both use srvany.exe to run the service. Also, creating another user is a waste of time and running the service that way restricts what you can do with it. As for running multiple boxes on one PC, no one is saying that you can't use magicjackloader.exe instead, I just prefer not to.

BTW, since you're obviously able to comprehend english and have no problems figuring out how to setup a service, then why are you the only one that has difficulty understanding the steps that I'd outlined? Also, if you can only relate to others via insults such as "mentally retarded child", then I really feel sorry for you. While I would welcome addressing real issues in a rational manner, just spouting off and ranting insults belittles your intelligence and is a waste of time.
Back to top
View user's profile Send private message
norml jack
Dan isn't smart enough to hire me


Joined: 07 Jan 2008
Posts: 115
Location: Humboldt County, Ca.

PostPosted: Tue May 13, 2008 9:50 pm    Post subject: Reply with quote

semicharm wrote:
Yes, I used that method first and had several issues with it, but calling my method "convoluted" is just plan silly as most of the steps are the same because both use srvany.exe to run the service. Also, creating another user is a waste of time and running the service that way restricts what you can do with it. As for running multiple boxes on one PC, no one is saying that you can't use magicjackloader.exe instead, I just prefer not to.

BTW, since you're obviously able to comprehend english and have no problems figuring out how to setup a service, then why are you the only one that has difficulty understanding the steps that I'd outlined? Also, if you can only relate to others via insults such as "mentally retarded child", then I really feel sorry for you. While I would welcome addressing real issues in a rational manner, just spouting off and ranting insults belittles your intelligence and is a waste of time.


I couldn't have said it better myself. LOL
Back to top
View user's profile Send private message Visit poster's website
Bendle
Dan isn't smart enough to hire me


Joined: 27 Mar 2008
Posts: 103
Location: proxy1.nashville.talk4free.com

PostPosted: Thu May 15, 2008 12:51 am    Post subject: Reply with quote

norml jack wrote:
semicharm wrote:
Yes, I used that method first and had several issues with it, but calling my method "convoluted" is just plan silly as most of the steps are the same because both use srvany.exe to run the service. Also, creating another user is a waste of time and running the service that way restricts what you can do with it. As for running multiple boxes on one PC, no one is saying that you can't use magicjackloader.exe instead, I just prefer not to.

BTW, since you're obviously able to comprehend english and have no problems figuring out how to setup a service, then why are you the only one that has difficulty understanding the steps that I'd outlined? Also, if you can only relate to others via insults such as "mentally retarded child", then I really feel sorry for you. While I would welcome addressing real issues in a rational manner, just spouting off and ranting insults belittles your intelligence and is a waste of time.


I couldn't have said it better myself.


Am I confused or do we have a case of MPD going on here?
Question

And lastly, why is this thread even a sticky? We already have a sticky for run as service (which is where this thread should have been started anyway)...

Oh well.


Last edited by Bendle on Thu May 15, 2008 1:00 am; edited 1 time in total
Back to top
View user's profile Send private message
norml jack
Dan isn't smart enough to hire me


Joined: 07 Jan 2008
Posts: 115
Location: Humboldt County, Ca.

PostPosted: Thu May 15, 2008 1:07 am    Post subject: Reply with quote

Bendle wrote:
Am I confused or do we have a case of MPD going on here?
Question

And lastly, why is this thread even a sticky? We already have a sticky for run as service (which is where this thread should have been started anyway)...

Oh well.


Confusion and MPD can be from the same organic cause. Have you discussed this with your primary care physician? You should request a referral to a specialist that may provide the help you need.
Back to top
View user's profile Send private message Visit poster's website
Bendle
Dan isn't smart enough to hire me


Joined: 27 Mar 2008
Posts: 103
Location: proxy1.nashville.talk4free.com

PostPosted: Thu May 15, 2008 1:17 am    Post subject: Reply with quote

norml jack wrote:
Bendle wrote:
Am I confused or do we have a case of MPD going on here?
Question

And lastly, why is this thread even a sticky? We already have a sticky for run as service (which is where this thread should have been started anyway)...

Oh well.


Confusion and MPD can be from the same organic cause. Have you discussed this with your primary care physician? You should request a referral to a specialist that may provide the help you need.


I prefer to self-medicate. I can say with envy that we are not from the same "organic cause" regretfully. Crying or Very sad
Back to top
View user's profile Send private message
norml jack
Dan isn't smart enough to hire me


Joined: 07 Jan 2008
Posts: 115
Location: Humboldt County, Ca.

PostPosted: Thu May 15, 2008 1:24 am    Post subject: Reply with quote

Bendle wrote:
I prefer to self-medicate. I can say with envy that we are not from the same "organic cause" regretfully. Crying or Very sad


Well, come on up to Humboldt County, we specialize in self-medication. We have meds legal in Humboldt County, State of California that most doctors can't prescribe.
Back to top
View user's profile Send private message Visit poster's website
semicharm
MagicJack Contributor


Joined: 24 Apr 2008
Posts: 67

PostPosted: Thu May 15, 2008 8:56 am    Post subject: Reply with quote

Bendle wrote:
And lastly, why is this thread even a sticky? We already have a sticky for run as service (which is where this thread should have been started anyway)...

You'd have to ask the mods why this thread is a sticky. If you guys want to quibble, do it somewhere else.
Back to top
View user's profile Send private message
norml jack
Dan isn't smart enough to hire me


Joined: 07 Jan 2008
Posts: 115
Location: Humboldt County, Ca.

PostPosted: Thu May 15, 2008 12:11 pm    Post subject: Reply with quote

semicharm wrote:
You'd have to ask the mods why this thread is a sticky. If you guys want to quibble, do it somewhere else.


Now the lil' punk thinks he's in charge. LOL
Back to top
View user's profile Send private message Visit poster's website
semicharm
MagicJack Contributor


Joined: 24 Apr 2008
Posts: 67

PostPosted: Thu May 15, 2008 12:33 pm    Post subject: Reply with quote

The "Tips, Tricks, and Hacks" forum isn't for idle chat genius.
Back to top
View user's profile Send private message
norml jack
Dan isn't smart enough to hire me


Joined: 07 Jan 2008
Posts: 115
Location: Humboldt County, Ca.

PostPosted: Thu May 15, 2008 7:36 pm    Post subject: Reply with quote

semicharm wrote:
The "Tips, Tricks, and Hacks" forum isn't for idle chat genius.


I agree, this forum should not be used for idle chat genius, or any other genius.
Back to top
View user's profile Send private message Visit poster's website
anirbansen
MagicJack Newbie


Joined: 11 May 2008
Posts: 5
Location: Alexandria, VA

PostPosted: Tue May 20, 2008 7:32 pm    Post subject: Self-reinstalling? Reply with quote

I got magicJack to work as a service pretty well. The problem is when my brother removed magicJack while it was running as a service. When he plugged it back in a few seconds later (15-25 sec.), magicJack reinstalled the software like the first time.

How to avoid this?
Back to top
View user's profile Send private message
stroths
Dan isn't smart enough to hire me


Joined: 02 Apr 2008
Posts: 470
Location: Dallas, TX

PostPosted: Tue May 20, 2008 8:30 pm    Post subject: Re: Self-reinstalling? Reply with quote

anirbansen wrote:
I got magicJack to work as a service pretty well. The problem is when my brother removed magicJack while it was running as a service. When he plugged it back in a few seconds later (15-25 sec.), magicJack reinstalled the software like the first time.

How to avoid this?


Disable autorun

# Run the Registry Editor (REGEDIT.EXE).
# Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Cdrom.
# Double-click the Autorun value, and type 0 for its value. (If it's not there, create it by selecting Edit -> New -> DWORD Value, and typing "Autorun" for its name.)
# You may have to log out and then log back in for this change to take effect.
Back to top
View user's profile Send private message
anirbansen
MagicJack Newbie


Joined: 11 May 2008
Posts: 5
Location: Alexandria, VA

PostPosted: Wed May 21, 2008 12:14 am    Post subject: Re: Self-reinstalling? Reply with quote

[quote="stroths"][quote="anirbansen"]I got magicJack to work as a service pretty well. The problem is when my brother removed magicJack while it was running as a service. When he plugged it back in a few seconds later (15-25 sec.), magicJack reinstalled the software like the first time.

How to avoid this?[/quote]

Disable autorun

# Run the Registry Editor (REGEDIT.EXE).
# Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Cdrom.
# Double-click the Autorun value, and type 0 for its value. (If it's not there, create it by selecting Edit -> New -> DWORD Value, and typing "Autorun" for its name.)
# You may have to log out and then log back in for this change to take effect.[/quote]

Thanks! But this would be a global setting. Any way to specify the X: drive? (where X = the magicJack Phone drive)
Back to top
View user's profile Send private message
stroths
Dan isn't smart enough to hire me


Joined: 02 Apr 2008
Posts: 470
Location: Dallas, TX

PostPosted: Wed May 21, 2008 12:47 am    Post subject: Re: Self-reinstalling? Reply with quote

anirbansen wrote:
Thanks! But this would be a global setting. Any way to specify the X: drive? (where X = the magicJack Phone drive)


I haven't tried this as I prefer autorun disabled completely, but I believe you can disable it on specific drives.

Check out these links for more info or google NoDriveTypeAutoRun

http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/regentry/93502.mspx?mfr=true

http://www.msfn.org/board/What-are-all-the-different-settings-for-t75640.html

Let us know how it works.
Back to top
View user's profile Send private message
semicharm
MagicJack Contributor


Joined: 24 Apr 2008
Posts: 67

PostPosted: Wed May 21, 2008 5:52 am    Post subject: Reply with quote

I'm not sure what it changes in the registry, but you can use TweakUI to do it. The setting is under My Computer->AutoPlay->Drives

You can get TweakUI from the Microsoft power toys page.
Back to top
View user's profile Send private message
Stewart
Dan Should Pay Me


Joined: 13 Nov 2007
Posts: 663

PostPosted: Wed May 21, 2008 9:05 am    Post subject: Reply with quote

I agree with stroths. IMHO, the present implementation of autorun is a really bad idea. The risks are great (that CD-R you got from your best buddy might be infected, if he's not as careful about viruses as you are), there are lots of annoyances (insert an old CD to confirm upgrade eligibility, and it starts to install the old version), and the benefit is minimal (saves double-clicking an icon when you really do want to install).

If I were king, my autorun would start an install silently, only when the user had previously confirmed trust for the publisher, the code is digitally signed, and the certificate can be properly verified. If everything checks out but the user has not yet confirmed his trust, a simple "press Enter to proceed" warning would be given. In all other cases, there would be an explanation and the user would have to click "install anyway".
Back to top
View user's profile Send private message
anirbansen
MagicJack Newbie


Joined: 11 May 2008
Posts: 5
Location: Alexandria, VA

PostPosted: Wed May 21, 2008 4:04 pm    Post subject: Service not running at logon? Reply with quote

Thanks guys for the earlier post. Had TweakUI installed... had forgotten about existence of that setting. Its my bro's laptop so he prefer autorun ON for his presentations.

Anyway, i just checked... when at the logon screen, you cant make or receive calls with magicJack although you get sort of a beep.
I thought services ran in the background.

BTW, anyone though about modding a magicJack to fit into a laptop by removing the modem and using this as a replacement?
Then a handset connected to the RJ45 would 'receive' a phone signal.
Back to top
View user's profile Send private message
stroths
Dan isn't smart enough to hire me


Joined: 02 Apr 2008
Posts: 470
Location: Dallas, TX

PostPosted: Wed May 21, 2008 7:14 pm    Post subject: Re: Service not running at logon? Reply with quote

anirbansen wrote:
Thanks guys for the earlier post. Had TweakUI installed... had forgotten about existence of that setting. Its my bro's laptop so he prefer autorun ON for his presentations.

Anyway, i just checked... when at the logon screen, you cant make or receive calls with magicJack although you get sort of a beep.
I thought services ran in the background.

BTW, anyone though about modding a magicJack to fit into a laptop by removing the modem and using this as a replacement?
Then a handset connected to the RJ45 would 'receive' a phone signal.


That's something that would be doable if there is enough space inside the laptop's shell. Take a look at how people do EeePC upgrades (here) and it should give you a pretty good idea of how to do it.
Back to top
View user's profile Send private message
semicharm
MagicJack Contributor


Joined: 24 Apr 2008
Posts: 67

PostPosted: Wed May 21, 2008 7:40 pm    Post subject: Re: Service not running at logon? Reply with quote

anirbansen wrote:
Anyway, i just checked... when at the logon screen, you cant make or receive calls with magicJack although you get sort of a beep.
I thought services ran in the background.

The magicjack service is just one of many things that windows is trying to load after it gets to the login prompt, so it may take awhile for magic jack to connect. Since you're using a laptop, it'll probably take twice as long. Very Happy My mom's PC has a dual-core AMD and 1GB of ram and it can still over 30 seconds after getting to the login prompt before it'll get a dial tone.
Back to top
View user's profile Send private message
anirbansen
MagicJack Newbie


Joined: 11 May 2008
Posts: 5
Location: Alexandria, VA

PostPosted: Thu May 22, 2008 1:23 am    Post subject: Re: Service not running at logon? Reply with quote

semicharm wrote:

anirbansen wrote:

Anyway, i just checked... when at the logon screen, you cant make or receive calls with magicJack although you get sort of a beep.
I thought services ran in the background.

The magicjack service is just one of many things that windows is trying to load after it gets to the login prompt, so it may take awhile for magic jack to connect. Since you're using a laptop, it'll probably take twice as long. Very Happy My mom's PC has a dual-core AMD and 1GB of ram and it can still over 30 seconds after getting to the login prompt before it'll get a dial tone.


It takes over a minute for the dial-tone to kick in... I guess my windows has other services to worry about Smile

Has anyone experimented with starting the service by editing the autorun.inf? I was fooling around with it and using net start magicjack with combination of quotes and parametres... still no go. This can prevent the automatic installation, start the service and need only a bat execution to stop magicjack.... wait let me experiment with bat file to start the service.

EDIT: It works! Just inserting magicJack starts the service instead of the installation process. I believe with some batch files, a zip file can be created that will automate the creating service process and allow starting of the service on plugging in of MJ
Back to top
View user's profile Send private message
semicharm
MagicJack Contributor


Joined: 24 Apr 2008
Posts: 67

PostPosted: Thu May 22, 2008 9:30 am    Post subject: Re: Service not running at logon? Reply with quote

anirbansen wrote:
EDIT: It works! Just inserting magicJack starts the service instead of the installation process. I believe with some batch files, a zip file can be created that will automate the creating service process and allow starting of the service on plugging in of MJ

Wink
I've thought about creating an install batch script, but I never got around to it. You can give it a go if you want.
Back to top
View user's profile Send private message
anirbansen
MagicJack Newbie


Joined: 11 May 2008
Posts: 5
Location: Alexandria, VA

PostPosted: Thu May 22, 2008 5:17 pm    Post subject: Batch script Reply with quote

semicharm wrote:

Wink I've thought about creating an install batch script, but I never got around to it. You can give it a go if you want.


I might do that -- but I'm terribly busy till August preparing for my bar exam. This is a good relaxation Smile
Back to top
View user's profile Send private message
jangarella
MagicJack Newbie


Joined: 25 May 2008
Posts: 1

PostPosted: Sun May 25, 2008 11:52 pm    Post subject: Worked perfectly Reply with quote

Thank you. This technique worked perfectly in Vista Business. In fact, I was able to move the entire installation to a location under Program Files and everything worked beautifully.
Back to top
View user's profile Send private message
Thunder
Dan isn't smart enough to hire me


Joined: 27 Apr 2008
Posts: 156
Location: Chicago, IL

PostPosted: Thu May 29, 2008 8:55 pm    Post subject: Reply with quote

Well I was running MJ as a service and worked great for about a week and now it says its started and running but I cant make calls. I was just wondering if the new update had something to do with it. I also tried to set it up again and now I get this. Not even spelled right.

The service was successfuly added!

Make sure that you go into the Control Panel and use
the Services applet to change the Account Name and
Password that this newly installed service will use
for its Security Context.

C:\Documents and Settings\User>
Back to top
View user's profile Send private message
semicharm
MagicJack Contributor


Joined: 24 Apr 2008
Posts: 67

PostPosted: Fri May 30, 2008 1:08 pm    Post subject: Reply with quote

What "new update" are you talking about? It's a bit hard to tell what's happened otherwise.
Back to top
View user's profile Send private message
Thunder
Dan isn't smart enough to hire me


Joined: 27 Apr 2008
Posts: 156
Location: Chicago, IL

PostPosted: Fri May 30, 2008 3:30 pm    Post subject: Reply with quote

Someone mentioned that their was an update on MJ 5/29/08 in the forum. Which I was wondering if this had something to do with this.




Never mind I tried it again for about the fifth time and its working.
Back to top
View user's profile Send private message
semicharm
MagicJack Contributor


Joined: 24 Apr 2008
Posts: 67

PostPosted: Wed Jun 04, 2008 7:03 pm    Post subject: Reply with quote

Well, I'm glad you got it working.

I've recently had to reinstall windows because something not only deleted a system file for my DVD/CD drives (including MJ), but eased my system restore points too. Evil or Very Mad Well, since I had to reinstall the MJ service, I decided to write a batch installer script. I didn't get around to including any error checking, but if it doesn't work, it can be fixed my just reconnecting the MJ box.

Any guinea pigs, uh...I mean testers? Install-MJ-service.zip


Last edited by semicharm on Thu Jun 12, 2008 9:53 am; edited 2 times in total
Back to top
View user's profile Send private message
semicharm
MagicJack Contributor


Joined: 24 Apr 2008
Posts: 67

PostPosted: Mon Jun 09, 2008 2:51 pm    Post subject: Reply with quote

OK, so I had to install their "fix" and had issues using my install script to reinstall the service, but that's been fixed now and the file has been updated.

BTW, any recommendations for a file host?
Back to top
View user's profile Send private message
semicharm
MagicJack Contributor


Joined: 24 Apr 2008
Posts: 67

PostPosted: Thu Jun 12, 2008 10:07 am    Post subject: Reply with quote

Even running as a service the idiot managed to install the update anyway, which really fouled things up, but I managed to figure out where it installed itself, so the installer will check those locations too. I've also added error checking. It'll at least try to log any legitimate errors and report what in the install process completed or failed.
Back to top
View user's profile Send private message
Taken83oveR
Dan isn't smart enough to hire me


Joined: 11 Jun 2008
Posts: 119

PostPosted: Thu Jun 12, 2008 11:30 am    Post subject: Reply with quote

Can you add Vista support to your Bat?

The two folders you would need is
"C:\Users\USERNAME\AppData\Roaming\mjusbsp" (default folder)
"C:\Users\Default\AppData\Roaming" (folder you would move "mjusbp" to)
Back to top
View user's profile Send private message
semicharm
MagicJack Contributor


Joined: 24 Apr 2008
Posts: 67

PostPosted: Thu Jun 12, 2008 2:03 pm    Post subject: Reply with quote

Thanks! Since I don't have a vista machine, could you verify a few things for me? Just run each of these commands from cmd and post what they return.
[font=Courier New:7b2547aedc]for /f "tokens=3" [/font:7b2547aedc][font=Arial:7b2547aedc]%[/font:7b2547aedc][font=Courier New:7b2547aedc]A in ('ver') DO echo winver=[/font:7b2547aedc][font=Arial:7b2547aedc]%[/font:7b2547aedc][font=Courier New:7b2547aedc]A
echo [/font:7b2547aedc][font=Arial:7b2547aedc]%[/font:7b2547aedc][font=Courier New:7b2547aedc]USERPROFILE[/font:7b2547aedc][font=Arial:7b2547aedc]%[/font:7b2547aedc][font=Courier New:7b2547aedc]
echo [/font:7b2547aedc][font=Arial:7b2547aedc]%[/font:7b2547aedc][font=Courier New:7b2547aedc]ALLUSERSPROFILE[/font:7b2547aedc][font=Arial:7b2547aedc]%[/font:7b2547aedc]

BTW, has anyone else had problems with writing post with dos variables? I had to wrap the % signs in a tags or else I would get a blank page that just says "400"! Even a post that just says [font=Arial:7b2547aedc]%[/font:7b2547aedc]t would have to be written as
Code:
[font=Arial]%[/font]t
or some such.
Back to top
View user's profile Send private message
Taken83oveR
Dan isn't smart enough to hire me


Joined: 11 Jun 2008
Posts: 119

PostPosted: Thu Jun 12, 2008 2:25 pm    Post subject: Reply with quote

semicharm wrote:
Thanks! Since I don't have a vista machine, could you verify a few things for me? Just run each of these commands from cmd and post what they return.
[font=Courier New:10d00da2fd]for /f "tokens=3" [/font:10d00da2fd][font=Arial:10d00da2fd]%[/font:10d00da2fd][font=Courier New:10d00da2fd]A in ('ver') DO echo winver=[/font:10d00da2fd][font=Arial:10d00da2fd]%[/font:10d00da2fd][font=Courier New:10d00da2fd]A
echo [/font:10d00da2fd][font=Arial:10d00da2fd]%[/font:10d00da2fd][font=Courier New:10d00da2fd]USERPROFILE[/font:10d00da2fd][font=Arial:10d00da2fd]%[/font:10d00da2fd][font=Courier New:10d00da2fd]
echo [/font:10d00da2fd][font=Arial:10d00da2fd]%[/font:10d00da2fd][font=Courier New:10d00da2fd]ALLUSERSPROFILE[/font:10d00da2fd][font=Arial:10d00da2fd]%[/font:10d00da2fd]

BTW, has anyone else had problems with writing post with dos variables? I had to wrap the % signs in a tags or else I would get a blank page that just says "400"! Even a post that just says [font=Arial:10d00da2fd]%[/font:10d00da2fd]t would have to be written as
Code:
[font=Arial]%[/font]t
or some such.


Here is the info you requested. Hope it helps. And yes, I was getting that same 400 error, so its something on there end.
Back to top
View user's profile Send private message
Stewart
Dan Should Pay Me


Joined: 13 Nov 2007
Posts: 663

PostPosted: Thu Jun 12, 2008 2:42 pm    Post subject: Reply with quote

The servers that host this forum run some security code, which rejects posts that match any patterns from a long, secret list. The idea is that if there were a bug that allowed a portion of a post to somehow be executed on the server (as PHP, perl, shell commands, etc.), this prefilter would be a second line of defense. It may also protect the readers, in case of a bug allowing code to be executed in their browsers. The error given is a simple 'bad request', to minimize processing of potentially hazardous data. The list is kept secret, to make it harder for an attacker to craft his exploit to avoid the filter.

The bottom line is that you will never know what you can or cannot post. It sucks, but is probably a good idea in these times.
Back to top
View user's profile Send private message
semicharm
MagicJack Contributor


Joined: 24 Apr 2008
Posts: 67

PostPosted: Thu Jun 12, 2008 3:38 pm    Post subject: Reply with quote

Thanks, but those didn't work quite as I expected, so I started reading about about this. So, if I've got this right, the XP - Vista equivalent is

[font=Courier New:1c5ab21586]C:\Documents and Settings\Default User\Application Data[/font:1c5ab21586] = [font=Courier New:1c5ab21586]C:\Users\Default\AppData\Roaming[/font:1c5ab21586]?

I'm not sure default would be the right folder.

BTW, does anyone know the best way to detect the windows version from at batch file?

As for the whole "%" thing, I know that it's a special character in PHP, maybe some others, but wouldn't it have been far more sensible to just convert it to the HTML code "%" These is absolutely no ambiguity there! Actually I just found out that the form code DOES allow the numerical HTML codes, so % would be displayed as %! Rolling Eyes
Back to top
View user's profile Send private message
gcmartin
MagicJack Newbie


Joined: 11 Jun 2008
Posts: 1

PostPosted: Fri Jun 13, 2008 9:57 pm    Post subject: Add MagicJack as a service to ANY system Reply with quote

I saw your offer for testing your installation app. I am willing to help. I can help you write a manual for your application.

My email call number is 202/280-7362. I don't want to include an email here (too many quacks!)

I believe your app is going to make MJ a tool that can be used on XP/2003/Vis/2008. Your work is excellent, useful, and far-reaching to all of us.

Let me know what feedback you need.
Thanks
Back to top
View user's profile Send private message Send e-mail
norml jack
Dan isn't smart enough to hire me


Joined: 07 Jan 2008
Posts: 115
Location: Humboldt County, Ca.

PostPosted: Sat Jun 14, 2008 1:46 am    Post subject: Re: Add MagicJack as a service to ANY system Reply with quote

gcmartin wrote:
I saw your offer for testing your installation app. I am willing to help. I can help you write a manual for your application.

My email call number is 202/280-7362. I don't want to include an email here (too many quacks!)

I believe your app is going to make MJ a tool that can be used on XP/2003/Vis/2008. Your work is excellent, useful, and far-reaching to all of us.

Let me know what feedback you need.
Thanks


Thanks for your interest, but the preliminary manual set is already in print and the first series of courses in the certification track are beginning next week in Boston, Dallas, and San Diego.
Back to top
View user's profile Send private message Visit poster's website
semicharm
MagicJack Contributor


Joined: 24 Apr 2008
Posts: 67

PostPosted: Sat Jun 14, 2008 5:34 am    Post subject: Reply with quote

Thanks, but it's not really so much an "app" as it's just a script and it's meant to be as autonomous as possible, so I'm not sure how much of a manual would be necessary. I would however like to get it to work properly on as many versions of Windows as MJ, but I only have XP machines to test it on. Once I can get it to properly detect the various versions of Windows, I'll need to know where they store the profile settings. Any assistance you could provide would be appreciated.
Back to top
View user's profile Send private message
Taken83oveR
Dan isn't smart enough to hire me


Joined: 11 Jun 2008
Posts: 119

PostPosted: Sat Jun 14, 2008 5:18 pm    Post subject: Reply with quote

I am just curious, as to what happens when there is a upgrade available for magicjack? Will it upgrade without a hitch and continue running as a service? or will have to move the folder again, and remove the startup entry (I am guessing this is all that would need to be done, as the other steps shouldn't need repeated)?
Back to top
View user's profile Send private message
semicharm
MagicJack Contributor


Joined: 24 Apr 2008
Posts: 67

PostPosted: Sat Jun 14, 2008 9:34 pm    Post subject: Reply with quote

I've been putting off installing the upgrade because I haven't had the time lately to do any troubleshooting. The last time that I tried to let it update, it ended up installing itself into one of the service account folders, though I don't recall which one, so yes, the folder would have to be moved and the startup entry removed. I've been thinking about maybe having the installer just move it there in the first place, making any future moves unnecessary.

I've also been experimenting with finding a way to handle the various windows versions, and so far the best I've found is to just read the values directly from the registry, as the key names should be standardized and that's where the settings are stored anyway. I've also been looking at how to install the service under another user without actually having to login into it, since some rightfully feel that would be more secure. I haven't actually tried it yet, but it should just be something like:

taskkill /im magicJack.exe
net user MagicJack password /ADD
move /y "[current user application data folder]/mjusbsp" "[MagicJack user application data folder]"
cacls "[MagicJack user folder]" /T /P SYSTEM:F Administrators:F MJ:F
instsrv.exe MagicJack "[MagicJack user application data folder]/mjusbsp/srvany.exe" -a MagicJack -p password
reg add HKLM\SYSTEM\CurrentControlSet\Services\MagicJack\Parameters /v Application /d "[MagicJack user application data folder]/mjusbsp/magicjack.exe" /scf _magicJackPersonalDataRoot "[MagicJack "PHONE" drive]\magicJack" /f
reg delete HKCU\Software\Microsoft\Windows\CurrentVersion\Run /v cdloader /f
net start MagicJack

The values in italics would be variables, but the only one that the user would have to supply is password. All others should be able to be determined through other means.
Back to top
View user's profile Send private message
[email protected]
MagicJack Newbie


Joined: 10 Jun 2008
Posts: 7

PostPosted: Fri Jun 20, 2008 7:59 pm    Post subject: So where do we stand on this Reply with quote

What are the correct procedure for performing this under windows xp pro

I see them in the beginning but they go back and forth in the forum so whats the real truth for running it as a service?
Back to top
View user's profile Send private message
[email protected]
MagicJack Newbie


Joined: 10 Jun 2008
Posts: 7

PostPosted: Sun Jun 22, 2008 11:13 am    Post subject: does no longer work Reply with quote

This will not work anymore, it starts but calls cannot be placed something new must of been in the updates.
Back to top
View user's profile Send private message
georgiejr
magicJack Apprentice


Joined: 08 Jun 2008
Posts: 13
Location: Las Vegas

PostPosted: Sun Jun 22, 2008 12:04 pm    Post subject: Reply with quote

I followed the instructions and it runs as a service in my regular login. when I go into guest, magicjack.exe is not in one of the processes.

any help would be much appreciated
Back to top
View user's profile Send private message
semicharm
MagicJack Contributor


Joined: 24 Apr 2008
Posts: 67

PostPosted: Sun Jun 22, 2008 1:32 pm    Post subject: Reply with quote

Sorry for not getting back to you guys sooner, but I've been busy. First, you didn't mention which version of windows you're using. I'll need more details before I could be of any assistance.

Also, georgiejr, it sounds like MJ isn't even running under the service because something else is starting under your user.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    magicJack and magicJack Plus Support, Reviews, FAQs and Hacks Forum Index -> magicJack Tips, Tricks, and Hacks All times are GMT - 4 Hours
Goto page 1, 2, 3, 4, 5  Next
Page 1 of 5

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB Turbo Extended Edition © 2010, phpBB Group