• Welcome to Tux Reports: Where Penguins Fly. We hope you find the topics varied, interesting, and worthy of your time. Please become a member and join in the discussions.

Application Hang when Domain is not present

M

meetamul

Flightless Bird
Hello,


I have 25 laptops part of my domain. Here is an issue that laptops
are experiencing:


As long as they are connected to the network in the office,
everything (anything in START menu) works marvelous and without any
issues.


When the laptop is off site and as long as they are not connected to
any LAN or WiFi network, everything (anything in START menu) works
without any problem.


However, as soon as a laptop is off site and connected to WiFi or
LAN, and if START menu is launched or any Office applications on the
desktop are launched everything freezes. It takes about a minute or
two for things to start working again.


I have looked in Event Viewer >> Application and the following three
errors are present:


Event ID 1000, Could not execute the following script \\Domain-

Name\sysvol\Domain-Name\scripts\hidedocs.vbs. The network location
cannot be reached.


Event ID 1000, Could not execute the following script \\Domain-

Name\sysvol\Domain-Name\scripts\logon.vbs. The network location
cannot be reached.


Event ID 1054, Windows cannot obtain the domain controller name

for your computer network. (The specific domain either does not
exist or could not be contacted) Group Policy processing aborted.


It is clear that the machine is trying to contact the domain and
execute scripts. I have looked up these Event IDs on Microsoft's
website and none of the solutions they have provided has helped so
far.


Is there anyway (possibly in GPO settings) that a setting can be
activated or deactivated to make the laptop realize that it is off
site, so the applications don't hang when connected to a network
other than domain in the office?


Is there any other solution for this issue that anyone may be able to
suggest?


Any help would be appreciated.
 
V

VanguardLH

Flightless Bird
meetamul wrote:

> Hello,
>
> I have 25 laptops part of my domain. Here is an issue that laptops
> are experiencing:
>
> As long as they are connected to the network in the office,
> everything (anything in START menu) works marvelous and without any
> issues.
>
> When the laptop is off site and as long as they are not connected to
> any LAN or WiFi network, everything (anything in START menu) works
> without any problem.
>
> However, as soon as a laptop is off site and connected to WiFi or
> LAN, and if START menu is launched or any Office applications on the
> desktop are launched everything freezes. It takes about a minute or
> two for things to start working again.
>
> I have looked in Event Viewer >> Application and the following three
> errors are present:
>
> Event ID 1000, Could not execute the following script \\Domain-
>
> Name\sysvol\Domain-Name\scripts\hidedocs.vbs. The network location
> cannot be reached.
>
> Event ID 1000, Could not execute the following script \\Domain-
>
> Name\sysvol\Domain-Name\scripts\logon.vbs. The network location
> cannot be reached.
>
> Event ID 1054, Windows cannot obtain the domain controller name
>
> for your computer network. (The specific domain either does not
> exist or could not be contacted) Group Policy processing aborted.
>
> It is clear that the machine is trying to contact the domain and
> execute scripts. I have looked up these Event IDs on Microsoft's
> website and none of the solutions they have provided has helped so
> far.
>
> Is there anyway (possibly in GPO settings) that a setting can be
> activated or deactivated to make the laptop realize that it is off
> site, so the applications don't hang when connected to a network
> other than domain in the office?
>
> Is there any other solution for this issue that anyone may be able to
> suggest?
>
> Any help would be appreciated.


If the users are off-domain, why are they logging in under a domain? They
will need local accounts. The local accounts won't have the logon scripts.
 
J

John Wunderlich

Flightless Bird
=?Utf-8?B?bWVldGFtdWw=?= <meetamul@discussions.microsoft.com> wrote
in news:F21EC196-DA03-4A8F-9C5D-AFDF7CBDB73D@microsoft.com:

> Hello,
>
>
> I have 25 laptops part of my domain. Here is an issue that
> laptops are experiencing:
>
>
> As long as they are connected to the network in the office,
> everything (anything in START menu) works marvelous and
> without any issues.
>
>
> When the laptop is off site and as long as they are not
> connected to any LAN or WiFi network, everything (anything in
> START menu) works without any problem.
>
>
> However, as soon as a laptop is off site and connected to WiFi
> or LAN, and if START menu is launched or any Office
> applications on the desktop are launched everything freezes.
> It takes about a minute or two for things to start working
> again.
>
>
> I have looked in Event Viewer >> Application and the following
> three errors are present:
>

[...]
> Is there anyway (possibly in GPO settings) that a setting can
> be activated or deactivated to make the laptop realize that it
> is off site, so the applications don't hang when connected to
> a network other than domain in the office?
>
>
> Is there any other solution for this issue that anyone may be
> able to suggest?
>
>
> Any help would be appreciated.


The errors you cited in the event log are normal for a computer not
attached to the domain. They will usually occur at login only.

As you've guessed, the delays are most likely due to an attempt to
connect to a domain server that cannot be reached. To fix it, you will
have to determine when and why it is trying to connect and take steps
to avoid these occurrances when not on domain.

First I would eliminate any network-mapped drives. Instead, use
shortcuts that will only be used when domain-connected. Other than
that, you will have to discover why a domain resource access is being
attempted. You might try using the freeware "Wireshark" to capture
network attempts and trace back to its cause.

HTH,
John
 
A

Anteaus

Flightless Bird
It would seem to me that the LAN side of these computers is badly set-up.

I'm guessing that your trouble might be with persistent drive-mappings
causing Explorer to hang when it can't enumerate the network-drive contents.

Having persistent network drive-mappings will cause problems such as
hang-ups when opening Explorer windows if the mappings are not accessible.
This happens because Explorer enumerates ALL drives for their contents when a
window is launched. Therefore it is better to create non-persistent mappings
with a logon script. No DC logon, no script, no mappings, no trouble.

You might like to try MyLogon as this sometimes is a better arrangement for
single-user mobile computers than the standard domain logon. One major
advantage is that it doesn't leave disconnected mappings lying-around to
cause Explorer glitches.

http://sourceforge.net/projects/mylogon

"meetamul" wrote:

> Hello,
>
>
> I have 25 laptops part of my domain. Here is an issue that laptops
> are experiencing:
>
>
> As long as they are connected to the network in the office,
> everything (anything in START menu) works marvelous and without any
> issues.
>
>
> When the laptop is off site and as long as they are not connected to
> any LAN or WiFi network, everything (anything in START menu) works
> without any problem.
>
>
> However, as soon as a laptop is off site and connected to WiFi or
> LAN, and if START menu is launched or any Office applications on the
> desktop are launched everything freezes. It takes about a minute or
> two for things to start working again.
>
>
> I have looked in Event Viewer >> Application and the following three
> errors are present:
>
>
> Event ID 1000, Could not execute the following script \\Domain-
>
> Name\sysvol\Domain-Name\scripts\hidedocs.vbs. The network location
> cannot be reached.
>
>
> Event ID 1000, Could not execute the following script \\Domain-
>
> Name\sysvol\Domain-Name\scripts\logon.vbs. The network location
> cannot be reached.
>
>
> Event ID 1054, Windows cannot obtain the domain controller name
>
> for your computer network. (The specific domain either does not
> exist or could not be contacted) Group Policy processing aborted.
>
>
> It is clear that the machine is trying to contact the domain and
> execute scripts. I have looked up these Event IDs on Microsoft's
> website and none of the solutions they have provided has helped so
> far.
>
>
> Is there anyway (possibly in GPO settings) that a setting can be
> activated or deactivated to make the laptop realize that it is off
> site, so the applications don't hang when connected to a network
> other than domain in the office?
>
>
> Is there any other solution for this issue that anyone may be able to
> suggest?
>
>
> Any help would be appreciated.
 
H

harrykrishna.nospam@online.ie

Flightless Bird
Since you mentioned Office applications as being the ones acting slow,
maybe you have a default printer that is mapped to the Domain LAN and
that is slowing things down?

Try making a dummy LOCAL printer as your default printer and see if
any significant change in Office application launch speed....

If so, you've got it narrowed down a bit.

HTH

Anteaus <Anteaus@discussions.microsoft.com> wrote:

>
>It would seem to me that the LAN side of these computers is badly set-up.
>
>I'm guessing that your trouble might be with persistent drive-mappings
>causing Explorer to hang when it can't enumerate the network-drive contents.
>
>Having persistent network drive-mappings will cause problems such as
>hang-ups when opening Explorer windows if the mappings are not accessible.
>This happens because Explorer enumerates ALL drives for their contents when a
>window is launched. Therefore it is better to create non-persistent mappings
>with a logon script. No DC logon, no script, no mappings, no trouble.
>
>You might like to try MyLogon as this sometimes is a better arrangement for
>single-user mobile computers than the standard domain logon. One major
>advantage is that it doesn't leave disconnected mappings lying-around to
>cause Explorer glitches.
>
>http://sourceforge.net/projects/mylogon
>
>"meetamul" wrote:
>
>> Hello,
>>
>>
>> I have 25 laptops part of my domain. Here is an issue that laptops
>> are experiencing:
>>
>>
>> As long as they are connected to the network in the office,
>> everything (anything in START menu) works marvelous and without any
>> issues.
>>
>>
>> When the laptop is off site and as long as they are not connected to
>> any LAN or WiFi network, everything (anything in START menu) works
>> without any problem.
>>
>>
>> However, as soon as a laptop is off site and connected to WiFi or
>> LAN, and if START menu is launched or any Office applications on the
>> desktop are launched everything freezes. It takes about a minute or
>> two for things to start working again.
>>
>>
>> I have looked in Event Viewer >> Application and the following three
>> errors are present:
>>
>>
>> Event ID 1000, Could not execute the following script \\Domain-
>>
>> Name\sysvol\Domain-Name\scripts\hidedocs.vbs. The network location
>> cannot be reached.
>>
>>
>> Event ID 1000, Could not execute the following script \\Domain-
>>
>> Name\sysvol\Domain-Name\scripts\logon.vbs. The network location
>> cannot be reached.
>>
>>
>> Event ID 1054, Windows cannot obtain the domain controller name
>>
>> for your computer network. (The specific domain either does not
>> exist or could not be contacted) Group Policy processing aborted.
>>
>>
>> It is clear that the machine is trying to contact the domain and
>> execute scripts. I have looked up these Event IDs on Microsoft's
>> website and none of the solutions they have provided has helped so
>> far.
>>
>>
>> Is there anyway (possibly in GPO settings) that a setting can be
>> activated or deactivated to make the laptop realize that it is off
>> site, so the applications don't hang when connected to a network
>> other than domain in the office?
>>
>>
>> Is there any other solution for this issue that anyone may be able to
>> suggest?
>>
>>
>> Any help would be appreciated.
 
Top