Really quick one.
To set Windows server passive port range you should use adsutil.vbs which is one of the administration scripts located usually at: ï»¿ï»¿ï»¿C:>\Inetpub\AdminScripts . I am saying usually as the Windows server installation could be on a different drive.
The issue with the Windows passive port range is that the default firewall (firewall.cpl) does not have option or field to open port range, and often when you setup FTP on your Windows server an try to connect with FTP client it may appear with error similar to this one bellow.
As you can see from the log, you can connect to the server using FTP, but when you try to do something like listing directory content or copying files it times our. The reason is because the FTP client is trying to connect trough any opened port above 1024 one. (The usual default range is a big one. For example between 40000 and 45000)
You can add several ports manually, but if you have many FTP users, their FTP clients may exceed the port range number and will face the same issue as above. Try using this for testing purposes only (to make sure the issue is because passive port range is not set).
To set passive FTP port range on a Windows server the command should be executed via the command line. So go to Start -> Run… type cmd and then:
C:\Inetpub\AdminScripts>adsutil.vbs set /MSFTPSVC/PassivePortRange "40000-45000"
The result should be similar to this one:
Once executed you should not have further issues with Passive mode using your FTP client.
Another method to enable Passive Port Range on Windows 2008 is to execute the following command:
netsh advfirewall set global StatefulFtp enable
It should return one big ‘OK’, and passive FTP access will be possible.
This will be basic tutorial about how to set scheduled task in Windows 2008.
First go to the Administrative Tools – Task Schedule.
Once opened, you will see the Task Scheduler window. If it is not something special, you can just create basic task on your Windows 2008. Just click on the link located at right filed under actions.
The very first step will be to set scheduled task description :
The next one will be to choose scheduled task trigger :
Windows 2008 Task Scheduler has the following trigger options you can choose from: Daily, Weekly, Monthly, One time, When the computer starts, When I log on, When a specific event is logged. All of them are self-explainable so pick the one you need. In my case the scheduled task will be on daily basis.
Choose the time-frame you want the task to be executed, and then click Next for the scheduled task action:
I will start simple script which will restart IIS using “iisreset” command.Use the browse button to locate the application or the script you want to be scheduled.
The next will be to finish the task setup.
- set up scheduled task server 2008 (2)
- auto reboot sgeduler win2008 (1)
- ssd7sc240gopt-rb (1)
- scheduling an IIS reset with task scheduler (1)
- scheduled task iisreset (1)
- schedule iis restart windows 2008 (1)
- restart services scheduled tasks server 2008 (1)
- how to setup a new scheduled task 2008r2 (1)
- how to reset windows 2008 with task sc (1)
- create task shutdown windows server 2008 weekly (1)
- Windows 2008 Task Scheduler Reboot (1)