Showing posts with label REG file. Show all posts
Showing posts with label REG file. Show all posts

Monday, 14 July 2014

Restore taskmanager,regedit and gpedit.msc

Well many times we when our computer starts lagging or we need to kill any task which is acting as a barrier for healthy computing,then we sneak in the taskmanager and kill the desired process(es).But sometimes what we see is the taskmanager is locked.The option which should look something fig 1. is now greyed out resembling fig 2.
fig.1            fig.2
                             ( fig. 1 )                                                                ( fig. 2 )
Then a beginner geek would think that "oh it's just the option which is greyed out i will go to c:/windows/system32 and then run the taskmgr directly but when you try to do that it shows a warning msg like this.
taskmgr disabled by administrator message
even when you are using the administrator account.So what's the problem well the problem is serious the computer is infected by a virus which prevents the user from using taskmanager(taskmgr.exe),and it does that to protect itself from being killed.
taskmanager is not the only thing which the virus(es) disables.Some of the viruses also ceases access to critical applications like registry editor(regdit.exe) and gpedit.msc, because they both can be used to restore the task manager.
You can get the help of any antivirus program to remove the virus but these programs usually just remove the viruses but don't reverse the actions of virus(es)..
It's because disabling the taskmanager,registry editor and gpedit.msc is a feature of the windows which prevents the unauthentic changes in pc's settings by other users. So, antivirus(es) can't do it but we can, which proves the superiority of men over the robots...

Saturday, 16 November 2013

Access Edit and Delete all restricted files and folders with adding "Take Ownership" to right click

Sometimes you aren't able to access/delete specific folders or files...
and they are just adding a unneeded load to disk space and explorer's space
Now you can access those files and delete them
To do that you just need a ownership of the file...
you can do it with cmd or just by right clicking on it.But cmd is a long route...
so to do it easy and quick you just need to copy the code below and paste it into a new text document then change the extension of text file to .reg you may rename that file into TakeOwnership.reg

Windows Registry Editor Version 5.00
;created by itworld01.blogspot.com
[HKEY_CLASSES_ROOT\*\shell\runas] @="Take Ownership" "NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\*\shell\runas\command] @="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"br /> "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
[HKEY_CLASSES_ROOT\Directory\shell\runas] @="Take Ownership" "NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\shell\runas\command] @="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t" "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"

Now run the reg file you've created you'll get a pop up like this
Go for it,hit yes
Almost done
Now right click on anything you want to delete,click on the new "Take Ownership" option,which will appear something similar to this one
but be sure of what you're going to do, because now you have access to those file that you didn't suppose to...
if you'll delete something that you're systems need you will stand in no where and you're system will be just like a showpiece then.

so if you've children around which likes to play with the system or you have that kind friend,who want to kick your system to garbage , when you're not around and play like the innocent the safe thing is to remove that feature from your right click to do that you will have to create another reg file with the code below in it... and every other thing is same as above.

Windows Registry Editor Version 5.00
;created by itworld01.blogspot.com

[-HKEY_CLASSES_ROOT\*\shell\runas]

[-HKEY_CLASSES_ROOT\Directory\shell\runas]


What it does is it create an empty registry replacing the previous one getting rid of the feature you added now.This is the background thingy...for those who wanna increase your knowledge about windows registry editor, aha one thing more for them is now they know what to do if you wanna add something to your right click to do study the above key data,yet wanna help comment..

with taking the ownership you'll get access to a folder named "System Volume Information",which is there in every ntfs drive (in windows only).
And there are many more possibilities what you can do with it.
The only limit is your imagination
SO GO ON ----> THINK
Till then LIVE,BREATHE and BLOG... ;D