PSToosl allows you to remotely run a command on one or even on more system at once. Here are some short examples (the syntax sometimes can be a little tricky):
Change the password of the user admin:
pspasswd.exe @pcs.txt -u admin -p password admin new_password
Import registry file from network share:
psexec.exe @pcs.txt -u admin -p password "c:\windows\regedit.exe" /s \\server\share\regfile.reg
Delete script in autostart and copy a new one:
psexec.exe @pcs.txt -u admin -p password cmd.exe /c del "C:\Documents and Settings\All Users\Start Menu\Programs\Startup\logon.bat"
psexec.exe @pcs.txt -u admin -p password "c:\windows\system32\xcopy.exe" \\server\share\logon.bat "C:\Documents and Settings\All Users\Start Menu\Programs\Startup\"
Remotely install NRPE_NT:
psexec.exe @pcs.txt -u admin -p password "c:\windows\system32\xcopy.exe" \\server\share\nrpe_nt\*.* "C:\nrpe_nt\"
psexec.exe @pcs.txt -u admin -p password "C:\nrpe_nt\NRPE_NT.exe" -i
psexec.exe @pcs.txt -u admin -p password sc config NRPE_NT start= auto
psexec.exe @pcs.txt -u admin -p password net start NRPE_NT
After Ralf Hettinger sent me some change for jk_poll in May I now finally managed to integrate the most oft them. The changes are described in the manual:
- Changes submitted from Ralf Hettinger:
- general code cleanup
- handle enableFields (start- und endtime, hidden, deleted) using cObj->enablefields)
- change use of time() to SIM_EXEC_TIME (makes simulating of times in frontend possible)
- change sorting in backend to crdate (as displayed in the frontend)
- labels for "no votes" and "one vote"
- new options for TypoScript (explained in ext_typoscript_setup.txt and manual):
plugin.tx_jkpoll_pi1.submitbutton_params
plugin.tx_jkpoll_pi1.submit_js_fallback
plugin.tx_jkpoll_pi1.path_to_images
plugin.tx_jkpoll_pi1.show_zero_percent
- action hrefs contain all GET parameters
- change from GET to POST parameters
- added first experimental support of Google Chart API to display votes
In addition I included a first experimental support for Google Chart. Perhaps I will do some more work in this area. But this could take a while ;-).
When browsing the web using Firefox for Windows you can go one page back in your browser history by hitting the backspace. If you try this with Firefox for Linux nothing happens. To get the same behaviour you can browse to 'about:config' and change the option 'browser.backspace_action' to 0. Other possible values are described here.
I often use RDP sessions (in combination with Royal TS) to remotely administrate Citrix servers. By accident I noticed that when connecting to a Citrix server via RDP a Citrix license from the License Server is used. According to this article in the Citrix Access Management Center this is the case since Presentation Server 3.0. The RDP session also occurs in the Citrix Access Management Console and is considered for load balancing. When using an administrative connection no Citrix license is used and the connection does not appear in the Management Console:
mstsc /console