2,298 reputation
1819
bio website peter.hahndorf.eu
location Germany
age 47
visits member for 5 years, 1 month
seen Aug 14 at 7:00

Not sure about the 'super' but I am at least a power user.


Jan
17
comment How do I find all files that do NOT have SYSTEM permission?
@Chloe - There are indeed problems with this script if you have a very long path (>260), or if the file-name has an opening square bracket without a matching closing one. Ideally you want to avoid such names. Another script could find such files, but that should be a different question. It may also be possible to add error handling to this script and make it work.
Jan
17
comment How do I find all files that do NOT have SYSTEM permission?
@Chloe - You are right, I added a check for the everyone ace
Dec
26
comment UAC Status from Command Line
@BloodPhilia - In some edge cases this does not work. On my system EnableLUA is set to 0x1 yet still UAC is not active. This can happen on a server OS where you have removed the GUI components. UAC is never enabled on Server Core.
Dec
16
comment Having to type computer name in credentials to login via RDP
does it work when using .\username? Does it work using a different username?
Nov
17
comment Where can I purchase Windows 8.1 Enterprise 64 bit online?
You can not buy Windows Enterprise version in retail (shop or online), you have to settle with Pro.
Nov
14
comment Removing unused Windows Roles and Features in Server 2012
@Frank Thornton - uninstall-windowsfeature is very similar to Disable-WindowsOptionalFeature and you can use both. I would review the feature carefully before removing all unused ones, but you can remove them all in one go.
Nov
2
comment Location option missing from AppData\Local, others. Why?
Open the registry (regedit.exe) and navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer, review the values under the keys 'Shell Folders' and 'User Shell Folders'. Do they show what you expect?
Nov
2
comment Location option missing from AppData\Local, others. Why?
No need to boot from a CD, just log out of the account you want to move files for and log into another account to change the locations.
Nov
1
comment Batch script to remove # from a file name (only in a specific directory)
@tumchaaditya - Not off top of my head. I learned it by using it over the years. But there are tons of books and online resources out there.
Nov
1
comment Why is it bad to map network drives in Windows?
It's only a few more lines of code to enumerate all local servers and all available shares on them. So just because the current versions don't affect shares, it doesn't mean you are safe, just because you don't map drives.
Oct
25
comment Can I prevent a driver from being installed with windows 8.1?
I doubt this applies to the Windows 8.1 update process. These are settings for the normal operation of the OS. But worth a try.
Oct
24
comment Win7/8: When starting any link as administrator, it ignores the “Start in” setting
I just created a small console program which just prints the current working directory. I does print the directory I specified in 'Start in' regardless whether I started it as normal user or elevated. Do you have other examples where this is a problem? I don't know MatLab, but why would you ever need to run this elevated? If it lets you start other programs, that's another reason not to run it elevated.
Oct
20
comment How to upgrade to Windows 8.1 on a machine with a Users folder on a separate drive?
Why don't you move your users directory back to C: then upgrade and finally move it back to D:
Oct
19
comment Installing the Windows 8.1 update on a non-admin account?
@JamesMcMahon - Both 'net...' and the GUI are using the same internal Windows commands. You could use the GUI if you prefer. Command line is usually quicker if you know what you are doing. No there are no long term problems. If you don't want to change your main account, create a new one, make it a member of the administrator group, upgrade and then delete it. It's pretty painless.
Oct
19
comment What's the difference between a 32-bit and 64-bit program in Windows
Good explanation. There is one aspect that needs clarification: 'relatively easy for the OS to run 32-bit programs while in 64-bit mode'. 32-bit program don't run in 64-bit mode and it is not easy to do that. They run in a different Subsystem of the OS, in this case in WOW64 (Windows on Windows 64). In certain versions of Windows you can remove WOW64 and no 32-Bit Windows program will run in such an environment.
Oct
19
comment No internet access when using static IP
@Endy is NOT using VirtualBox, he is using Hyper-V.
Oct
18
comment Is there a way I can share the 3.42 GB download of Windows 8.1 from Windows Store?
@Louis - I didn't try a second install. I compared the command line which was used by WindowsStoreSetupbox.exe after I downloaded it from the store. I'm just saying mine were different.
Oct
18
comment Is there a way I can share the 3.42 GB download of Windows 8.1 from Windows Store?
In my case both the ClassId and the ReportId were totally different, so these may be random values and not constants. SessionId was different as well, in my case 6.
Oct
10
comment Any advantage of using Windows Server 2012 R2 instead of Windows 8.1 for a workstation
@Danish - Yes, you can some tweak things yourself, but that's a different topic and hard to answer in a comment. If you are interested, ask another question on how to make a server OS behave more like a Workstation.
Oct
9
comment Is SQLCMD part of the DB Engine or Client Tools?
@RandolphWest - At least for 2008 R2, if you install without the Management Tools Basic, you still get sqlcmd.exe, I've done that many times on Windows Server Core machines and use sqlcmd there all the time. I will check about this for 2012.