Set Windows Environment variables through registry.
The system variables are in there, so you can change and add to them permanently.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
The system variables are in there, so you can change and add to them permanently.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
We got some Procurve 2810 Gigabit switches. they play some critical roles, so I wanted to keep others from playing with them. The exact code below would enable https for web management, enable ssh for console management, change the port ssh runs on, and disable telnet and unencrypted web management …
more ...beleive or believe? If you mistakenly add a word to Firefox's custom dictionary, the word is added to
~/.mozilla/firefox/[unique-alphanumeric-string].default/persdict.dat
just edit the file and remove your mistaken 'custom' word.
more ...First of all, get the pstools and set them up. then run
psexec \\[workstation name] powercfg /query
Field Description Value
----------------- -----
Name Home/Office Desk
Numerical ID 0
Turn off monitor (AC) After 20 mins
Turn off monitor (DC) After 5 mins
Turn off hard disks (AC) After 60 mins
Turn …
So your Ext3 root partition is corrupted. No matter how you try to log into your system, your system asks you for root password. But you are a good, obedient ubuntu user. And you do not have a root password set. You can press CTRL+D, but that just reboots …
more ...Logitech drivers are packed in with an awful, bloated program. Just want the drivers and nothing else? I did this with a Quickcam 4000 Pro. The same basic steps may apply to other cams:
i traveling and wanted to copy over my logs to find out what was happening on my server. didn't want to install a client like filezilla or another GUI. Using the command line SCP utility, you can grab remote files securely over SSH. You can grab the executable from http …
more ...Got tired of right-clicking and "run as" and putting in my uname/password. I just updated the shortcuts to run something similar to this. This example is for exchange 2007 server management console.
runas /user:DOMAIN\ADMIN_ACCOUNT "cmd /c \"c:\program files\microsoft\exchange server\bin\exchange management console …
Exchange Server 2007 allows administrators to create objects such as Mailbox, Contacts, Mail User, and Distribution Groups. Here are the steps needed to create a room mailbox object:
Open the Exchange Management Console.
Expand Recipient Configuration.
Click on Mailbox.
In the Mailbox pane, click on New Mailbox...
For our purposes …
To my surprise, XP has an equivalent to unix' "/etc/hosts" file. you can find it here: c:\WINDOWS\system32\drivers\etc\hosts'
more ...