ADSI Edit contains a variable to hide the user account from the non-advanced view in Active Directory Users and Computers. There are certain use cases for this feature but for the most part it shouldn’t be used often. See the image for the setting in ADSI Edit.
In Active Directory users and computers, right click Queries> New. Give it a name, click “define query”. Stay on the “Users” tab. Select “Is not” and type an invalid name like testtesttest. Click ok, ok. It should return a result with all users whose name is <<not>> testtesttest. Select all, right click> Properties. Go to Account tab> check “UPN Suffix” and change it to the appropriate suffix. That’s it! There are PowerShell methods to do this too but when handling hundreds of user accounts, you have to be absolutely careful in PowerShell. There are solutions online that work fine that I am not going to post here. This is purely for the GUI. Good luck!
This guide will show you how to update your Bitnami NinjaInvoice Stack on Windows to the latest. Note: This did work with no issues going from 18.104.22.168 to 2.9.1 which is the current version as of today. For Linux, review steps 6-12.
- Navigate to C:\Bitnami\invoiceninja-22.214.171.124-0\apps\invoiceninja\htdocs
- Download the latest copy of InvoiceNinja from https://www.invoiceninja.com/self-host/
- Extract the contents of the freshly downloaded zip file
- I suggest renaming the HTDOCS folder before doing this… it creates an extra step or two but it might be worth it.
- Create a new htdocs folder
- Paste all of the contents of the downloaded zip file into the folder (or www\ninja folder for Linux).
- Go to your OLD install and copy the .env in the root directory to your new folder. This is the file that contains settings such as database connection settings.
- Go to your url with /update at the end. IE: www.mywebsite.com/ninja/update
- Wait a while for the upgrade.
- It should say successful. In a new tab, attempt to browse to the page! Should be updated and good to go.
Note: Bitnami no longer supports InvoiceNinja. You may have a hard time finding a copy. It’s relatively easy to install on Centos with Apache in my experience. The documentation for install is pretty great too.
To run a program as another user on the network do the following in command prompt:
runas /netonly /user:THEDOMAIN\theuser “C:\Windows\Calc.exe”
Or for those of you that prefer GUI: Hold Shift, Right-Click the application you want to run as another user and choose “Run as different user”.
To view all remote shares on a computer, go to command prompt and type in:
net view \\localhost /all
Where localhost can be changed to the name of the computer you want to connect to.
This only seems to work on computer in the same domain or possibly the same workgroup.
Is your hard drive full and you have no idea why? I use this little utility called Space Use Scanner. You can download it here: www.steffengerlach.de. It shows you a graphical chart of your hard drive. You can actually click any portion of the graph to see more details about what in that folder is using so much space. [This actually points out hiberfil.sys (Hibernation file and system info) and pagefile.sys (virtual memory stored on hard disk) as taking up a lot of space most of the time.]
The screenshot is from: http://www.steffengerlach.de/. I did not make the screenshot above. Please visit the site to download the freeware.
I installed Linux a while ago and found myself with the GRUB bootloader. This is definitely a pain and means I have to go through GRUB, select the OS I want to run, then go through Windows. For now, I just want Windows. Perhaps I will do the Linux thing through a VM or something similar. Here is a link that will show you how to get back to your original Windows Boot Loader.
Use Robocopy to make a mirror image of a drive. This is essentially a Windows method of backing up files to another location. Works great in a batch file with a scheduled task to maintain backups and sync data across a local computer to a network share (or drive to drive).
robocopy (/mir – MIrror) (local drive) (destination drive) (/r:x – retries) (/w:x – wait period before trying again)
robocopy /mir C:\localfiles \\networkshare\myfiles /r:1 /w:1
NOTE: Quotes are required around source or destination IF it has a space.
Windows comes with a nice command line option that will allow you to close a process. The way I typically do this is as follows:
taskkill /f /im processtokill.exe
That closes the process according to the process name (under process tab in explorer). It force closes an application that is not responding pretty much instantly. How to do this on a remote computer?
taskkill /s computername /f /im processtokill.exe
*You may be required to put in username & password!!!