How to Manage Local Groups on Windows Home
Ever helpful, Microsoft provides a GUI interface for managing users and groups on Windows. Unless you have a Vista home edition or a Windows 7 home edition, in which case you can’t find the interface to manage groups because it isn’t there. You can however manage groups very easily from the command line.
Manage Windows Groups from the Command Line
Command Line in your Start Menu Programs so that you can right-click on it and choose ‘Run As Administrator’
net localgroup /?
net localgroup MyNewGroupName /Add
net localgroup MyNewGroupName MyFirstUserName /Add
net localgroup MyNewGroupName MySecondUserName /Add
... and so on
And voila. You can now set security on folders in explorer, and use your new group to grant access.
If your Windows permissions are not working after you’ve granted new permissions, the usual trick is to lock and unlock your session (Start Menu — The Power/LogOff/Hibernate/Lock/Sleep button). Failing that, log out and back in again.
Net Localgroup Reference
Is here: http://technet.microsoft.com/en-us/library/cc725622(WS.10).aspx
There’s a handful of reasons that can cause this. The probably definitive list can be found by combing the apple tech support discussion thread for it at https://discussions.apple.com/thread/2586385?start=105&tstart=0
I recommend you start at the end of the thread where you’ll find the answers rather than at the beginning of the thread where’ll you find the kind of posts that people write when they’re tearing their hair out because their shiny expensive toy DOESN’T WORK.
The one that worked for me was:
- Restart the windows Bonjour service. If you don’t know how to do that, just restart your computer.
- The other popular one is: “Sorry bud, you need a new router.” Or if you’re ‘lucky’ just a firmware update (Have you ever tried updating your router firmware? I did it once). You can’t win then all.
Use setx to permanently set an environment variable
If you’ve used windows environment variables at all, you’ve probably wished you could set them in a command window for use in another program.
You can’t change the environment of an already-running program – the environment is copied when a program starts – but you can set environments values for your user session that will be picked up by any new programs you launch with setx:
setx myvariable thenewvalue
Much easier than right-clicking to get to My Computer properties.
setx /? will also tell you about setting permanent, machine-wide and remote machine environment values.
setx comes with Windows 7 or in the Windows Resouce Kit.
How to unset a variable set with setx
setx myvariable ""
See http://support.microsoft.com/kb/195050 for more details.
You have something like this:
Server Error in ‘/Vendorapplication’ Application.
Could not load file or assembly ‘Oracle.DataAccess’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.BadImageFormatException: Could not load file or assembly ‘Oracle.DataAccess’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
|An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
It’s because you are trying to run 32 bit dlls on a 64 bit system.
Fix it in IIS manager by changing the advanced settings on you application pool to enable 32 bit applications. Or create a new app pool specifically for them.
Alex James Brown has a nice picture: change app pool to 32 bit
Escape Characters in Windows’ CMD.EXE doesn’t entirely work for me. I wanted to embed or escape quote characters in a command line, to give to the binPath parameter of sc.exe to create a windows service. But this contribution from John McNelly in the comments did give the solution: