cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Sayonara_SA
Engaged Sweeper
Hi

I get different errors from different machines
I scanned 183 Laptops and only 31 looks fine
Please help me to correct this

Regerror The network path was not found. SNJHBCASSIMG (10.11.5.92) 2008/02/22 09:00:54 AM

Wmierror Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) CPTWSBEVERLEYW (10.21.5.22) 2008/02/22 08:49:04 AM

Pingerror Ping failed to SNJHBNBBRIANH (10.11.6.23) 2008/02/22 09:08:29 AM

i've been searching and batteling through these forums but i still cannot fix my problem.
PS I've added this to my logon. bat
netsh firewall set service remoteadmin enable
\\10.11.1.1\netlogon\lsclient.exe 10.11.1.50
26 REPLIES 26
Hemoco
Lansweeper Alumni
go to the server, run regedit.exe, click file/connect network registry
Sayonara_SA
Engaged Sweeper
Please explain a bit .... i really don't know what you want me to do
Hemoco
Lansweeper Alumni
if you open regedit from the server,a re you able to connect to 10.21.5.21 from this program?
Sayonara_SA
Engaged Sweeper
Thanks alot for all the help :d/
I WILL defenatelty become a premium member if i can get this thing to work. Company don't want to spend money unless i can prove this is working.

It looks like the problem is solved. I will give it some time so users can log on.

So at the moment my logon script looks like this

netsh firewall set service remoteadmin enable
netsh.exe firewall set service remoteadmin enable subnet
netsh.exe firewall set allowedprogram c:\windows\system32\wbem\unsecapp.exe wmicallbacks enable
\\10.11.1.1\netlogon\lsclient.exe 10.11.1.50

Can we start working on this error please ?
Regerror The network path was not found. CPTLPGIBSON (10.21.5.21) 2008/02/25 08:26:49 AM
What would be the reason for this ?


clmowers
Engaged Sweeper
Start regedit
Look for this key
HKEY_Local_Machine\SOFTWARE\Microsoft\ole
Stringvalue = EnableDCOM
Data = Y

If this key is not there then you need to add it. Depending on how you your scripts, this might very. but a vbscript would look something like this


const HKEY_LOCAL_MACHINE = &H80000002
strComputer = "."
Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" &_
strComputer & "\root\default:StdRegProv")
strKeyPath ="SOFTWARE\Microsoft\ole"
strValueName ="EnableDCOM"
strValue = "Y"
oReg.SetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,strValue

copy this text into lets say dcom.vbs. Run it on the remote pc and it will add or change the value to Y. if you are using kixtart on your server you can do something like this and add it to your kix files

$ReturnCode = readvalue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ole", "EnableDCOM")
If $RETURNCODE="Y"
GOTO "lansweeper"
Else
shell 'wscript.exe %logonserver%\netlogon\dcom.vbs'
endif


the goto "lansweeper" will very depending on how your logon script is setup

But what this will do is when the use logs on with kixtart (local or netlogon) it will run the script if it finds that key it will skip over the vbs script if it doesnt find the key it will then run the vbs script on the computer
Sayonara_SA
Engaged Sweeper
any other help / advice ?
do you want me to change the lansweeper client checking all the machines to the adminitrator ?
i really don't know how to resolve these WMI errors
Sayonara_SA
Engaged Sweeper
C:\Documents and Settings\Administrator.SNVSP>ping -a 10.11.5.137

Pinging snjhbutils.snvsp.local [10.11.5.137] with 32 bytes of data:

Reply from 10.11.5.137: bytes=32 time<1ms TTL=128
Reply from 10.11.5.137: bytes=32 time<1ms TTL=128
Reply from 10.11.5.137: bytes=32 time<1ms TTL=128
Reply from 10.11.5.137: bytes=32 time<1ms TTL=128

Ping statistics for 10.11.5.137:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
Hemoco
Lansweeper Alumni
Verify that "ping -a 10.11.5.137" resolves to SNJHBUTILS.
Sayonara_SA
Engaged Sweeper
So here's where i'm at the moment

I found an old pc in the store room and ran the lsclient on it and got this error
Wmierror The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE)) SNJHBUTILS (10.11.5.137) 2008/02/25 03:57:29 PM
Then i ran the netsh firewall service set remoteadmin enable
ran the script as above and restested .... still not working
did the following just to make sure everything is fine
Lansweeper connection tester
Ping test OK
-----------------------------------------------
Remote registry test OK
-----------------------------------------------
Remote WMI access test OK
-----------------------------------------------
Remote \\snjhbutils\c$ access test OK

Then

1. Control Panel
2. Administrative Tools
3. Computer Management
4. Services & Applications
5. WMI Control
6. Right Click WMI control > properties
7. Security tab
8 Select button at the bottom (Verify "Administrators" group is allowed permision)
9. "Administrators" Group is in the list.

Then

and CMD typed dcomcnfg.exe

1. Component Services
2. Computers
3. Right Click my computer
4. Properties
5. Default properties
6. "Enable distributed COM on this computer" was checked
7. Default authentication level: "Connect"
8. Default Impersonation Level: "Identify"
9. Click on COM security tab
10. Edit Limits under "Launch and activate Permissions"
11. Remote Launch and Activation permissions are enabled for the administrators group in fact everything is ticked

checked AD Lsscanner are part of Administrators, Domain admins, and domain users.

I still have this error
Wmierror The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE)) SNJHBUTILS (10.11.5.137) 2008/02/25 03:57:29 PM

please help

Sayonara_SA
Engaged Sweeper
will this work in a logon script?
will this be the same as what you wanted me to do on the client's machine's dcom settings ?

reg add HKLM\SOFTWARE\Microsoft\Ole /v EnableDCOM /t REG_SZ /d "Y" /f
reg add HKLM\SOFTWARE\Microsoft\Ole /v LegacyAuthenticationLevel /t REG_DWORD /d "2" /f
reg add HKLM\SOFTWARE\Microsoft\Ole /v LegacyImpersonationLevel /t REG_DWORD /d "3" /f