•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Windows tips 'n' tweaks section within the Tech Talk category of DaniWeb, a massive community of 361,618 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,182 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Windows tips 'n' tweaks advertiser:
Views: 2539 | Replies: 12
![]() |
•
•
Join Date: Aug 2007
Posts: 85
Reputation:
Rep Power: 1
Solved Threads: 0
No ones mentioned vista tweaks so far But then again i could have easily missed huge bold letters that said NO VISTA or something even reading it twice.
I thought it would be interesting to trade tips or tricks, secrets ... whatever.
Anything form configuring a hard drive for better sata performance. cash, indexing ect
To - Registry entries for disabling the language bar or anything else like the runonce in a fresh install of IE7
Editing half open connections or blocking IPs using the HOST file.
anything new, and if it is something I've heard before I will appreciate that too. Its always good to recap or see things from a different angle.
Thanks in advance. -Agita
I thought it would be interesting to trade tips or tricks, secrets ... whatever.
Anything form configuring a hard drive for better sata performance. cash, indexing ect
To - Registry entries for disabling the language bar or anything else like the runonce in a fresh install of IE7
Editing half open connections or blocking IPs using the HOST file.
anything new, and if it is something I've heard before I will appreciate that too. Its always good to recap or see things from a different angle.
Thanks in advance. -Agita
Show Super hidden files:
Even if you turn on show hidden files in Windows Explorer some files will remain hidden. These files are super hidden.
Set the registry value below to 1.
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "SuperHidden" = 1
Then reboot.
Delete a System or Locked File
1. First you need to take ownership of the file. Run takeown /f "path and file name" to take ownership from a command prompt.
2. Next, you need to give your account full control permissions on the file. Run cacls "path and file name" /G <your username>:F to get full control from a command prompt.
Find out what processes are being used the most
1. Click on the Start Button and type Reliability. Click on the Reliability and Performance Monitor shortcut.
2. On the main screen click on the Disk section down arrow to see a list of all processes and the files they are writing or reading from your drives.
3. Click on the Read or Write headings to sort all disk operations to identify which process and file is currently using the disk the most.
Will post more later.
Even if you turn on show hidden files in Windows Explorer some files will remain hidden. These files are super hidden.
Set the registry value below to 1.
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "SuperHidden" = 1
Then reboot.
Delete a System or Locked File
1. First you need to take ownership of the file. Run takeown /f "path and file name" to take ownership from a command prompt.
2. Next, you need to give your account full control permissions on the file. Run cacls "path and file name" /G <your username>:F to get full control from a command prompt.
Find out what processes are being used the most
1. Click on the Start Button and type Reliability. Click on the Reliability and Performance Monitor shortcut.
2. On the main screen click on the Disk section down arrow to see a list of all processes and the files they are writing or reading from your drives.
3. Click on the Read or Write headings to sort all disk operations to identify which process and file is currently using the disk the most.
Will post more later.
•
•
Join Date: Aug 2007
Posts: 85
Reputation:
Rep Power: 1
Solved Threads: 0
WOW thanks. I didn't think anyone would reply
I haven't heard of super hidden files in a long time. Do they still work in vista? ( Also what are they used for?.....I guess I could google it )
The Ownership and permissions form command line is great info. Thanks for the tip, I'll probably need to use it in about 10 minutes. lol.(seriously)
I use the rightclick and take ownership function a lot
---add
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"
--add
I use that a lot but I always prefer to know the command for the function. By the way What is the correct way to post code or commands?
The most used processes is pretty cool Ill check that out
THANKs man ----AGITA
I haven't heard of super hidden files in a long time. Do they still work in vista? ( Also what are they used for?.....I guess I could google it )
The Ownership and permissions form command line is great info. Thanks for the tip, I'll probably need to use it in about 10 minutes. lol.(seriously)
I use the rightclick and take ownership function a lot
---add
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"
--add
I use that a lot but I always prefer to know the command for the function. By the way What is the correct way to post code or commands?
The most used processes is pretty cool Ill check that out
THANKs man ----AGITA
Post code using the Code option on the advanced edit looks like #
Glad you found the post useful, will post some more later for you.
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"
Glad you found the post useful, will post some more later for you.
•
•
Join Date: Aug 2007
Posts: 85
Reputation:
Rep Power: 1
Solved Threads: 0
Thanks for the info!
Do you know how in vista to take full permission of an entire HDD? I am an IT, I reload 5 to 10 systems a day, from different customers. That means taking ownership and effective permissions of each account that has a password. It kind of gets anoying when all five kids have passwords and each account is marked private. All I have to do is save their data and reload their system. Normaly in XP I would use the System Privilege Escalation which gave me instantly all power to get to their stuff and get out. Now that everything has switched to vista It takes me longer to get in and out. (And no i don't want to dual-boot,..lol)
Any Ideas?
And
I get "NOTE: Cacls is now deprecated, please use Icacls."
Would you elaborate on this? Please.
Thanks ----AGITA
Do you know how in vista to take full permission of an entire HDD? I am an IT, I reload 5 to 10 systems a day, from different customers. That means taking ownership and effective permissions of each account that has a password. It kind of gets anoying when all five kids have passwords and each account is marked private. All I have to do is save their data and reload their system. Normaly in XP I would use the System Privilege Escalation which gave me instantly all power to get to their stuff and get out. Now that everything has switched to vista It takes me longer to get in and out. (And no i don't want to dual-boot,..lol)
Any Ideas?
And
•
•
•
•
cacls "path and file name" /G <your username>:F to get full control from a command prompt.
I get "NOTE: Cacls is now deprecated, please use Icacls."
Would you elaborate on this? Please.
Thanks ----AGITA
Last edited by Agita : Feb 22nd, 2008 at 11:32 am.
Yes, you almost always get that error in Vista, So you use the Icals instead.
To change an owner using Icals is as follows:
You could also then use the same command to do the entire HDD: Though I would be really careful with ownership and permissions.
Permissions can be a huge nightmare, if your not careful, you will deny access to the original owner, causing loads if issues. I would use Vista's Audit/XP's own permissions and give yourself full access to the files.
You can also use a group policy to do this too, but that's a different tutorial.
I can explain all about Icals if you want.
To change an owner using Icals is as follows:
C:\>icacls c:\test /setowner knight processed file: c:\test Successfully processed 1 files; Failed processing 0 files
C:\>icacls c:\ /setowner knight
Permissions can be a huge nightmare, if your not careful, you will deny access to the original owner, causing loads if issues. I would use Vista's Audit/XP's own permissions and give yourself full access to the files.
You can also use a group policy to do this too, but that's a different tutorial.
I can explain all about Icals if you want.
•
•
Join Date: Aug 2007
Posts: 85
Reputation:
Rep Power: 1
Solved Threads: 0
Icacls looks to be a good tool, but I will test it before I use on a customers computer.
To explain myself a little better I co-own a computer business. We do a lot of server maintenance and networking, as well we have a storefront. If a customer comes with a computer that won't boot or bluescreens, finger-fumbled ..ect. We , to save time and effort, save their data wipe the system and reload their OS. After a reload we re set-up their accounts and add their data back to its respective places. So the place that slows me down the most is saving their data because of "access denied".
Xp was a breeze but vista slows me down and now even our bench computer runs vista. I'm just looking for a way to speed up our downtime.
--possible you would know........mmm
In xp I could schedule a task to run interactively via
But in vista the application says action will be scheduled but not interactively due to security threat.
In this manner I would have access to all their data with no comprimise to their system or lack of time in mine. Do you know of any way to get around it or allow interactive tasks to be created using "at" ?
-AGITA
To explain myself a little better I co-own a computer business. We do a lot of server maintenance and networking, as well we have a storefront. If a customer comes with a computer that won't boot or bluescreens, finger-fumbled ..ect. We , to save time and effort, save their data wipe the system and reload their OS. After a reload we re set-up their accounts and add their data back to its respective places. So the place that slows me down the most is saving their data because of "access denied".
Xp was a breeze but vista slows me down and now even our bench computer runs vista. I'm just looking for a way to speed up our downtime.
--possible you would know........mmm
In xp I could schedule a task to run interactively via
at (time) /interactive "whatever"
But in vista the application says action will be scheduled but not interactively due to security threat.
In this manner I would have access to all their data with no comprimise to their system or lack of time in mine. Do you know of any way to get around it or allow interactive tasks to be created using "at" ?
-AGITA
•
•
Join Date: Aug 2007
Posts: 85
Reputation:
Rep Power: 1
Solved Threads: 0
Kill vista sidebar, I'm not sure how to do thru menus but you should be able to kill it through the registry. REMEMBER! even though you might kill it in HKCU or HKLM there are still 4 more processes that run. They are in the USERS key. Under random locations.
HKEY_USERS\S-1-5-19 and HKEY_USERS\S-1-5-20 normaly
But it varies from system to system. there will be on in the key (HKEY_USERS\S-1-5-21-2743702872-4047397652-2850579867-1000) or whatever the first long name key is.
The autostart will be in the same respective place as in HKCU or HKLM
KILL USER ACCOUNT CONTROL:
Control Panel
System and Maintenance
Administrative Tools
System Configuration
Press Continue button
Tools Tab
Select "Disable UAC"
Launch
OK and Restart
KILL SYSTEM RESTORE :
Control Panel
System and Maintenance
Select Backup and Restore Center
Select Create a restore point or change settings (on the left side)
Select the Continue button (if UAC is active)
Select System Protection Tab (should be there already)
Uncheck your hard drives listed under "Automatic restore points"
Turn System Restore Off button
Ok button to apply the settings
KILL INDEXING :
Control Panel
Select System and Maintenance
Indexing Options
Modify button
Select the Show all locations button
Double click "Users" in the "Summary of selected locations"
Uncheck Users directory
Double click "Start Menu " in the "Summary of selected locations"
Uncheck Start Menu directory
Select the Ok button to close the panel
Just a few I thought of (aka found an old list).
-----------------------------------------------------
-----------------------------------------------------
-----------------------------------------------------
MORE LATER, Hope it helps someone -AGITA
HKEY_USERS\S-1-5-19 and HKEY_USERS\S-1-5-20 normaly
But it varies from system to system. there will be on in the key (HKEY_USERS\S-1-5-21-2743702872-4047397652-2850579867-1000) or whatever the first long name key is.
The autostart will be in the same respective place as in HKCU or HKLM
KILL USER ACCOUNT CONTROL:
Control Panel
System and Maintenance
Administrative Tools
System Configuration
Press Continue button
Tools Tab
Select "Disable UAC"
Launch
OK and Restart
KILL SYSTEM RESTORE :
Control Panel
System and Maintenance
Select Backup and Restore Center
Select Create a restore point or change settings (on the left side)
Select the Continue button (if UAC is active)
Select System Protection Tab (should be there already)
Uncheck your hard drives listed under "Automatic restore points"
Turn System Restore Off button
Ok button to apply the settings
KILL INDEXING :
Control Panel
Select System and Maintenance
Indexing Options
Modify button
Select the Show all locations button
Double click "Users" in the "Summary of selected locations"
Uncheck Users directory
Double click "Start Menu " in the "Summary of selected locations"
Uncheck Start Menu directory
Select the Ok button to close the panel
Just a few I thought of (aka found an old list).
-----------------------------------------------------
-----------------------------------------------------
-----------------------------------------------------
MORE LATER, Hope it helps someone -AGITA
•
•
Join Date: Jun 2006
Location: United Kingdom
Posts: 813
Reputation:
Rep Power: 4
Solved Threads: 8
Hello!
Looking at the posts you guys will proberbly know this lol
I recently wanted to do a clean re-install of vista on my laptop, but it's an upgrade version and won't allow it. My quick solution to that was to carry on as an upgrade making sure I have enough space, after making sure I had backed up any work I removed Windows.old - cleared about 20GB of rubbish off my system and works fine!
Second, the boot screen; Vista is renowned for having a boring boot screen but by opeing msconfig then boot - then 'no gui boot' it'll change to a more fancy looking screen!
One problem though; I have a few files that when I try to delete or open them I get a message saying I don't have authority to do that - but it's my own laptop, I'm the sole user & my account is set up as an administrator, tried turning uac off but still does it? lol
Looking at the posts you guys will proberbly know this lol
I recently wanted to do a clean re-install of vista on my laptop, but it's an upgrade version and won't allow it. My quick solution to that was to carry on as an upgrade making sure I have enough space, after making sure I had backed up any work I removed Windows.old - cleared about 20GB of rubbish off my system and works fine!
Second, the boot screen; Vista is renowned for having a boring boot screen but by opeing msconfig then boot - then 'no gui boot' it'll change to a more fancy looking screen!
One problem though; I have a few files that when I try to delete or open them I get a message saying I don't have authority to do that - but it's my own laptop, I'm the sole user & my account is set up as an administrator, tried turning uac off but still does it? lol
travel rig; acer 3610, windows vista home premium, 1024mb ram + 1770mb virtual ram, 80gb hard disk, tv tuner, wlan, dual layer dvd burner
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Windows tips 'n' tweaks Marketplace
•
•
•
•
activation aero ajax apple choose code computer crack cracked dell development dns fiji hack internet ip key kms leopard license linux mac management microsoft news office open operating os pc pirate product registration security serial service software source sql system technology tiger torvalds unix upgrade vista volume windows windows vista xp
- Need More Tricks, tips, and tweaks for xp/vista (Windows tips 'n' tweaks)
- Vista Installation Nightmare- UPDATE!! (Windows Vista)
- Some Vista Features (Windows Vista)
Other Threads in the Windows tips 'n' tweaks Forum
- Previous Thread: Registering / unregistering DLL's
- Next Thread: Swapping a hard drive (cat access files)


Linear Mode