If you have the problem with this crap Vista based Windows Server 2008 that you want to delete a file owned by "TrustedInstaller", how many clicks do you need?
1.) Right Click on the file
2.) Left Click on "Properties"
3.) Left Click "Security Tab"
4.) Left Click "Advanced" Button
5.) Left Click "Owner" Tab
6.) Left Click "Edit" Button
7.) Left Click UAC "Continue" Button
8.) Left Click "Administrators"
9.) Left Click "OK" Button
10.) Left Click "OK" Button of Security Dialog
11.) Left Click "OK" Button
12.) Left Click "Edit" Button
13.) Left Click UAC "Continue" Button
14.) Left Click "Administrators" Button
15.) Left Click "Full Control" Checkbox
16.) Left Click "OK" Button
17.) Left Click "OK" Button
18.) Right Click "File"
19.) Left Click "Delete"
20.) Left Click "Continue" Button
21.) Left Click UAC "Continue" Button
And you need to do this for every single file.
Are you fucking kidding me?
Thanks god there are a few commandline utilities that do the job just as expected:
start an elevated "cmd"
Use:
takeown /f <FileOrDirectory> /r /a
icacls <FileOrDirectory> /grant administrators:F /t
Showing posts with label Windows Server 2008 R2. Show all posts
Showing posts with label Windows Server 2008 R2. Show all posts
Wednesday, February 24, 2010
Friday, January 8, 2010
How to install SQLXML 3 on IIS 7 (Windows Server 2008 64 Bit)
The release notes of SQLXML 4.1 state, that if you need SQLXML with ISAPI (Internet Information Server) support, the latest version for you is SQLXML 3 SP3.
If you try to install it on a Windows Server 2008 R2 64Bit you might see 2 issues with that:
After installing you click "Start - SQLXML 3.0 - Configure IIS Support"
If you get the error
"An error occurred connecting to 'server'. This server does not exist or is unavailable."
apply the following solution
The second error can occur if you attempt to call one of the xml templates and IIS just gives a 500 error 0x800700c1. Permissions and all appear correct. The IIS Virtual Direcotry Manager for SQLXML 3.0 throws an error when I attempt to Restart Application DLL "Error occurred unloading the application".
Then apply the following solution:
If you try to install it on a Windows Server 2008 R2 64Bit you might see 2 issues with that:
After installing you click "Start - SQLXML 3.0 - Configure IIS Support"
If you get the error
"An error occurred connecting to 'server'. This server does not exist or is unavailable."
apply the following solution
Click "Start - Administrative Tools - Server Manager"
in the Server Manager go to
"Roles - Webserver (IIS)"
Go to section "Role Services"
verify that all of "IIS 6 Management Compatibilty" packages are installed.
After I installed the IIS 6 compatibility packages the SQLXML 3 snapin starts and connects just fine.The second error can occur if you attempt to call one of the xml templates and IIS just gives a 500 error 0x800700c1. Permissions and all appear correct. The IIS Virtual Direcotry Manager for SQLXML 3.0 throws an error when I attempt to Restart Application DLL "Error occurred unloading the application".
Then apply the following solution:
1. Open IIS Manager, Select Application Pools.
2. Under Actions pane, Select 'Set Application Pool Defaults'.
3. Set 'Enable 32-bit Applications' to 'True'. (Solution found here)
Subscribe to:
Posts (Atom)