How to find Windows uptime?

Option 1:

1. Go to “Start” -> “Run”.

2. Write “CMD” and press on “Enter” key.

3. Write the command “net statistics server” and press on “Enter” key.

4. The line that start with “Statistics since …” provides the time that the server was up from.

The command “net stats srv” can be use instead.

Option 2:
Uptime.exe Tool Allows You to Estimate Server Availability with Windows NT 4.0 SP4 or Higher
Uptime.exe is a standalone program. To install the tool, simply copy the file into your Windows NT directory. You may then run the tool at a command prompt.

For extended help on this tool, type the following at a command prompt:
uptime /help
This tool is most accurate when run with administrator privileges, however, even without administrator privileges, the tool attempts to make a best estimate based on available information. In all cases, the results should be considered estimates.

It is important to note that the uptime and availability measurements reflect the local view of the operating system only. The “Total Uptime” measurement refers to the sum of all the time during the measured period where the operating system reported itself to be in normal operation. It does not reflect times when the server might be unavailable for other reasons, such at network outages.

It is also important to note that although the operating system is functioning normally, this does not mean that the server programs running on that server are operating normally. For instance, the operating system may be available, but a database running on that server may not be operating correctly.


Configure Dropbox as Service on Windows 2008 Win 7

– Remote desktop to your server (e.g.: with username = YourUser)

– On server, download dropbox.exe to C:\
– Start command prompt (with “YourUser” please, the idea is dropbox will be installed under this account credential and its role/right)
– Install dropbox by command prompt:

"C:\dropbox.exe" /D=C:\Program Files\Dropbox

– Run through DropBox setup, login to dropbox, use advanced install, determine local folder for sync, …
– (very important) Start Dropbox, Preferences -> uncheck “Show desktop notifications” and “Start Dropbox on system startup
– Exit dropbox (right click tray icon, Exit)
– Check StartMenu/Startup folder, remove the Dropbox shortcut (if any)
– Download Windows Server 2003 Resource Kit Files (Win2003, 2008 can use)
– Install it into your server (don’t worry about conflict, they are all M$ stuff, and they just extracts to folder)
– on command prompt, create Service by:

"C:\Program Files (x86)\Windows Resource Kits\Tools\instsrv" DropBoxService "C:\Program Files (x86)\Windows Resource Kits\Tools\srvany.exe"

– Start/Run, “Regedit”, go to

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DropBoxService

– Create KEY Parameters
– Create String value name “Application“, value C:\Program Files\Dropbox\Dropbox.exe /home
– Create String value name “AppDirectory“, value C:\Program Files\Dropbox
– Go to Administration Tools / Services -> DropBoxService -> Properties -> Log on -> Use “YourUser
– Change the service startup type to “Automatic
– Start service

That’s fine. Now you can logoff, disconnect from the server and Dropbox still up and running, sync your file.


Changing the domain in WordPress Multi Site.

If you have to or want to change the domain of your WordPress MU site. The domain name is actually stored in different places in the database, as well as online in wp-config.php. Every instance of these will need to be changed.

Before you do anything create a  backup. Go to phpMyAdmin, select your database, and choose Export. Save it to your computer. We’ll be making a copy of this and working on the copy. This way, if anything goes wrong, we still have our backup.

Continue reading…


WordPress Subfolder Multisite .htaccess file


RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]


Exchange 2007 – A reboot from a previous installation is pending.

Remove the following key will solve the issue most of the times:

HKLM\SYSTEM\CurrentControlSet\Control\SessionManager\PendingFileRenameOperations

Microsoft Exchange Server setup cannot continue because a restart from a previous installation or update is pending.

The Exchange Server Analyzer reads the following registry key to determine whether a system restart is required after installation or removal of a software update such as a security update, critical update, or hotfix.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\UpdateExeVolatile

 
Continue reading…


Unable to obtain settings for Remote Agent Publishing from the registry” occurs after launching the Backup Exec Remote Agent Utility and clicking on the Publishing Tab

Grant Full Control Permissions for the Administrators, System Account and Backup Operators Group to the following registry key on the remote machine.

 HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Backup Exec For Windows
Launch the Backup Exec Remote Agent Utility and click on the Publishing Tab.  If the same error appears, uninstall the Remote Agent, reboot, and reinstall the latest or same version of the remote agent that is installed on the media server.