RE: Startup processes

2013-04-25 Thread Free, Bob
It essentially delays presentation of the gina/desktop till startup and GPO 
processing complete.

Windows clients XP and above support Fast Logon Optimization in a domain 
environment. To turn off Fast Logon Optimization, you can use the policy 
setting.

With logon optimization-

Policy settings apply asynchronously when the computer starts and when the user 
signs in. As a result, Windows 8, Windows 7, Windows Vista, and Windows XP do 
not wait for the network to be fully initialized at startup and sign-in. 
Existing users are logged on by using cached credentials. This results in 
shorter logon times. Group Policy is applied in the background after the 
network becomes available.

Without-

Windows waits for the network to be fully initialized before users are logged 
on. This results in the synchronous application of policies when the computer 
starts and when the user logs on. This application of policies resembles a 
background refresh process and can increase the time that is required for the 
Logon dialog box to display and the time that is required for the shell to be 
available to the user.

From: Guyer, Don [mailto:dgu...@che.org]
Sent: Thursday, April 25, 2013 7:10 AM
To: NT System Admin Issues
Subject: RE: Startup processes

I thought that setting just delayed GPO processing?

Regards,

Don Guyer
Catholic Health East - Information Technology
Enterprise Directory & Messaging Services
3805 West Chester Pike, Suite 100, Newtown Square, Pa  19073
email: dgu...@che.org<mailto:dgu...@che.org>
Office:  610.550.3595 | Cell: 610.955.6528 | Fax: 610.271.9440
For immediate assistance, please open a Service Desk ticket or call the 
helpdesk @ 610-492-3839.
[Description: Description: Description: InfoService-Logo240]

From: James Rankin [mailto:kz2...@googlemail.com]
Sent: Thursday, April 25, 2013 9:37 AM
To: NT System Admin Issues
Subject: Re: Startup processes

Actually hang on, is that right? It delays all the services until the network 
is available? That might work - but then if no network is available, does it 
start those services at all?

On 25 April 2013 14:22, N Parr 
mailto:npar...@mortonind.com>> wrote:
GPO  - Always wait for the network at computer startup.
Would this setting work for you, it won't let any other services start until 
the network is available.  Most people turn in on anyway because it solves a 
lot of other issues.


-Original Message-
From: kz2...@googlemail.com<mailto:kz2...@googlemail.com> 
[mailto:kz2...@googlemail.com<mailto:kz2...@googlemail.com>]
Sent: Thursday, April 25, 2013 7:12 AM
To: NT System Admin Issues
Subject: Startup processes
On a Windows system, is there a process that runs on startup that will only run 
if there is network connectivity present? I've got a strange requirement and I 
need to be able to tell when the network is available, if possible.
TIA,


JR


Sent from my Blackberry, which may be an antique but delivers email RELIABLY
~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ 
<http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe ntsysadmin



--
James Rankin
Technical Consultant (ACA, CCA, MCTS)
http://appsensebigot.blogspot.co.uk

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe ntsysadmin

Confidentiality Notice:
This e-mail, including any attachments is the
property of Catholic Health East and is intended
for the sole use of the intended recipient(s).
It may contain information that is privileged and
confidential.  Any unauthorized review, use,
disclosure, or distribution is prohibited. If you are
not the intended recipient, please delete this message, and
reply to the sender regarding the error in a separate email.


~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sun

Re: Startup processes

2013-04-25 Thread James Rankin
You knowthe answer for this has been in my possession all along, in a
snippet someone emailed to me for inclusion in my "configuration library"
online.

The point I've been missing, Homer Simpson style, is that I was looking to
verify that the endpoint is connected to "any" network - when in fact if
they are wanting to copy files and folders, etc., surely that indicates
they need to verify that they are on the "corporate" networkmassive
facepalm just hit me :-(

So all I need to do is leverage the bit of PS I was sent and change it to
my own requirements. I think this checks to see if a physical NIC is
connected and if it can connect to a DC, and then writes the results to a
logshouldn't be too hard to adapt...

Thanks for the discussion which certainly made me think things thru
properly :-)

function writeevent() {
if ($args[0] -eq "-h") {
Write-Host "usage: writeevent   > "
break
}
#count the arguments
if ($args.count -lt 4)
{
write-host "Error calling writeevent. Too few arguments. use option -h
to see help" -foregroundcolor "red"
break
}
trap
{ # this installs an error handler for the function
write-host "Error writing to eventlog:" $_.Exception.GetType().FullName
+ $_.Exception.Message
continue; # exiting a trap with "continue" says to continue on the next
line of the script
}

$source = $args[0]
$type = $args[1]
$eventid = $args[2]
$msg = $args[3]
#Create the source, if it does not already exist.
if(![System.Diagnostics.EventLog]::SourceExists($source))
{
[System.Diagnostics.EventLog]::CreateEventSource($source,'Application')
 $logfile = 'Application'
}
else
{
$logfile =
[System.Diagnostics.EventLog]::LogNameFromSourceName($source,'.')
 #write-host "Source exists and is registered in the $logfile Log"
}
 #Check if Event Type is correct
   switch ($type)
   {
  "Information" {}
  "Warning" {}
  "Error" {}
  default {"Event type is invalid";exit}
   }
   $log = New-Object System.Diagnostics.EventLog
   $log.set_log($logfile)
   $log.set_source($source)
   $log.WriteEntry($msg,$type,$eventid)
}

#Check if the condition has already been run
If ($env:_EMPNetworkStatus -eq "LANConnect")
{
write-output "Network connection is ready: Check has already been run"
writeevent "WaitForNetworkScript" Information 2 "Network connection is
ready: Check has already been run"
exit 0
}

#Get All physical network adapter which are connected
$connected_physical_nics = Get-WmiObject Win32_NetworkAdapter | `
where {$_.AdapterType -eq "Ethernet 802.3" `
-and $_.PNPDeviceID -match 'PCI' `
-and $_.NetConnectionStatus -eq 2}

#If an adapter is found, we assume client is in corporate network
If ($connected_physical_nics)
{
#Get the current DC
$currentDC = ([ADSI]“LDAP://RootDSE”).dnshostname
#test connection to DC
$i = 0
While (!$connrst)
{
$connrst = Test-Connection -computername $currentDC -Count 1 -ea
SilentlyContinue
$i += 1
If (!$connrst -and $i -ge 15)
{
#Timeout, we exit
write-output "Timeout, we exit the script"
writeevent "WaitForNetworkScript" Warning 1 "Timeout, network
connection not ready: Error while trying to reach DC: $currentDC"
exit 1
}
start-sleep -s 1
}
write-output "Network connection is ready: connected DC: $currentDC"
writeevent "WaitForNetworkScript" Information 0 "Network connection is
ready: connected DC: $currentDC"
[ENVIRONMENT]::SetEnvironmentVariable("_EMPNetworkStatus",
"LANConnect", "MACHINE")
exit 0
}
Else
{
write-warning "Network is disconnected"
writeevent "WaitForNetworkScript" Warning 3 "Network is disconnected"
   [ENVIRONMENT]::SetEnvironmentVariable("_EMPNetworkStatus",
"Disconnected", "MACHINE")
exit 1
}


On 25 April 2013 15:33, James Rankin  wrote:

> That's what I thoughtresearch seems to concur. Delaying the startup of
> certain services might have let me delay the processing long enough for the
> network to connect :-(
>
>
> On 25 April 2013 15:09, Guyer, Don  wrote:
>
>> I thought that setting just delayed GPO processing?
>>
>> ** **
>>
>> Regards,
>>
>> * *
>>
>> *Don Guyer**
>> **Catholic Health East - Information Technology*
>>
>> Enterprise Directory & Messaging Services
>> 3805 West Chester Pike, Suite 100, Newtown Square, Pa  19073
>>
>> email: *dgu...@che.org*
>>
>

RE: Startup processes

2013-04-25 Thread Webster
MBS has a test-ping function here:

http://theessentialexchange.com/blogs/michael/archive/2012/04/10/enumerating-networks-and-building-routes-with-powershell.aspx

Thanks


Webster

From: Michael B. Smith [mailto:mich...@smithcons.com]
Sent: Thursday, April 25, 2013 9:11 AM
To: NT System Admin Issues
Subject: RE: Startup processes

If you need powershell "ping", let me know.

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin

Re: Startup processes

2013-04-25 Thread James Rankin
That's what I thoughtresearch seems to concur. Delaying the startup of
certain services might have let me delay the processing long enough for the
network to connect :-(


On 25 April 2013 15:09, Guyer, Don  wrote:

> I thought that setting just delayed GPO processing?
>
> ** **
>
> Regards,
>
> * *
>
> *Don Guyer**
> **Catholic Health East - Information Technology*
>
> Enterprise Directory & Messaging Services
> 3805 West Chester Pike, Suite 100, Newtown Square, Pa  19073
>
> email: *dgu...@che.org*
>
> Office:  610.550.3595 | Cell: 610.955.6528 | Fax: 610.271.9440
>
> *For immediate assistance, please open a Service Desk ticket or call the
> helpdesk @ 610-492-3839.*
>
> [image: Description: Description: Description: InfoService-Logo240]
>
> ** **
>
> *From:* James Rankin [mailto:kz2...@googlemail.com]
> *Sent:* Thursday, April 25, 2013 9:37 AM
>
> *To:* NT System Admin Issues
> *Subject:* Re: Startup processes
>
> ** **
>
> Actually hang on, is that right? It delays all the services until the
> network is available? That might work - but then if *no *network is
> available, does it start those services at all?
>
> ** **
>
> On 25 April 2013 14:22, N Parr  wrote:
>
> GPO  - Always wait for the network at computer startup.
> Would this setting work for you, it won't let any other services start
> until the network is available.  Most people turn in on anyway because it
> solves a lot of other issues.
>
>
>
> -Original Message-
> From: kz2...@googlemail.com [mailto:kz2...@googlemail.com]
> Sent: Thursday, April 25, 2013 7:12 AM
> To: NT System Admin Issues
> Subject: Startup processes
>
> On a Windows system, is there a process that runs on startup that will
> only run if there is network connectivity present? I've got a strange
> requirement and I need to be able to tell when the network is available, if
> possible.
>
> TIA,
>
>
> JR
>
>
> Sent from my Blackberry, which may be an antique but delivers email
> RELIABLY
>
> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <
> http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~
>
> ---
> To manage subscriptions click here:
> http://lyris.sunbelt-software.com/read/my_forums/
> or send an email to listmana...@lyris.sunbeltsoftware.com
> with the body: unsubscribe ntsysadmin
>
> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~
> ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~
>
> ---
> To manage subscriptions click here:
> http://lyris.sunbelt-software.com/read/my_forums/
> or send an email to listmana...@lyris.sunbeltsoftware.com
> with the body: unsubscribe ntsysadmin
>
>
>
>
> --
> *James Rankin*
> Technical Consultant (ACA, CCA, MCTS)
> http://appsensebigot.blogspot.co.uk
>
> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~
> ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~
>
> ---
> To manage subscriptions click here:
> http://lyris.sunbelt-software.com/read/my_forums/
> or send an email to listmana...@lyris.sunbeltsoftware.com
> with the body: unsubscribe ntsysadmin
>
> Confidentiality Notice:
> This e-mail, including any attachments is the
> property of Catholic Health East and is intended
> for the sole use of the intended recipient(s).
> It may contain information that is privileged and
> confidential.  Any unauthorized review, use,
> disclosure, or distribution is prohibited. If you are
> not the intended recipient, please delete this message, and
> reply to the sender regarding the error in a separate email.
>
>
> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~
>
> ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~
>
> ---
> To manage subscriptions click here:
> http://lyris.sunbelt-software.com/read/my_forums/
> or send an email to listmana...@lyris.sunbeltsoftware.com
> with the body: unsubscribe ntsysadmin
>
>


-- 
*James Rankin*
Technical Consultant (ACA, CCA, MCTS)
http://appsensebigot.blogspot.co.uk

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin<>

RE: Startup processes

2013-04-25 Thread Kennedy, Jim
+1

From: Guyer, Don [mailto:dgu...@che.org]
Sent: Thursday, April 25, 2013 10:32 AM
To: NT System Admin Issues
Subject: RE: Startup processes

I thought that setting just delayed GPO processing?

Regards,

Don Guyer
Catholic Health East - Information Technology
Enterprise Directory & Messaging Services
3805 West Chester Pike, Suite 100, Newtown Square, Pa  19073
email: dgu...@che.org<mailto:dgu...@che.org>
Office:  610.550.3595 | Cell: 610.955.6528 | Fax: 610.271.9440
For immediate assistance, please open a Service Desk ticket or call the 
helpdesk @ 610-492-3839.
[Description: Description: Description: InfoService-Logo240]

From: James Rankin [mailto:kz2...@googlemail.com]
Sent: Thursday, April 25, 2013 9:37 AM
To: NT System Admin Issues
Subject: Re: Startup processes

Actually hang on, is that right? It delays all the services until the network 
is available? That might work - but then if no network is available, does it 
start those services at all?

On 25 April 2013 14:22, N Parr 
mailto:npar...@mortonind.com>> wrote:
GPO  - Always wait for the network at computer startup.
Would this setting work for you, it won't let any other services start until 
the network is available.  Most people turn in on anyway because it solves a 
lot of other issues.


-Original Message-
From: kz2...@googlemail.com<mailto:kz2...@googlemail.com> 
[mailto:kz2...@googlemail.com<mailto:kz2...@googlemail.com>]
Sent: Thursday, April 25, 2013 7:12 AM
To: NT System Admin Issues
Subject: Startup processes
On a Windows system, is there a process that runs on startup that will only run 
if there is network connectivity present? I've got a strange requirement and I 
need to be able to tell when the network is available, if possible.
TIA,


JR


Sent from my Blackberry, which may be an antique but delivers email RELIABLY
~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ 
<http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe ntsysadmin



--
James Rankin
Technical Consultant (ACA, CCA, MCTS)
http://appsensebigot.blogspot.co.uk

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe ntsysadmin

Confidentiality Notice:
This e-mail, including any attachments is the
property of Catholic Health East and is intended
for the sole use of the intended recipient(s).
It may contain information that is privileged and
confidential.  Any unauthorized review, use,
disclosure, or distribution is prohibited. If you are
not the intended recipient, please delete this message, and
reply to the sender regarding the error in a separate email.


~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin<>

Re: Startup processes

2013-04-25 Thread Ben Scott
On Thu, Apr 25, 2013 at 9:35 AM, James Rankin  wrote:
> I'd think that it would be the ability to copy files and folders from a 
> remote location that
> would be the definition required in this case.

  You could do an "IF EXIST \\server\share\path\file.txt ..." (or the
moral equivalent in your scripting language of choice) then.  Make
sure that script is asynchronous from the rest of computer startup, or
the startup will hang waiting for a while if the network isn't up.

  If you want to loop/retry, suggest using a SLEEP call (or
equivalent) to suspend the process for a minute or three.  That's a
lot less rude than spinning in a loop, and a lot less kludgy than
ping'ing an invalid address.

> Basically I have a lot of clients who insist on using the Computer Startup
> trigger to do things (like copy files and folders to the endpoint).

  Consider using standard Group Policy for that.  GP
scripts/preferences don't run if the network isn't working (which, in
this case, I think means, "Can files be read from SYSVOL on a DC?").

-- Ben

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~   ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin


RE: Startup processes

2013-04-25 Thread Guyer, Don
I thought of that but, also thought maybe they didn't.

: )

Regards,

Don Guyer
Catholic Health East - Information Technology
Enterprise Directory & Messaging Services
3805 West Chester Pike, Suite 100, Newtown Square, Pa  19073
email: dgu...@che.org<mailto:dgu...@che.org>
Office:  610.550.3595 | Cell: 610.955.6528 | Fax: 610.271.9440
For immediate assistance, please open a Service Desk ticket or call the 
helpdesk @ 610-492-3839.
[cid:image001.jpg@01CE419E.270106E0]

From: Webster [mailto:webs...@carlwebster.com]
Sent: Thursday, April 25, 2013 9:53 AM
To: NT System Admin Issues
Subject: RE: Startup processes

A lot of us Disable the Computer Browser service on non domain controllers 
unless it is absolutely necessary to have it running.

Thanks


Webster

From: Guyer, Don [mailto:dgu...@che.org]
Sent: Thursday, April 25, 2013 8:33 AM
To: NT System Admin Issues
Subject: RE: Startup processes

How about a Service starting up, like Workstation or Computer Browser?


From: James Rankin [mailto:kz2...@googlemail.com]
Sent: Thursday, April 25, 2013 9:17 AM
To: NT System Admin Issues
Subject: Re: Startup processes

I probably could.just I have a built-in Process Started trigger so it would 
have been easier if there was a particular process that couldn't exist without 
network connectivity.
The other problem I've got is looping the routine enough to give it time for 
the network to connect, if it's going to. Again, trigger by process would be so 
much simpler, but if it's not possible, I will have to look at a scripted 
routine.

On 25 April 2013 14:12, Joseph L. Casale 
mailto:jcas...@activenetwerx.com>> wrote:
If you can query for the process, can you not query the network?
Lookup the gateway and ping it...

From: kz2...@googlemail.com<mailto:kz2...@googlemail.com>
Sent: Thursday, April 25, 2013 6:11 AM
To: NT System Admin Issues
Subject: Startup processes

On a Windows system, is there a process that runs on startup that will only run 
if there is network connectivity present? I've got a strange requirement and I 
need to be able to tell when the network is available, if possible.


~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe ntsysadmin

Confidentiality Notice:
This e-mail, including any attachments is the
property of Catholic Health East and is intended
for the sole use of the intended recipient(s). 
It may contain information that is privileged and
confidential.  Any unauthorized review, use,
disclosure, or distribution is prohibited. If you are
not the intended recipient, please delete this message, and
reply to the sender regarding the error in a separate email.
 

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin<>

RE: Startup processes

2013-04-25 Thread Webster
All of that can be done with PowerShell and Test-Connection.

Thanks


Webster

From: James Rankin [mailto:kz2...@googlemail.com]
Subject: Re: Startup processes

I do love a bit of batch scripting :-)
Unfortunately I can only use JScript (!), VBScript or PowerShell in my console, 
but it could be adapted with a bit of time and effort. If nothing simpler turns 
up, it'll definitely be something like this I will use.



On 25 April 2013 14:23, Kennedy, Jim 
mailto:kennedy...@elyriaschools.org>> wrote:
" The other problem I've got is looping the routine enough to give it time for 
the network to connect"

:START
PING -n 1 192.168.1.1|find "Reply from " >NUL
IF NOT ERRORLEVEL 1 goto :SUCCESS
IF ERRORLEVEL 1 goto :FAIL

:FAIL
ping 192.0.2.2 -n 1 -w 1 > nul  (or some other non-existent address, will 
wait for 10 seconds)
goto :START

:SUCCESS
Run your process
:END

Might want to add a counter in there, so it exits after a certain number of 
tries. Set the whole thing as a startup scheduled task.

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin

RE: Startup processes

2013-04-25 Thread Guyer, Don
I thought that setting just delayed GPO processing?

Regards,

Don Guyer
Catholic Health East - Information Technology
Enterprise Directory & Messaging Services
3805 West Chester Pike, Suite 100, Newtown Square, Pa  19073
email: dgu...@che.org<mailto:dgu...@che.org>
Office:  610.550.3595 | Cell: 610.955.6528 | Fax: 610.271.9440
For immediate assistance, please open a Service Desk ticket or call the 
helpdesk @ 610-492-3839.
[cid:image001.jpg@01CE419D.0B255530]

From: James Rankin [mailto:kz2...@googlemail.com]
Sent: Thursday, April 25, 2013 9:37 AM
To: NT System Admin Issues
Subject: Re: Startup processes

Actually hang on, is that right? It delays all the services until the network 
is available? That might work - but then if no network is available, does it 
start those services at all?

On 25 April 2013 14:22, N Parr 
mailto:npar...@mortonind.com>> wrote:
GPO  - Always wait for the network at computer startup.
Would this setting work for you, it won't let any other services start until 
the network is available.  Most people turn in on anyway because it solves a 
lot of other issues.


-Original Message-
From: kz2...@googlemail.com<mailto:kz2...@googlemail.com> 
[mailto:kz2...@googlemail.com<mailto:kz2...@googlemail.com>]
Sent: Thursday, April 25, 2013 7:12 AM
To: NT System Admin Issues
Subject: Startup processes
On a Windows system, is there a process that runs on startup that will only run 
if there is network connectivity present? I've got a strange requirement and I 
need to be able to tell when the network is available, if possible.
TIA,


JR


Sent from my Blackberry, which may be an antique but delivers email RELIABLY
~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ 
<http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe ntsysadmin



--
James Rankin
Technical Consultant (ACA, CCA, MCTS)
http://appsensebigot.blogspot.co.uk

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe ntsysadmin

Confidentiality Notice:
This e-mail, including any attachments is the
property of Catholic Health East and is intended
for the sole use of the intended recipient(s). 
It may contain information that is privileged and
confidential.  Any unauthorized review, use,
disclosure, or distribution is prohibited. If you are
not the intended recipient, please delete this message, and
reply to the sender regarding the error in a separate email.
 

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin<>

RE: Startup processes

2013-04-25 Thread Michael B. Smith
If you need powershell "ping", let me know.

From: James Rankin [mailto:kz2...@googlemail.com]
Sent: Thursday, April 25, 2013 9:40 AM
To: NT System Admin Issues
Subject: Re: Startup processes

I do love a bit of batch scripting :-)
Unfortunately I can only use JScript (!), VBScript or PowerShell in my console, 
but it could be adapted with a bit of time and effort. If nothing simpler turns 
up, it'll definitely be something like this I will use.

Cheers,



JR

On 25 April 2013 14:23, Kennedy, Jim 
mailto:kennedy...@elyriaschools.org>> wrote:
" The other problem I've got is looping the routine enough to give it time for 
the network to connect"

:START
PING -n 1 192.168.1.1|find "Reply from " >NUL
IF NOT ERRORLEVEL 1 goto :SUCCESS
IF ERRORLEVEL 1 goto :FAIL

:FAIL
ping 192.0.2.2 -n 1 -w 1 > nul  (or some other non-existent address, will 
wait for 10 seconds)
goto :START

:SUCCESS
Run your process
:END

Might want to add a counter in there, so it exits after a certain number of 
tries. Set the whole thing as a startup scheduled task.



-Original Message-
From: Kennedy, Jim
Sent: Thursday, April 25, 2013 9:19 AM
To: NT System Admin Issues
Subject: RE: Startup processes

Along Joseph's linesif you can control the process you are running on 
startup from a command line.


ECHO Checking connection, please wait...
PING -n 1 192.168.1.1|find "Reply from " >NUL
IF NOT ERRORLEVEL 1 goto :SUCCESS
IF ERRORLEVEL 1 goto :FAIL

:FAIL
Goto :End (or whatever you want to do)

:SUCCESS
Run your process
:END






-Original Message-
From: Joseph L. Casale 
[mailto:jcas...@activenetwerx.com<mailto:jcas...@activenetwerx.com>]
Sent: Thursday, April 25, 2013 9:14 AM
To: NT System Admin Issues
Subject: RE: Startup processes

If you can query for the process, can you not query the network?
Lookup the gateway and ping it...

From: kz2...@googlemail.com<mailto:kz2...@googlemail.com>
Sent: Thursday, April 25, 2013 6:11 AM
To: NT System Admin Issues
Subject: Startup processes

On a Windows system, is there a process that runs on startup that will only run 
if there is network connectivity present? I've got a strange requirement and I 
need to be able to tell when the network is available, if possible.

TIA,


JR


Sent from my Blackberry, which may be an antique but delivers email RELIABLY

~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ 
<http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ 
<http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe ntsysadmin


~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe ntsysadmin



--
James Rankin
Technical Consultant (ACA, CCA, MCTS)
http://appsensebigot.blogspot.co.uk

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin

RE: Startup processes

2013-04-25 Thread Webster
See if this can help lead you in the proper direction for more research.

http://social.technet.microsoft.com/wiki/contents/articles/11341.the-windows-7-boot-process-sbsl.aspx

Thanks


Webster


> -Original Message-
> From: kz2...@googlemail.com [mailto:kz2...@googlemail.com]
> Sent: Thursday, April 25, 2013 7:12 AM
> To: NT System Admin Issues
> Subject: Startup processes
> 
> On a Windows system, is there a process that runs on startup that will only
> run if there is network connectivity present? I've got a strange requirement
> and I need to be able to tell when the network is available, if possible.
> 
> TIA,
> 
> 
> JR
> 
> 
> Sent from my Blackberry, which may be an antique but delivers email
> RELIABLY
> 
> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~
>   ~
> 
> ---
> To manage subscriptions click here: http://lyris.sunbelt-
> software.com/read/my_forums/
> or send an email to listmana...@lyris.sunbeltsoftware.com
> with the body: unsubscribe ntsysadmin



~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~   ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin



RE: Startup processes

2013-04-25 Thread Webster
A lot of us Disable the Computer Browser service on non domain controllers 
unless it is absolutely necessary to have it running.

Thanks


Webster

From: Guyer, Don [mailto:dgu...@che.org]
Sent: Thursday, April 25, 2013 8:33 AM
To: NT System Admin Issues
Subject: RE: Startup processes

How about a Service starting up, like Workstation or Computer Browser?


From: James Rankin [mailto:kz2...@googlemail.com]
Sent: Thursday, April 25, 2013 9:17 AM
To: NT System Admin Issues
Subject: Re: Startup processes

I probably could.just I have a built-in Process Started trigger so it would 
have been easier if there was a particular process that couldn't exist without 
network connectivity.
The other problem I've got is looping the routine enough to give it time for 
the network to connect, if it's going to. Again, trigger by process would be so 
much simpler, but if it's not possible, I will have to look at a scripted 
routine.

On 25 April 2013 14:12, Joseph L. Casale 
mailto:jcas...@activenetwerx.com>> wrote:
If you can query for the process, can you not query the network?
Lookup the gateway and ping it...

From: kz2...@googlemail.com<mailto:kz2...@googlemail.com>
Sent: Thursday, April 25, 2013 6:11 AM
To: NT System Admin Issues
Subject: Startup processes

On a Windows system, is there a process that runs on startup that will only run 
if there is network connectivity present? I've got a strange requirement and I 
need to be able to tell when the network is available, if possible.



~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin

Re: Startup processes

2013-04-25 Thread James Rankin
Workstation would be good, but unfortunately they all run in the
svchost.exe process

I could check for them via a scripted mechanism though. Workstation service
deals with accessing shares doesn't it, and server deals with making shares
availablemight be some mileage there


On 25 April 2013 14:32, Guyer, Don  wrote:

> How about a Service starting up, like Workstation or Computer Browser?
>
> ** **
>
> Regards,
>
> * *
>
> *Don Guyer**
> **Catholic Health East - Information Technology*
>
> Enterprise Directory & Messaging Services
> 3805 West Chester Pike, Suite 100, Newtown Square, Pa  19073
>
> email: *dgu...@che.org*
>
> Office:  610.550.3595 | Cell: 610.955.6528 | Fax: 610.271.9440
>
> *For immediate assistance, please open a Service Desk ticket or call the
> helpdesk @ 610-492-3839.*
>
> [image: Description: Description: Description: InfoService-Logo240]
>
> ** **
>
> *From:* James Rankin [mailto:kz2...@googlemail.com]
> *Sent:* Thursday, April 25, 2013 9:17 AM
>
> *To:* NT System Admin Issues
> *Subject:* Re: Startup processes
>
> ** **
>
> I probably could.just I have a built-in Process Started trigger so it
> would have been easier if there was a particular process that couldn't
> exist without network connectivity.
>
> The other problem I've got is looping the routine enough to give it time
> for the network to connect, if it's going to. Again, trigger by process
> would be so much simpler, but if it's not possible, I will have to look at
> a scripted routine.
>
> Cheers,
>
>
>
> JR
>
> ** **
>
> On 25 April 2013 14:12, Joseph L. Casale 
> wrote:
>
> If you can query for the process, can you not query the network?
> Lookup the gateway and ping it...
> 
> From: kz2...@googlemail.com
> Sent: Thursday, April 25, 2013 6:11 AM
> To: NT System Admin Issues
> Subject: Startup processes
>
>
> On a Windows system, is there a process that runs on startup that will
> only run if there is network connectivity present? I've got a strange
> requirement and I need to be able to tell when the network is available, if
> possible.
>
> TIA,
>
>
> JR
>
>
> Sent from my Blackberry, which may be an antique but delivers email
> RELIABLY
>
> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~
> ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~
>
> ---
> To manage subscriptions click here:
> http://lyris.sunbelt-software.com/read/my_forums/
> or send an email to listmana...@lyris.sunbeltsoftware.com
> with the body: unsubscribe ntsysadmin
>
> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~
> ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~
>
> ---
> To manage subscriptions click here:
> http://lyris.sunbelt-software.com/read/my_forums/
> or send an email to listmana...@lyris.sunbeltsoftware.com
> with the body: unsubscribe ntsysadmin
>
>
>
>
> --
> *James Rankin*
> Technical Consultant (ACA, CCA, MCTS)
> http://appsensebigot.blogspot.co.uk
>
> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~
>
> ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~
>
> ---
> To manage subscriptions click here:
> http://lyris.sunbelt-software.com/read/my_forums/
> or send an email to listmana...@lyris.sunbeltsoftware.com
> with the body: unsubscribe ntsysadmin
>
>
> Confidentiality Notice:
> This e-mail, including any attachments is the
> property of Catholic Health East and is intended
> for the sole use of the intended recipient(s).
> It may contain information that is privileged and
> confidential.  Any unauthorized review, use,
> disclosure, or distribution is prohibited. If you are
> not the intended recipient, please delete this message, and
> reply to the sender regarding the error in a separate email.
>
>
> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~
> ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~
>
> ---
> To manage subscriptions click here:
> http://lyris.sunbelt-software.com/read/my_forums/
> or send an email to listmana...@lyris.sunbeltsoftware.com
> with the body: unsubscribe ntsysadmin
>



-- 
*James Rankin*
Technical Consultant (ACA, CCA, MCTS)
http://appsensebigot.blogspot.co.uk

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin<>

Re: Startup processes

2013-04-25 Thread James Rankin
I do love a bit of batch scripting :-)

Unfortunately I can only use JScript (!), VBScript or PowerShell in my
console, but it could be adapted with a bit of time and effort. If nothing
simpler turns up, it'll definitely be something like this I will use.

Cheers,



JR


On 25 April 2013 14:23, Kennedy, Jim  wrote:

> " The other problem I've got is looping the routine enough to give it time
> for the network to connect"
>
>
> :START
> PING -n 1 192.168.1.1|find "Reply from " >NUL
> IF NOT ERRORLEVEL 1 goto :SUCCESS
> IF ERRORLEVEL 1 goto :FAIL
>
> :FAIL
> ping 192.0.2.2 -n 1 -w 1 > nul  (or some other non-existent address,
> will wait for 10 seconds)
> goto :START
>
> :SUCCESS
> Run your process
> :END
>
>
> Might want to add a counter in there, so it exits after a certain number
> of tries. Set the whole thing as a startup scheduled task.
>
>
>
> -Original Message-
> From: Kennedy, Jim
> Sent: Thursday, April 25, 2013 9:19 AM
> To: NT System Admin Issues
> Subject: RE: Startup processes
>
> Along Joseph's linesif you can control the process you are running on
> startup from a command line.
>
>
> ECHO Checking connection, please wait...
> PING -n 1 192.168.1.1|find "Reply from " >NUL
> IF NOT ERRORLEVEL 1 goto :SUCCESS
> IF ERRORLEVEL 1 goto :FAIL
>
> :FAIL
> Goto :End (or whatever you want to do)
>
> :SUCCESS
> Run your process
> :END
>
>
>
>
>
>
> -Original Message-
> From: Joseph L. Casale [mailto:jcas...@activenetwerx.com]
> Sent: Thursday, April 25, 2013 9:14 AM
> To: NT System Admin Issues
> Subject: RE: Startup processes
>
> If you can query for the process, can you not query the network?
> Lookup the gateway and ping it...
> 
> From: kz2...@googlemail.com
> Sent: Thursday, April 25, 2013 6:11 AM
> To: NT System Admin Issues
> Subject: Startup processes
>
> On a Windows system, is there a process that runs on startup that will
> only run if there is network connectivity present? I've got a strange
> requirement and I need to be able to tell when the network is available, if
> possible.
>
> TIA,
>
>
> JR
>
>
> Sent from my Blackberry, which may be an antique but delivers email
> RELIABLY
>
> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <
> http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~
>
> ---
> To manage subscriptions click here:
> http://lyris.sunbelt-software.com/read/my_forums/
> or send an email to listmana...@lyris.sunbeltsoftware.com
> with the body: unsubscribe ntsysadmin
>
> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <
> http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~
>
> ---
> To manage subscriptions click here:
> http://lyris.sunbelt-software.com/read/my_forums/
> or send an email to listmana...@lyris.sunbeltsoftware.com
> with the body: unsubscribe ntsysadmin
>
>
> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~
> ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~
>
> ---
> To manage subscriptions click here:
> http://lyris.sunbelt-software.com/read/my_forums/
> or send an email to listmana...@lyris.sunbeltsoftware.com
> with the body: unsubscribe ntsysadmin
>
>


-- 
*James Rankin*
Technical Consultant (ACA, CCA, MCTS)
http://appsensebigot.blogspot.co.uk

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin

Re: Startup processes

2013-04-25 Thread James Rankin
Actually hang on, is that right? It delays all the services until the
network is available? That might work - but then if *no *network is
available, does it start those services at all?


On 25 April 2013 14:22, N Parr  wrote:

> GPO  - Always wait for the network at computer startup.
> Would this setting work for you, it won't let any other services start
> until the network is available.  Most people turn in on anyway because it
> solves a lot of other issues.
>
>
> -Original Message-
> From: kz2...@googlemail.com [mailto:kz2...@googlemail.com]
> Sent: Thursday, April 25, 2013 7:12 AM
> To: NT System Admin Issues
> Subject: Startup processes
>
> On a Windows system, is there a process that runs on startup that will
> only run if there is network connectivity present? I've got a strange
> requirement and I need to be able to tell when the network is available, if
> possible.
>
> TIA,
>
>
> JR
>
>
> Sent from my Blackberry, which may be an antique but delivers email
> RELIABLY
>
> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <
> http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~
>
> ---
> To manage subscriptions click here:
> http://lyris.sunbelt-software.com/read/my_forums/
> or send an email to listmana...@lyris.sunbeltsoftware.com
> with the body: unsubscribe ntsysadmin
>
> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~
> ~   ~
>
> ---
> To manage subscriptions click here:
> http://lyris.sunbelt-software.com/read/my_forums/
> or send an email to listmana...@lyris.sunbeltsoftware.com
> with the body: unsubscribe ntsysadmin
>
>


-- 
*James Rankin*
Technical Consultant (ACA, CCA, MCTS)
http://appsensebigot.blogspot.co.uk

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~   ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin

Re: Startup processes

2013-04-25 Thread James Rankin
Sadly that would just not process any GPO actions that are dependent on
network connectivity. I'm not using GPOs for this (well, not in the
traditional way, I do leverage some), so it's a non-starter, unfortunately.


On 25 April 2013 14:22, N Parr  wrote:

> GPO  - Always wait for the network at computer startup.
> Would this setting work for you, it won't let any other services start
> until the network is available.  Most people turn in on anyway because it
> solves a lot of other issues.
>
>
> -Original Message-
> From: kz2...@googlemail.com [mailto:kz2...@googlemail.com]
> Sent: Thursday, April 25, 2013 7:12 AM
> To: NT System Admin Issues
> Subject: Startup processes
>
> On a Windows system, is there a process that runs on startup that will
> only run if there is network connectivity present? I've got a strange
> requirement and I need to be able to tell when the network is available, if
> possible.
>
> TIA,
>
>
> JR
>
>
> Sent from my Blackberry, which may be an antique but delivers email
> RELIABLY
>
> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <
> http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~
>
> ---
> To manage subscriptions click here:
> http://lyris.sunbelt-software.com/read/my_forums/
> or send an email to listmana...@lyris.sunbeltsoftware.com
> with the body: unsubscribe ntsysadmin
>
> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~
> ~   ~
>
> ---
> To manage subscriptions click here:
> http://lyris.sunbelt-software.com/read/my_forums/
> or send an email to listmana...@lyris.sunbeltsoftware.com
> with the body: unsubscribe ntsysadmin
>
>


-- 
*James Rankin*
Technical Consultant (ACA, CCA, MCTS)
http://appsensebigot.blogspot.co.uk

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~   ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin

Re: Startup processes

2013-04-25 Thread James Rankin
I'd think that it would be the ability to copy files and folders from a
remote location that would be the definition required in this case.

Basically I have a lot of clients who insist on using the Computer Startup
trigger to do things (like copy files and folders to the endpoint).
However, if these actions kick in before network connectivity is
established to the level it can do these, then the actions fail. Pinging a
default gateway would be doable - but again, if the network hasn't started
to that level, I'm going to be recording a fail and skipping the actions
just because they're being triggered at too early a time.

So the other trigger I have is Process Started, which will only kick off
the dependent Actions when a certain process starts. Which is why I was
hoping there might be a specific process that can't exist without network
connectivity - but it's not looking hopeful.

Cheers,



JR


On 25 April 2013 14:19, Ben Scott  wrote:

> On Thu, Apr 25, 2013 at 8:11 AM,   wrote:
> > On a Windows system, is there a process that runs on startup that will
> only run if there
> > is network connectivity present? I've got a strange requirement and I
> need to be able to
> > tell when the network is available, if possible.
>
>   Define "network connectivity".  Layer two link up?  Has an IP
> address?  Has a default route?  Can ping the default gateway?  Can
> reach an arbitrary host on the Internet?  Can do lookups against the
> Active Directory Domain Controller?  Can ping your AppSense server?
>
> -- Ben
>
> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~
> ~   ~
>
> ---
> To manage subscriptions click here:
> http://lyris.sunbelt-software.com/read/my_forums/
> or send an email to listmana...@lyris.sunbeltsoftware.com
> with the body: unsubscribe ntsysadmin
>



-- 
*James Rankin*
Technical Consultant (ACA, CCA, MCTS)
http://appsensebigot.blogspot.co.uk

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~   ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin

RE: Startup processes

2013-04-25 Thread Guyer, Don
How about a Service starting up, like Workstation or Computer Browser?

Regards,

Don Guyer
Catholic Health East - Information Technology
Enterprise Directory & Messaging Services
3805 West Chester Pike, Suite 100, Newtown Square, Pa  19073
email: dgu...@che.org<mailto:dgu...@che.org>
Office:  610.550.3595 | Cell: 610.955.6528 | Fax: 610.271.9440
For immediate assistance, please open a Service Desk ticket or call the 
helpdesk @ 610-492-3839.
[cid:image001.jpg@01CE4197.CEA04480]

From: James Rankin [mailto:kz2...@googlemail.com]
Sent: Thursday, April 25, 2013 9:17 AM
To: NT System Admin Issues
Subject: Re: Startup processes

I probably could.just I have a built-in Process Started trigger so it would 
have been easier if there was a particular process that couldn't exist without 
network connectivity.
The other problem I've got is looping the routine enough to give it time for 
the network to connect, if it's going to. Again, trigger by process would be so 
much simpler, but if it's not possible, I will have to look at a scripted 
routine.

Cheers,



JR

On 25 April 2013 14:12, Joseph L. Casale 
mailto:jcas...@activenetwerx.com>> wrote:
If you can query for the process, can you not query the network?
Lookup the gateway and ping it...

From: kz2...@googlemail.com<mailto:kz2...@googlemail.com>
Sent: Thursday, April 25, 2013 6:11 AM
To: NT System Admin Issues
Subject: Startup processes

On a Windows system, is there a process that runs on startup that will only run 
if there is network connectivity present? I've got a strange requirement and I 
need to be able to tell when the network is available, if possible.

TIA,


JR


Sent from my Blackberry, which may be an antique but delivers email RELIABLY

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe ntsysadmin



--
James Rankin
Technical Consultant (ACA, CCA, MCTS)
http://appsensebigot.blogspot.co.uk

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe ntsysadmin

Confidentiality Notice:
This e-mail, including any attachments is the
property of Catholic Health East and is intended
for the sole use of the intended recipient(s). 
It may contain information that is privileged and
confidential.  Any unauthorized review, use,
disclosure, or distribution is prohibited. If you are
not the intended recipient, please delete this message, and
reply to the sender regarding the error in a separate email.
 

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin<>

RE: Startup processes

2013-04-25 Thread Kennedy, Jim
IF NOT ERRORLEVEL 1 goto :SUCCESSshould be on it's own line.  Darn word 
wrap.

-Original Message-
From: Kennedy, Jim [mailto:kennedy...@elyriaschools.org] 
Sent: Thursday, April 25, 2013 9:24 AM
To: NT System Admin Issues
Subject: RE: Startup processes

Along Joseph's linesif you can control the process you are running on 
startup from a command line.


ECHO Checking connection, please wait...
PING -n 1 192.168.1.1|find "Reply from " >NUL IF NOT ERRORLEVEL 1 goto :SUCCESS
IF ERRORLEVEL 1 goto :FAIL

:FAIL
Goto :End (or whatever you want to do)

:SUCCESS
Run your process
:END






-Original Message-
From: Joseph L. Casale [mailto:jcas...@activenetwerx.com]
Sent: Thursday, April 25, 2013 9:14 AM
To: NT System Admin Issues
Subject: RE: Startup processes

If you can query for the process, can you not query the network?
Lookup the gateway and ping it...

From: kz2...@googlemail.com
Sent: Thursday, April 25, 2013 6:11 AM
To: NT System Admin Issues
Subject: Startup processes

On a Windows system, is there a process that runs on startup that will only run 
if there is network connectivity present? I've got a strange requirement and I 
need to be able to tell when the network is available, if possible.

TIA,


JR


Sent from my Blackberry, which may be an antique but delivers email RELIABLY

~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ 
<http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ 
<http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin


~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ 
<http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin


~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin



RE: Startup processes

2013-04-25 Thread Kennedy, Jim
" The other problem I've got is looping the routine enough to give it time for 
the network to connect"


:START
PING -n 1 192.168.1.1|find "Reply from " >NUL
IF NOT ERRORLEVEL 1 goto :SUCCESS
IF ERRORLEVEL 1 goto :FAIL

:FAIL
ping 192.0.2.2 -n 1 -w 1 > nul  (or some other non-existent address, will 
wait for 10 seconds)
goto :START

:SUCCESS
Run your process
:END


Might want to add a counter in there, so it exits after a certain number of 
tries. Set the whole thing as a startup scheduled task.



-Original Message-
From: Kennedy, Jim 
Sent: Thursday, April 25, 2013 9:19 AM
To: NT System Admin Issues
Subject: RE: Startup processes

Along Joseph's linesif you can control the process you are running on 
startup from a command line.


ECHO Checking connection, please wait...
PING -n 1 192.168.1.1|find "Reply from " >NUL
IF NOT ERRORLEVEL 1 goto :SUCCESS
IF ERRORLEVEL 1 goto :FAIL

:FAIL
Goto :End (or whatever you want to do)

:SUCCESS
Run your process
:END






-Original Message-
From: Joseph L. Casale [mailto:jcas...@activenetwerx.com] 
Sent: Thursday, April 25, 2013 9:14 AM
To: NT System Admin Issues
Subject: RE: Startup processes

If you can query for the process, can you not query the network?
Lookup the gateway and ping it...

From: kz2...@googlemail.com
Sent: Thursday, April 25, 2013 6:11 AM
To: NT System Admin Issues
Subject: Startup processes

On a Windows system, is there a process that runs on startup that will only run 
if there is network connectivity present? I've got a strange requirement and I 
need to be able to tell when the network is available, if possible.

TIA,


JR


Sent from my Blackberry, which may be an antique but delivers email RELIABLY

~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ 
<http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ 
<http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin


~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin



RE: Startup processes

2013-04-25 Thread N Parr
GPO  - Always wait for the network at computer startup.
Would this setting work for you, it won't let any other services start until 
the network is available.  Most people turn in on anyway because it solves a 
lot of other issues.


-Original Message-
From: kz2...@googlemail.com [mailto:kz2...@googlemail.com] 
Sent: Thursday, April 25, 2013 7:12 AM
To: NT System Admin Issues
Subject: Startup processes

On a Windows system, is there a process that runs on startup that will only run 
if there is network connectivity present? I've got a strange requirement and I 
need to be able to tell when the network is available, if possible.

TIA,


JR


Sent from my Blackberry, which may be an antique but delivers email RELIABLY

~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ 
  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~   ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin



Re: Startup processes

2013-04-25 Thread Ben Scott
On Thu, Apr 25, 2013 at 8:11 AM,   wrote:
> On a Windows system, is there a process that runs on startup that will only 
> run if there
> is network connectivity present? I've got a strange requirement and I need to 
> be able to
> tell when the network is available, if possible.

  Define "network connectivity".  Layer two link up?  Has an IP
address?  Has a default route?  Can ping the default gateway?  Can
reach an arbitrary host on the Internet?  Can do lookups against the
Active Directory Domain Controller?  Can ping your AppSense server?

-- Ben

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~   ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin


RE: Startup processes

2013-04-25 Thread Kennedy, Jim
Along Joseph's linesif you can control the process you are running on 
startup from a command line.


ECHO Checking connection, please wait...
PING -n 1 192.168.1.1|find "Reply from " >NUL
IF NOT ERRORLEVEL 1 goto :SUCCESS
IF ERRORLEVEL 1 goto :FAIL

:FAIL
Goto :End (or whatever you want to do)

:SUCCESS
Run your process
:END






-Original Message-
From: Joseph L. Casale [mailto:jcas...@activenetwerx.com] 
Sent: Thursday, April 25, 2013 9:14 AM
To: NT System Admin Issues
Subject: RE: Startup processes

If you can query for the process, can you not query the network?
Lookup the gateway and ping it...

From: kz2...@googlemail.com
Sent: Thursday, April 25, 2013 6:11 AM
To: NT System Admin Issues
Subject: Startup processes

On a Windows system, is there a process that runs on startup that will only run 
if there is network connectivity present? I've got a strange requirement and I 
need to be able to tell when the network is available, if possible.

TIA,


JR


Sent from my Blackberry, which may be an antique but delivers email RELIABLY

~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ 
<http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ 
<http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin


~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin



Re: Startup processes

2013-04-25 Thread James Rankin
I probably could.just I have a built-in Process Started trigger so it
would have been easier if there was a particular process that couldn't
exist without network connectivity.

The other problem I've got is looping the routine enough to give it time
for the network to connect, if it's going to. Again, trigger by process
would be so much simpler, but if it's not possible, I will have to look at
a scripted routine.

Cheers,



JR


On 25 April 2013 14:12, Joseph L. Casale  wrote:

> If you can query for the process, can you not query the network?
> Lookup the gateway and ping it...
> 
> From: kz2...@googlemail.com
> Sent: Thursday, April 25, 2013 6:11 AM
> To: NT System Admin Issues
> Subject: Startup processes
>
> On a Windows system, is there a process that runs on startup that will
> only run if there is network connectivity present? I've got a strange
> requirement and I need to be able to tell when the network is available, if
> possible.
>
> TIA,
>
>
> JR
>
>
> Sent from my Blackberry, which may be an antique but delivers email
> RELIABLY
>
> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~
> ~   ~
>
> ---
> To manage subscriptions click here:
> http://lyris.sunbelt-software.com/read/my_forums/
> or send an email to listmana...@lyris.sunbeltsoftware.com
> with the body: unsubscribe ntsysadmin
>
> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~
> ~   ~
>
> ---
> To manage subscriptions click here:
> http://lyris.sunbelt-software.com/read/my_forums/
> or send an email to listmana...@lyris.sunbeltsoftware.com
> with the body: unsubscribe ntsysadmin
>
>


-- 
*James Rankin*
Technical Consultant (ACA, CCA, MCTS)
http://appsensebigot.blogspot.co.uk

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~   ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin

RE: Startup processes

2013-04-25 Thread Joseph L. Casale
If you can query for the process, can you not query the network?
Lookup the gateway and ping it...

From: kz2...@googlemail.com
Sent: Thursday, April 25, 2013 6:11 AM
To: NT System Admin Issues
Subject: Startup processes

On a Windows system, is there a process that runs on startup that will only run 
if there is network connectivity present? I've got a strange requirement and I 
need to be able to tell when the network is available, if possible.

TIA,


JR


Sent from my Blackberry, which may be an antique but delivers email RELIABLY

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~   ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~   ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin