myITforum.com Community Forum myITforum.com Community Forum

Home  Forums  Blogs  Live Support chat  Search Articles  Wiki  FAQ  Email Lists  Register  Login  My Profile  Inbox  Address Book  My Subscription  My Forums 

Photo Gallery  Member List  Search  Calendars  FAQ  Ticket List  Log Out

All Forums RSS Feed Subscription:


           



Is there a way to Initiate an SMSWakeUp packet from administrators PC

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
  Printable Version
All Forums >> [Vendor Forums] >> 1E Products >> Is there a way to Initiate an SMSWakeUp packet from administrators PC Page: [1]
Login
Message << Older Topic   Newer Topic >>
Is there a way to Initiate an SMSWakeUp packet from adm... - 3/31/2008 3:56:59 AM   
kev147

 

Posts: 138
Score: 2
Joined: 1/28/2007
Status: offline
Hi there,

We have just had SMSWakeUp and NightWatchman installed and we have a query.

We know that you can launch the ConfigMgr console on the primary server and send an SMSWakeUp packet, by right clicking the resource and selecting 1E Wakeup > Send Wakeup.

What we was wondering was, is there a way to get this function to peole that just have the ConfigMgr console installed on their local machines (Not having to RDP to primary)?
Post #: 1
RE: Is there a way to Initiate an SMSWakeUp packet from... - 3/31/2008 4:23:27 AM   
pfreestun

 

Posts: 22
Score: 0
Joined: 5/9/2006
Status: offline
In order to install the 1EWakeUp snapin onto an admin workstation you should manually run the SMSWakeUp50.msi and choose a custom installation.

Choose to install the User Interface only, making sure that you do not select to install the service.

You don't need to install anything else and once the install is complete the SMSWakeUp Console will appear under Tools as you would see in a default server install.


(in reply to kev147)
Post #: 2
RE: Is there a way to Initiate an SMSWakeUp packet from... - 3/31/2008 6:24:18 AM   
kev147

 

Posts: 138
Score: 2
Joined: 1/28/2007
Status: offline
I don't see an option to install the service, the only other option I see is Diagnostics. Is it the diagnstics option that installs the service? I don't want to continue until I know for sure that selecting just the user interface option does not install the service.

(in reply to pfreestun)
Post #: 3
RE: Is there a way to Initiate an SMSWakeUp packet from... - 3/31/2008 8:23:53 AM   
pfreestun

 

Posts: 22
Score: 0
Joined: 5/9/2006
Status: offline
Kudos to the Dev team - the installer has been improved and the option to install the service has been removed. Please just choose the User Interface option for your install.

(in reply to kev147)
Post #: 4
RE: Is there a way to Initiate an SMSWakeUp packet from... - 3/31/2008 10:46:00 AM   
kev147

 

Posts: 138
Score: 2
Joined: 1/28/2007
Status: offline
Thanks for the assistance so far. I have just managed to get this to work, but I had to add him to the local administrators group on the primary server. Surely this can be executed from an account with a less powerful account.

Is there a document for which permissions are required just for the feature to send the smswakeup packet.

What we are wanting to is is release a customised ConfigMgr console to our 1st line support team so that they have the ability to deploy software, patches and initiate a WOL packet all from the console, rather than all of them having to RDP onto the primary server.

I just need assistance with setting this up in the most secure manner.

(in reply to pfreestun)
Post #: 5
RE: Is there a way to Initiate an SMSWakeUp packet from... - 4/1/2008 1:43:20 AM   
pfreestun

 

Posts: 22
Score: 0
Joined: 5/9/2006
Status: offline
He needs no special SMS permissions, as long as he can see his PC in the SMS Console.
The reason for this is that we use WMI to "connect" back into SMS and the WMI Provider is using LocalSystem.

So what you actually have to do is set the WMI permissions.
----------------------------------------------------------------------------------
Open the WMI Manager. (wmimgmt.msc)
Browse to in the security tab to the SMSWAK namespace.
And give the user/group these security rights:
"Execute Methods" & "Remote Enable"

AND IF USERS CONNECT FROM REMOTE WORKSTATIONS:

THIS (recommended, needs W2K3 Sp1):

Open the local user and groups console (lusrmgr.msc)
In the Groups there is a "Distributed COM Users", you have to put the users as members into this one.

OR THIS:
Open DCOMCNFG.exe then expand Component Services, right click on “My Computer”
Open “COM Security” and click on “Edit Limits”. The Default is that Local Administrators and D-COM Users have the needed Remote Activation and Remote Launch permissions.
Obviously your best practice should be to create a local group and add the members in there, then add this group to either "Distributed COM Users"  or directly in COM Security

(in reply to kev147)
Post #: 6
RE: Is there a way to Initiate an SMSWakeUp packet from... - 4/2/2008 6:55:53 AM   
rlauder


Posts: 65
Score: 0
Joined: 11/27/2002
From: London, England
Status: offline
Hi Kevin. Phil has beaten me to the answer you need (and given a far more comprehensive answer at that). I pointed out this omission in the documentation to 1E last year (along with several others) but unfortunately they don't seem to update their documentation as often as the code itself...

You may also be interested to know that you can wakeup a machine using a command line option with SMSWakeup. i.e.
"C:\Program Files\1E\SMSWakeUp50\SMSWakeup.exe" -wakename={ComputerName}

(in reply to pfreestun)
Post #: 7
RE: Is there a way to Initiate an SMSWakeUp packet from... - 4/2/2008 7:32:21 AM   
pfreestun

 

Posts: 22
Score: 0
Joined: 5/9/2006
Status: offline
Or even, for the sake of completion:-

"C:\Program Files\1E\SMSWakeUp50\SMSWakeup.exe" -wakecoll={CollectionName}

to wake a collection.

(in reply to rlauder)
Post #: 8
RE: Is there a way to Initiate an SMSWakeUp packet from... - 4/2/2008 7:35:09 AM   
pfreestun

 

Posts: 22
Score: 0
Joined: 5/9/2006
Status: offline
Oops - I did of course mean:-

"C:\Program Files\1E\SMSWakeUp50\SMSWakeup.exe" -wakecoll={CollectionID}

(in reply to pfreestun)
Post #: 9
RE: Is there a way to Initiate an SMSWakeUp packet from... - 4/2/2008 8:39:00 PM   
pfreestun

 

Posts: 22
Score: 0
Joined: 5/9/2006
Status: offline
Rod, et al, you will be pleased to hear that the information around WMI and DCOM permissions required to enable non-admin users to perform wakeups has been added to the 1E WakeUp documentation due to be released with the 5.2 maintenance release in the very near future. 
 
Subscribe to the 1E RSS feeds to get early notification of product release.

(in reply to pfreestun)
Post #: 10
RE: Is there a way to Initiate an SMSWakeUp packet from... - 4/7/2008 4:53:34 AM   
kev147

 

Posts: 138
Score: 2
Joined: 1/28/2007
Status: offline
Many thanks guys for the information. I will subscribe to the 1E RSS Feed. I think I will just recommend that we use the command line method until this documentation has been released. Are any special permissions required for the command line method?

(in reply to pfreestun)
Post #: 11
RE: Is there a way to Initiate an SMSWakeUp packet from... - 4/10/2008 7:19:52 AM   
kev147

 

Posts: 138
Score: 2
Joined: 1/28/2007
Status: offline
I have just tried to use the command line method to wakeup a remote machine, but the machine only has the SMSWakeup Agent installed, ie SMSWUAgent.exe and not SMSWakeup.exe (which I believe is only installed on the Primary ConfigMgr server).

Is there a way to remotely wakup a remote machine using the SMSWUAgent.exe or a VBScript?

(in reply to kev147)
Post #: 12
RE: Is there a way to Initiate an SMSWakeUp packet from... - 4/10/2008 7:45:27 AM   
pfreestun

 

Posts: 22
Score: 0
Joined: 5/9/2006
Status: offline
No - the agent service is controlled by the Master service that queries the SMS/CM database to get machine subnet, MAC details for the machine/collection to be woken which it then passes on to the appropriate Agent/s to send out the Magic Packets.


(in reply to kev147)
Post #: 13
RE: Is there a way to Initiate an SMSWakeUp packet from... - 4/10/2008 9:45:59 AM   
kev147

 

Posts: 138
Score: 2
Joined: 1/28/2007
Status: offline
So the command line option isn't really much use to me in the scenario I described? That's ok, I will just have to wait for the document to be released as part of version 5.2.

(in reply to pfreestun)
Post #: 14
RE: Is there a way to Initiate an SMSWakeUp packet from... - 4/15/2008 4:34:24 AM   
atodd

 

Posts: 16
Score: 0
Joined: 5/9/2006
Status: offline
Hi, I have developed a application that will do this via WMI and the SMSWAK namespace, the application can be run from any device in the domain. Not sure if it is a supported method but it works very well, let me know if you are interested in finding out more information.

Regards

Adrian

(in reply to kev147)
Post #: 15
RE: Is there a way to Initiate an SMSWakeUp packet from... - 4/15/2008 7:03:22 AM   
kev147

 

Posts: 138
Score: 2
Joined: 1/28/2007
Status: offline
PM sent to atood, declaring interest in custom app.

(in reply to atodd)
Post #: 16
Page:   [1]
All Forums >> [Vendor Forums] >> 1E Products >> Is there a way to Initiate an SMSWakeUp packet from administrators PC Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.250