Category Archives: General

Enable Remote Desktop Remotely

Dear All

Please find herwith the script which will allow us to enable remote desktop remotely

the only condition is you should execute the below script on Domain Controller
and in script change the domain name

download script

Thanks,

Prashant Deshpande

1 Comment

Filed under General, IT Support, Operating System

Stop Filling Harddisk Space from System Restore

Dear All

This article shows how to stop the Harddisk space usage of System Restore in Vista

How System Restore works
System Restore is designed to take snapshots, called restore points, of your system state before certain types of operations, such as installing new drivers or installing Windows updates, are initiated. That way if a problem results from those types of operations, you can revert back to the restore point and essentially recover, or restore, your system to the state that it was in before the problem occurred.
These snapshots are taken by the Volume Shadow Copy Service. In addition to taking care of creating the restore points, the Volume Shadow Copy Service also monitors data files for the Previous Versions feature.
Using VSSAdmin
In order to manage the Volume Shadow Copy Service and ultimately System Restore, you’ll use the VSSAdmin command-line tool — there is no GUI tool in Vista for configuring System Restore. In order to run VSSAdmin, you must launch an elevated Command Prompt window.
To begin,
right-click on the Command Prompt shortcut
select the Run as Administrator command
When you encounter the UAC, you will need to respond appropriately.
You can now use the VSSAdmin command-line tool
to investigate and configure System Restore and the Shadow Copy Service.

For example, you can obtain a list of all the restore points currently saved on the system by using the command: vssadmin list shadows
You can see how much disk space is allocated to and used by System Restore and the Shadow Copy Service system by using the command:

c:\> vssadmin list shadowstorage
The investigation
On the Vista system that was running out of disk space, the result of the vssadmin list shadowstorage command is shown in Figure A. As you can see the Maximum Shadow Copy Storage space settings was set to Unbounded, which means that there is no limit to the size it can grow and it was already at 40GB.

Figure A

The Maximum Shadow Copy Storage space setting on the problem system was set to Unbounded.
On another Vista test system, running on an 80GB hard disk, the Maximum Shadow Copy Storage space setting was set to 11GB, as shown in Figure B. This was a much more reasonable value. Why the value on one of my test systems was set to unbounded while the others had specific maximum values, I’m not sure.

Figure B

The Maximum Shadow Copy Storage space setting on another system was set to 11GB.
The solution
You can reset the value of the Maximum Shadow Copy Storage space setting using the command:

vssadmin resize shadowstorage /for= /on= [/maxsize=
e.g.. i will reset the Maximum Shadow Copy Storage space setting to 15GB using the

command:
vssadmin resize shadowstorage /for=c: /on=c: /maxsize=15GB
Once the operation was complete, I restarted the system, and everything has been running normally since

Thanks

Prashant Deshpande

1 Comment

Filed under General, IT Support, Operating System, Server Infrastructure

Remotely Monitor Websites using Browser

Dear all

Following is the script which opens website in Internet explorer and collects the output from IE and if any error occurs in IE window it will send SMS and Email containing error caputered in IE window

it takes name of website from a text file and then opens in IE.

Requirement create Folder on c: with name c:\checkme1 keep the contains of zip file in it and schedule the script in task schedular

Click to Download

Thanks

Prashant Deshpande

Leave a comment

Filed under General, IT Support, Server Infrastructure, ServerMonitoring

Disable Restart Popup and Auto Restart on Servers

The Windows Automatic Updates feature is great, however those nagging reboot reminders can drive you crazy. I can only recommend to turn this off.

Usually, this restart now/restart later pop up appears when I am doing something important or when I have some remote connections open. In my view this feature doesn

Leave a comment

Filed under General

CustomeService

Dear All

Here is the document to create Service for any EXE file in Windows 2003 Server

http://itinfrablog.mkcl.org/wp-content/uploads/serverinfra/resource/Create+service.swf

Leave a comment

Filed under General

Combofix

 

Dear All

Today morning i got  call from Preeti Madam (Delhi), she was facing an problem that when she is opening the IE she is getting redirected to  http://flex.host-care.com/suspended.page and after changing the default website also redirecting to same site. ( Its was Browser Hijack Isuue)

Please find here with solution that i have tried and it has worked.

 http://itinfrablog.mkcl.org/wp-content/uploads/itsupp/resource/combofix.docx

Thanks

Prashant Deshpande

Leave a comment

Filed under General

Custon Service Creation

Dear All

Please find documentation for how to create our own windows service in Windows 2003 Server for any EXE file.

Click for Demo

Leave a comment

Filed under General