Some days ago I had the need to work via RDP on a workstation with “Remote Desktop” disabled.
The quickest way is to use psexec and run this command on remote workstation:
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
To disable again the “Remote Desktop”:
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 1 /f
Keep in mind that reboot or logoff is not necessary :-)
To check/manage your client/server local groups, an old command line tool still surviving.
If you want to check the member of “Administrators” group on your workstation:
net localgroup administrators
This command work also for AD groups… just add “/domain”
This is the “translated” post you find here , for Fedora.
yum install opensc
My smart card (Alcor Micro AU9520) work fine with pcsc-lite-ccid.
Then configure Firefox to use smart card reader. On Firefox Preferences/Advanced click on Security Devices and load this lib:
On Fedora the /tmp folder is mounted on tmpfs and quoted to 2Gb.
By default Brasero use /tmp for store temporary CD/DVD images.
The correct folder for that is: /var/tmp
I recently switched from UBUNTU GNOME to FEDORA, and one think that I noticed it’s that fonts rendering is ugly compared to Ubuntu.
I compared the Ubuntu and Fedora configuration:
and make Fedora’s settings the same:
gsettings "set" "org.gnome.settings-daemon.plugins.xsettings" "hinting" "slight"
gsettings "set" "org.gnome.settings-daemon.plugins.xsettings" "antialiasing" "rgba"
By the way, You can change these settings also with “Gnome Tweak Tool”
su -c "yum install gnome-tweak-tool"
You can also enable font sub-pixel rendering:
echo "Xft.lcdfilter: lcddefault" > ~/.Xresources
Update: MS Calibri font look very bad… Create/add these settings on /etc/fonts/local.conf
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<edit name="autohint" mode="assign">
<edit name="hinting" mode="assign">
<edit mode="assign" name="hintstyle">
<match target="font" >
<edit name="embeddedbitmap" mode="assign">
rm, like many other programs, takes its arguments from the command line but ignores standard input. You can pipe anything to it you like; it’ll just throw that data away.
xarg..this command clean Evolution data:
find ~/ -iname "*evolution*" | xargs rm -R
If filenames contain newlines or spaces:
find . -name ".txt" -print0 | xargs -0 rm
I tried to sign an old Powershell script with this command:
Set-AuthenticodeSignature 'C:\MyScript.ps1' -cert (get-childitem cert:\currentuser\my\ -codesigningcert)
..but the output was: Unknown Error
This was not the only one that I’ve signed but it’s the only one that I was not able to sign!
After some investigation I discover the problem: the script encoding was “Unicode big endian”. Changed it to UTF-8 I was able to sign it (you can use notepad to change encoding).