sf2 Posted June 22, 2009 Posted June 22, 2009 Update on my post. I intentionally left the Windows firewall on when testing. It has the typical exceptions turned on for a domain. (File & print, remote desktop, remote assistance & incoming echo). If I drop the firewall and tell Skeep to deploy VNC it does it in a few seconds. So that seems to indicate that additional ports need to be opened on the Windows firewall. Any one have any idea what ports are used? Thanks
FatBoy Posted June 23, 2009 Author Posted June 23, 2009 Update on my post. I intentionally left the Windows firewall on when testing. It has the typical exceptions turned on for a domain. (File & print, remote desktop, remote assistance & incoming echo). If I drop the firewall and tell Skeep to deploy VNC it does it in a few seconds. So that seems to indicate that additional ports need to be opened on the Windows firewall. Any one have any idea what ports are used? Thanks Hi sf2, I work with skeep and on our domain we have firewalls turned off on clients on the LAN so this has never been a problem. I'll try and find out for you and get back to you. Hi Skeep, welcome to the forums. Looks like a great Application, i have installed it on my Windows7 laptop, everything seem's to have installed ok except when you launch the app you get the error attached. I will deploy it to a stack of machines tomorrow at work, and let you know how i get on. if it does work i'll give it some good testing and give you some feedback. Many Thanks James. Hi James, By the looks of your post have you installed this at home? When your machine is not connected to the domain? "I will deploy it to a stack of machines tomorrow at work, and let you know how i get on." I think the app looks for the domain DC when started to gather all the machine names, I would say that once you are plugged into the domain and the app can find your DC it should open fine. We haven't used the application at all when not connected to the domain so have no experience of what it would do off of it. Try it when connect to the domain and let us know (Also I assume the laptop is on the domain, yes?)
FatBoy Posted June 23, 2009 Author Posted June 23, 2009 Update on my post. I intentionally left the Windows firewall on when testing. It has the typical exceptions turned on for a domain. (File & print, remote desktop, remote assistance & incoming echo). If I drop the firewall and tell Skeep to deploy VNC it does it in a few seconds. So that seems to indicate that additional ports need to be opened on the Windows firewall. Any one have any idea what ports are used? Thanks I have found out that the files are just pushed to the machines via C$ share and then connects to the WMI of the machine to install the service, hope that helps
sf2 Posted June 23, 2009 Posted June 23, 2009 (edited) I have found out that the files are just pushed to the machines via C$ share and then connects to the WMI of the machine to install the service, hope that helps Thanks, What I forgot was that a remote admin firewall exception doesn't get set on the client when it joins the domain. Skeep could see C$ but couldn't connect to WMI. I added that exception in the domain policy and Skeep was able to install. Edited June 23, 2009 by sf2
JamesG Posted December 13, 2010 Posted December 13, 2010 We have just installed Skeep and it seems to be working perfectly however we are missing some information from the main window. We have the list of our Computer Names which display fine so we can deploy VNC and view etc but the Username, IP addess and MAC address dont appear up. Also the small icon doesnt show if the PC is online or not. (always shows logged off) Is there something we must do to make these appear up? We installed the server parts directly onto our machines
FatBoy Posted December 14, 2010 Author Posted December 14, 2010 In the folder that the program installed to there should be a folder called scripts (On mine C:\Program Files (x86)\Skeep\Skeep VNC Console\scripts) you need to apply the scripts to run on a OU that the machines are in on logoff and logon via a GP, can't remember what you do with the ADschema script file tho :s As far as I know it works fine on Win XP machines not sure about Win 7/Vista
JamesG Posted January 13, 2011 Posted January 13, 2011 I have installed Skeep 1.4 and im having some problems. I can connect to any machine on our network fine without any problems however i cant control the PC at all. I have the same settings on my machine as my work colleagues so i cant seem to understand why mine doesnt work. i have tried reinstalling Skeep and thats still doesnt fix the issue. Is there anything in Services i need to enable?
sted Posted January 13, 2011 Posted January 13, 2011 in the settings for skeep go to input/file trtansfer and remove the tick from the top box under input disable viewers input that should then work 1
ubermedina Posted May 8, 2012 Posted May 8, 2012 Here is what I am getting. Line: 305 Error: Object doesn't support this property or method: 'objComp.ipHostNumber' Any ideas???
fairm010 Posted September 18, 2012 Posted September 18, 2012 Amazing little bit of software, thanks guys!
TomClay Posted February 11, 2013 Posted February 11, 2013 Skeep looks like it might be the answer i have been searching for, however I cant seem to get the IP address and MAC address to send back information. The grey lines disappear as though it has filled in information but the fields remain blank. Image = Any ideas? I haven't changed any of the scripts?
FatBoy Posted February 11, 2013 Author Posted February 11, 2013 Hi Tom have you put the skeeplogoff and skeeplogon.vbs located in the C:\Program Files (x86)\Skeep\Skeep VNC Console\scripts folder on a policy in AD so the login script runs each time someone logs on and the same for logoff? Thanks FB
TomClay Posted February 11, 2013 Posted February 11, 2013 Thanks for the speedy reply. Yes I should have specified, I have them set as login and logout scripts for users. The usernames update and so does the logged in/out icon. Just the IP and MAC remains blank. Thanks, T
FatBoy Posted February 13, 2013 Author Posted February 13, 2013 hmm I'm not 100% sure then as the scripts inputs all that information into AD and if its getting the usernames etc but not the IPs the script is defo running but not completing. Have you run the script locally and then looking in ADSI edit for the machine you have just run it on and found the variables below? As skeep doesn't use a database its writes everything to AD, under the ipHostNumber for example if you open ADSI edit you should see the computers IP address in this field and this is where the console gets its information from objComp.employeeNumber = strUserName 'Last Logged on User objComp.employeeID = boolLoggedOn 'loggedOn objComp.ipHostNumber = IP 'IP Address objComp.networkAddress = MAC 'MAC address objComp.serialNumber Thanks Duncan 1
TomClay Posted February 13, 2013 Posted February 13, 2013 It updates employeeID and employeeNumber with no issue. That is definitely working. However networkAddress and ipHostNumber are showing . I cant figure out a way to diagnose the VB, is there a way I can watch its progress of the script or convert it into a bat or powerscript file? Thanks Duncan,
FatBoy Posted February 13, 2013 Author Posted February 13, 2013 Hi Tom, Sorry I know bits about how the programs work because I know the guy that created the program but he doesn't really support it anymore and I'm not a vbs expert at all. Can you just output the variables to screen editing he vbs file? Is it something to do with admin rights maybe? Although I wouldn't of thought so because the username is working....
TomClay Posted February 13, 2013 Posted February 13, 2013 Hazzar! I have made it work! The logon Scrip wasn't pulling all the information from the local machines, only the username. Not sure if this isnt because of windows 7 over xp or what... So, by a bit of look up how to pull the information differently, and some "Script Stitching" I sewed this beautiful tapestry: The skeeplogon.vbs Script Now: on error resume next Dim strUserName, IP, MAC, Serial, boolLoggedOn 'local computer strComputer = "." ' Constants required for name translate Const ADS_NAME_INITTYPE_GC = 3 Const ADS_NAME_TYPE_NT4 = 3 Const ADS_NAME_TYPE_1779 = 1 'Get the NETBIOS name of the domain Set objSystemInfo = CreateObject("ADSystemInfo") strDomain = objSystemInfo.DomainShortName ' Get the name of the computer set objNetwork = createobject("Wscript.Network") strComputer = objNetwork.ComputerName ' Call function to return the distinguished name (DN) of the computer strComputerDN = getComputerDN(strComputer,strDomain) Set objComp=GetObject("LDAP://" & strComputerDN) GETDETAILS objComp.employeeNumber = strUserName 'Last Logged on User objComp.employeeID = boolLoggedOn 'loggedOn objComp.ipHostNumber = IP 'IP Address objComp.networkAddress = MAC 'MAC address objComp.serialNumber = Serial 'Serial objComp.SetInfo function getComputerDN(byval strComputer,byval strDomain) Set objTrans = CreateObject("NameTranslate") ' Initialize name translate using global catalog objTrans.Init ADS_NAME_INITTYPE_GC, "" ' Input computer name (NT Format) objTrans.Set ADS_NAME_TYPE_NT4, strDomain & "\" & strComputer & "$" ' Get Distinguished Name. getComputerDN = objTrans.Get(ADS_NAME_TYPE_1779) end function '*************************GET COMPUTER INFO************************* function GETDETAILS Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colSMBIOS = objWMIService.ExecQuery ("SELECT * FROM Win32_SystemEnclosure") For Each objSMBIOS in colSMBIOS 'Get Serial Serial = objSMBIOS.SerialNumber Next Set objNet = CreateObject("WScript.NetWork") 'Get Current Username strUserName = objNet.UserName 'Currently Logged on boolLoggedOn = 1 wmiQuery = "Select * from Win32_NetworkAdapterConfiguration " & "Where IPEnabled = 'True'" Set objWMIService = GetObject("winmgmts:\\.\root\cimv2") Set colItems = objWMIService.ExecQuery(wmiQuery) For Each objItem In colItems For Each IPAddr In objItem.IPAddress If IPAddr <> "0.0.0.0" Then MAC = objItem.MACAddress IP = "" For j = 0 To UBound(objItem.IPAddress) If (sIPAddress = "") Then IP = objItem.IPAddress(0) End If Next End If Next Next End Function <<<<<<<< SCRIPT ENDED Thanks very much Duncan for your assistance. Please pass the back to your friend, you never know he may have use for it. But be sure to tell him where it came from! 1
FatBoy Posted February 14, 2013 Author Posted February 14, 2013 Spot on Tom thanks for posting the modified code I'm sure it will help someone in the future nice one
qUoTuM Posted February 28, 2013 Posted February 28, 2013 I just discovered Skeep but I have some issues with it.. I know that I have to add the logon and logoff script to the user on the domain through a group policy, but what I have to do with the ADScheme script? The console doesn’t displays Username/IP-Adress/Mac-Adress when I search for a user, neither it does display the users in the drop-down menu on the left side. Someone can help?
FatBoy Posted February 28, 2013 Author Posted February 28, 2013 Hi qUoTum, Firstly it doesn't display users on the left OU unit structure just machines (I don't use this bit anyway just the search feature). Secondly its been such a long time since I set it up I can't remember what the ADScheme.vbs does I'll try and find out, lastly could the Username/IP-Adress/Mac-Adress not showing be the same problem as Tom above have you tried his modified script? Thanks Duncan
qUoTuM Posted February 28, 2013 Posted February 28, 2013 Thanks for help so far Yes i tried the modified script, but sadly it doesn't work I will just try something more, good luck for figuring out what to do with the ADScheme.vbs !
TomClay Posted February 28, 2013 Posted February 28, 2013 (edited) Hello qUoTum, Im not certain what the ADScheme.vbs does but if I was to hazard a guess, I would say it is run by the program to build the AD Structure in the left hand panel. As Duncan has said, you need to browse to your Computers OU not Users. The users OU will contain only more empty OU's (if you have created them) which is obviously no good to you. If you are to browse to your computers OU you should see the computers on the right hand side when you get to the bottom level. Or the alternative is to search for the computer name. The login script shouldnt stop you deploying VNC and using VNC. (if you are Deploying don't forget to set it up first in the Skeep options) As for the Users, IP and MAC not showing: Firstly check to see if the information is being entered into ADSI Edit. To check logon to an AD Server run adsiedit.msc then expand the OU's down to a computer you know the information of IE Domain.Internal\Establishments\Domain\Computers\Admin\Computer1. Right click on the Computer Folder and look at the properties. Check if ipHostNumber, NetworkAddress and/or employeeNumber has a value and if any of them do, then are the values correct? If they do have the correct values then your login script is working and the issue might be with your Skeep program. If there is no values in ADSI Edit, manually enter the IP address of the machine (be sure you are correct) then refresh Skeep. If the IP changes and shows correctly then you can be sure there is not an issue with Skeep reading ADSI and you are back to the issue with the login script. I have already made a new version of the login script because I was having issues on server 2008 R2. The version I created using slightly different variables to get the same information. I hope this is helpful information. Edited February 28, 2013 by TomClay
qUoTuM Posted February 28, 2013 Posted February 28, 2013 (edited) So.. I checked if the information was entered into ADSI after the user logged in. The information is not there. Then I entered the Mac-Adress manually (the value for IP was not there?) and refreshed Skeep - still no information there. It seems like the script doesn't work neither does Skeep? Any ideas? Or.. would the script you made help me maybe? Edited February 28, 2013 by qUoTuM
TomClay Posted February 28, 2013 Posted February 28, 2013 Sounds like you have a few more issues than I had. Does the information update in ADSI Edit when you run the script manually, as posed to having it run via logon script? If we go back to the beginning. 1. You Installed skeep as administator on 1 machine. 2. You copy the logon and logoff scripts into your NETLOGON share. 3. You add the logo and logoff scripts to run for every user via GPO or at start up or however you choose. >This updates ADSI >Skeep Reads ADSI as the user you are logged in as so you need to be an administrator 4. Open Skeep and the info should all be present and correct So thinking systematically, Try running the script manually and seeing if it updates the 3 areas of ADSI Edit (ipHostNumber, NetworkAddress and employeeNumber) If all 3 are not being updated by the Logon script, that is the first hurdle. You should also try my version of the script. Check event log while running the script to see for errors of the script not be able to run. Once the script is all sorted and ADSI is being updated, Skeep should show exactly what is in ADSI. You do have to refresh Skeep Manually, it is not live, and I also noticed that staying in ADSI while using Skeep can something not show the information (like ADSI stops access while its in use). If it doesnt then are you logged in as an admin? This is a copy of my logon and logoff script and a script which I used to see if I was getting the correct information from the computer to send to ADSI. Skeep.zip Tom. 1
qUoTuM Posted February 28, 2013 Posted February 28, 2013 (edited) After i ran the script manually, I get this error while refreshing Skeep. As I said in my post before there is no value "ipHostNumber" in the ADSI. So I have to extend the ADScheme for ipHostNumber? Edited February 28, 2013 by qUoTuM
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now