Group Policy to Turn Off Display

To turn off the user’s monitor/display to save power and extend monitor life using Group Policy & Active Directory, consider the following group policy setting:


Computer Configuration > Policies > Administrative Templates > System > Power Management > Video and Display Settings > Turn Off the Display (Plugged In or On Battery)

Lock screen using Group Policy without setting a screen saver server 2012


To lock screen of workstation  using Group Policy without setting a screen saver, after certain time screen will be locked.


Computer Config > Policies > Windows Settings > Security Settings > Local Policies > Security Options > “Interactive logon: Machine inactivity limit”



Simple Cake

butter cake light 02Ingredients

Butter 8 ounces
Sugar 8 ounces
Flour 8 ounces
Eggs 4
Baking powder 2 tsp heaped
Milk ¼ cup
Vanilla essence 1 tsp
Yellow color few drops
Sieve together flour and baking powder and keep aside. Beat butter and sugar till light and fluffy add vanilla essence, start adding your eggs one by one alternating with sieved mixture of flour and baking powder 1 tbsp at a time, lastly add fold in the remaining flour with milk and yellow color, pour mixture into well greased loaf tin or into paper lined muffin tray, bake in a pre heated oven on no. 4 or 180 degree C for 35 minutes, remove, cool and serve.

Chapli kabab

Chapli kabab

Mince ½ kg
Butter 2 ounce
Crushed red pepper 1 tbsp
Crushed coriander seeds 1 tbsp
Crushed cumin seeds 1 tsp
Pomegranate seeds crushed 1 tbsp
Wheat flour 3 tbsp
Eggs 2
Spring onion 2 chopped
Tomato 1 sliced
Coriander leaves chopped 2 tbsp
Green chilies chopped 4
Salt 1 ½ tsp
Ghee for frying


In a bowl mix together mince ½ kg
Butter 2 ounce
Crushed red pepper 1 tbsp
Crushed coriander seeds 1 tbsp
Crushed cumin seeds 1 tsp
Pomegranate seeds crushed 1 tbsp
Wheat flour 3 tbsp
Eggs 2
Spring onion 2 chopped
Coriander leaves chopped 2 tbsp
Green chilies chopped 4
Salt 1 ½ tsp well, keep aside for 1 hour, make into big kababs, shallow fry in ghee, fix 1 slice tomato onto each kabab before frying. Fry light golden.

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


– 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.