Browsing articles in "Win OS"
Sep
28
2017

Capture High CPU consuming process using Process Explorer

As a DBA we encounter situations when CPU is high on a DB server but DB is not consuming any CPU, we can see the processes consuming high CPU but don’t know how to identify that what process is doing causing issue and in cases where process is an encapsulated process like wscript.exe or any other system process we generally recommend server reboot but that generally washes out all logging; now as a DBA we […]

Jul
25
2016

Windows Task Scheduler Error – transaction support within the specified resource manager is not started

While deleting a task in task manager, received following error reported by my team,   Error: “transaction support within the specified resource manager is not started or was shutdown due to an error”     We tried multiple options to modify job and delete but nothing worked, On further google search found that issue is similar to found on following forum,   http://answers.microsoft.com/en-us/windows/forum/windows_7-performance/transaction-support-within-the-specified-resource/fba64f34-4c16-4551-82d7-f22169be0d97?auth=1   Executed following command on server, fsutil resource setautoreset true c:\   […]

May
11
2016

Fix: Issue with Remote Desktop screen resolution while working from a high resolution system

Came across a unique issue on a friend’s laptop where he has high resolution screen but when trying to remote desktop any server then the remote server also inheriting the same resolution and text looks very small, MSTSC settings, desktop resolution settings, etc. everything is tried what possible but it didn’t fixed the issue. To resolve this, he found following solution to fix. Note: I am writing this post to keep a record of this […]

Jul
20
2015

SQL server setup failure – Updating permission setting for file E:\**** failed

While re-installing SQL server, got below error,       To fix this execute below commands with elevated access in command prompt so that permissions get applied to respective path,   Eg: takeown /F c:\Windows\system32\drivers /D y /R    In our scenario commands are provided below:   Here path is “F:” which is a parent folder.   takeown /F F: /D y /R   cacls F: /E /T /C /G “<<<user_AD_account_name>>>“:F

May
29
2013

How to read/edit LARGE text files (size in GB ~ +50GB)

When you try to open a text or some kind of text based log file of size in GB’s say 51GB in NOTEPAD or NOTEPAD++ or WORDPAD, you will get following error,     Now the question is how to read or edit such large file, answer is,   1. If you are just interested in reading it page by page without impacting any CPU or memory, the do following, Start > Run > type […]

Apr
30
2013

Write a Batch (.bat) file error handler for SQL instance down when fetching details from several SQL Servers

I have written several batch files to automate activities in SQL Server environment and send HTML reports over email on completion; but whenever SQL Server is down or server is unavailable then the HTML output get disturbed as no error handling is being done. When tried to write error handling to fix the issue, faced trouble as was using following code as part of an error handling,   FOR /F “tokens=1,2 delims=,” %%G in (%CD%\SQLServerList_SQLReport.txt) […]

Jan
14
2013

Copy folder along with security parameters (ACL) using Robocopy utility

Robocopy is very useful Microsoft provided utility and it comes preinstalled in SQL Server 2008 onwards and can be installed via rktools.exe toolkit in Windows Server 2003 (link)   You can check if Robocopy is installed or not via opening command prompt as, Run>CMD> <type Robocopy /?> If it shows parameter list then Robocopy is installed on your system else download and install (if you are not allowed to install anything on your server, then […]

Dec
21
2012

Issue with Copy Paste in Windows – ctrl^C and ctrl^V not working

If you are working with remote computer and see that ctrl^C and ctrl^V (i.e. copy paste) is not working then culprit can be clipboard or remoteclip or ASC, please find below solution to fix these issues, How to Clear Clipboard in Windows How to Clear Clipboard on Windows XP: Click the “Start” button and enter “Clipbrd” into the “Run” field. A record of recent clipboard content will appear. Select “Edit” from the top of the […]

Dec
17
2012

How to Echo text in HTML file using batch script

Today while writing script I need to echo output to an html file using batch file, so requirement is, I need to insert a break and then text in center of email, text as “—————–Database Report———————-“, now to do this you need to use carrot, see below, My batch script looks like, SET currentdirectory=%CD% echo ^<BR^> > “%CD%\output.htm” echo ^<center^>^———–Database Report————–^</center^> >> “%CD%\output.htm”     Hope it helps!   Reference: http://forums.devshed.com/other-programming-languages-139/echo-html-in-a-batch-file-339368.html

Dec
5
2012

Fix Msvcp71.dll and Msvcr71.dll Missing Error

There are many applications which use these system dll for e.g. BMC client, etc., if you see these dll’s missing error then follow below tip, 1. Download both dll’s from this link: http://www.addictivetips.com/windows-tips/fix-msvcp71-dll-and-msvcr71-dll-missing-error-in-windows-7/ or you can use someone else system and copy these dll’s as well (if available) Note: Although it is not recommended method to download dll from third party website to avoid any damage to system, but personally I have used above link […]

Pages:12»

Subscribe to this blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 24 other subscribers

Translate this blog!

EnglishFrenchGermanItalianPortugueseRussianSpanish

Calender

October 2017
M T W T F S S
« Sep    
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

View Post by Categories

%d bloggers like this: