Control Panel
Forum
Hosting Help
6 Months free Hosting (New!)
Resources
Login
Members
Shared Hosting
|
New Features
|
Advertise
|
Tutorials
|
Product Reviews in India
|
Free aptitude test questions
|
TATA Nano Car reviews
Total
members
:
82076
Average new registrations per day (in last 7 days):
44
New Registration:
Open
Register Now
Home
»
Resources
»
A few Little Registry Tricks that will make your developing ...
ASP.NET
ADO.NET
Web Services
Remoting
Visual Studio 2005
Error Bank
Interview Questions
Tips & Tricks
XML
HTML
Jscript/Javascript
IIS
Windows
General
Submit Resource or code snippet
... and get
surprise gifts
Win Digital camera, ASP.NET Books, Free softwares!!
A few Little Registry Tricks that will make your developing life easier (Part 2) Vista Special
31 May, 2008
Author:
Elad Karako
Israeli Netanya Academic College (CS b.Sc)
Summary
and this time:
A vista (also XP) Trick- TakeOwnership Easy on those pesky blocked folders
.NET Classes used :
Registry Code Are Published in Red
Copy Those, Every Part==New reg File (File With .reg ext.)
So you Gone Vista Style ?
Do You Miss the Total Control of XP?
Some Folders in Vista OS are protected by Security, allowing only system access (some folders in c:\Doc & Setting For Example).
this is a good idea generally. But Not Always.
Copy this to a new reg file named
Vista TakeOwnership- Enable
Windows Registry Editor Version 5.00
[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"
"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"
Copy this to a new reg file named
Vista TakeOwnership- Disable
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\*\shell\runas]
[-HKEY_CLASSES_ROOT\Directory\shell\runas]
to Activate this option run ENABLE file, to bring your right click menu back to old self- run the DISABLE file
enjoy.
Elad
Feedbacks about this page from members:
- No Feedbacks yet !! -
Submit Feedback
View All Feedbacks
Partners
Privacy Policy
Terms of use
Contact Us
SpiderWorks Technologies.
All Rights Reserved.