Archive for the ‘Windows Server 2003’ Category
Posted by jpluimers on 2012/10/29
When managing entities in more than one Active Directory, it is very nice to know that the Active Directory Manager Snap-in supports command line parameters select the domain (and if you want the domain controller).
(Further tweaking needs to be done using scripts like this one)
From the HOW TO: Change the Default Selection in the Active Directory Manager Snap-in. documentation:
Specify the Domain Controller Before Starting the Snap-in
To specify the domain controller to be used before starting the Active Directory Users and Computers snap-in, use the “/SERVER=” switch as a parameter to the MMC saved console (.msc) file. In the process of connecting to the server, the domain of which the controller is a member is automatically detected. For example, either from a command prompt or in the Open box, type:
dsa.msc /server=dc-01.domain.com
Specify the Domain Before Starting the Snap-in
To specify the domain to be used before starting the snap-in, use the “/DOMAIN=” switch as a parameter to the MMC saved console (.msc) file. A domain controller for the domain specified is located automatically and used as the default domain controller. For example, either from a command prompt or in the Open box, type:
dsa.msc /domain=childdomain.domain.com
–jeroen
via: HOW TO: Change the Default Selection in the Active Directory Manager Snap-in.
Posted in Power User, Windows, Windows Server 2003, Windows Server 2008 | Leave a Comment »
Posted by jpluimers on 2012/10/26
Some links I need to research to find a duplicate file finder that fits my needs:
–jeroen
Posted in Power User, Windows, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2 | Leave a Comment »
Posted by jpluimers on 2012/10/15
I needed to make backups of a couple of maintenance USB drives.
It turned out to be pretty easy: How To Backup Bootable USB Drive describes how to do that based on a small USB Image Tool developed in .NET.
One of the things you can do with this is backup bootable Windows installation media.
Note it is a simple tool, so it backups only same size to same size. For more advanced copy purposes, use something like the professional tools from Acronis.
–jeroen
Posted in .NET, Development, Hardware Interfacing, Power User, Software Development, USB, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Leave a Comment »
Posted by jpluimers on 2012/10/12
psexec to the rescue again:
psexec \\%rsys% -u DOMAIN\%user% mmc.exe lusrmgr.msc
note: both the current and remote computer must be trusting the AD belonging to DOMAIN, otherwise you will get an access denied message.
–jeroen
via: LUSRMGR von Remote aufrufen – Windows – Administrator.
Posted in Power User, Windows, Windows 7, Windows Server 2003 | Leave a Comment »
Posted by jpluimers on 2012/10/08
Most console applications return 0 (zero) as success.
But sometimes there are multiple success result codes, and the success depends on what you want to do with them.
One example is RoboCopy.
The zero result code means that nothing happened: no error occurred and nothing was copied, because there was no need to.
But for most RoboCopy scenario’s result code 1 (one) is also success. It means that no error occurred and that one ore more files were copied.
In fact the RoboCopy result codes form a bitmap explained on ss64.com.
Most RoboCopy use cases will have [0,1] as the set off success result codes.
–jeroen
via: Robocopy Exit Codes.
Posted in Batch-Files, Development, Power User, RoboCopy, Scripting, Software Development, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | 3 Comments »
Posted by jpluimers on 2012/09/29
If I read Inappropriate Use of Adobe Code Signing Certificate my conclusion is that anything signed by the Adobe Code Signing Certificate since 2012-07-10 potentially can be malware.
As a precaution, I will manually revoke the certificate on all my systems (that’ll take a while!). If anyone knows how to automate that process, please post a comment showing how to.
Hitching on a trusted certificate of a big software company comes close to the ultimate hack: trojaning signed malware in the distribution of an OS vendor.
–jeroen
via: Inappropriate Use of Adobe Code Signing Certificate « Adobe Secure Software Engineering Team (ASSET) Blog.
Posted in *nix, Adobe, Android Devices, Apple, HTC, HTC Sensation, iOS, iPad, iPhone, iPod, iPod touch, Linux, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, Opinions, OS X 10.8 Mountain Lion, Power User, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Tagged: adobe software, conclusion, engineering team, precaution, secure software, software, software company, software engineering, technology, ultimate hack | Leave a Comment »
Posted by jpluimers on 2012/09/21
The Ctrl+Alt+Delete keyboard shortcut equivalent for VMware View/Workstation/Player is very easy to remember: Ctrl+Alt+Insert.
While searching for the Ctrl+Alt+Delete keyboard shortcut equivalent in Remote Desktop (which is Ctrl+Alt+End), I came accross the via List of the keyboard shortcuts that are available in Windows XP.
It includes these lists:
- General keyboard shortcuts
- Dialog box keyboard shortcuts
- Microsoft natural keyboard shortcuts
- Accessibility keyboard shortcuts
- Windows Explorer keyboard shortcuts
- Shortcut keys for Character Map
- Microsoft Management Console (MMC) main window keyboard shortcuts
- MMC console window keyboard shortcuts
- Remote desktop connection navigation
- Microsoft Internet Explorer navigation
- Other information
I was after the Ctrl+Alt+End shortcut from the list below which works in any Windows version I tested so far. But the other lists are very useful too.
Read the rest of this entry »
Posted in Keyboards and Keyboard Shortcuts, Power User, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Leave a Comment »
Posted by jpluimers on 2012/09/20
Summary:
- Zero day vulnerability in mshtml.dll used by Internet Explorer 6, 7, 8 and 9, and many other products.
- Resolution: Deploy EMET or stop using IE and other products using mshtml.dll until Microsoft delivers a patch.
Earlier this week a zero-day vulnerability in the mshtml.dll was made public. This DLL is used by almost all Internet Explorer versions (6-9 are vulnerable) and many other software products (almost anything from Microsoft and a lot of 3rd party software that displays a web page on Windows).
While Microsoft is building a fix that is to be released very soon now (probably tomorrow, Friday September 21st 2010), the official resolutions are not to use the mshtml.dll at all (impractical for many people), or deploy EMET (impractical too as it requires administrative privileges).
If you can, switch to a browser that uses a different layout engine than mshtml.dll (for instance browsers based on WebKit will do).
These pages are good starting points for more information:
Particularly interesting posts:
–jeroen
Posted in Internet Explorer, Power User, Web Browsers, Windows, Windows 7, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Tagged: execcommand, internet explorer patch, internet explorer versions, layout engine, party software, software, software products, technology, zero day | 8 Comments »
Posted by jpluimers on 2012/09/14
A while ago, I got a question from a colleague on how to silence RoboCopy.
The RoboCopy /? help is a bit awkward to read, so there is this nice SO answer by Ruben Koene:
So together with previous answer you get the following and it’s silent:
ROBOCOPY [target] /njh /njs /ndl /nc /ns /np /nfl
And there is the FIND way where I marked the relevant options with an asterisk (*):
C:\Users\jeroenp>robocopy /? | find /i "No"
/S :: copy Subdirectories, but not empty ones.
/NOCOPY :: COPY NO file info (useful with /PURGE).
/PURGE :: delete dest files/dirs that no longer exist in source.
/PF :: check run hours on a Per File (not per pass) basis.
n must be at least 1 and not greater than 128.
/XJ :: eXclude Junction points. (normally included by default).
/X :: report all eXtra files, not just those selected.
* /NS :: No Size - don't log file sizes.
* /NC :: No Class - don't log file classes.
* /NFL :: No File List - don't log file names.
* /NDL :: No Directory List - don't log directory names.
* /NP :: No Progress - don't display percentage copied.
* /NJH :: No Job Header.
* /NJS :: No Job Summary.
/NOSD :: NO Source Directory is specified.
/NODD :: NO Destination Directory is specified.
–jeroen
via: backup – How can I make robocopy silent in the command line except for progress? – Stack Overflow.
Posted in Power User, RoboCopy, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | 4 Comments »
Posted by jpluimers on 2012/09/07
Note: modifying DisableLastAccess using fsutil is only supported on Windows Server 2008 R2 and higher, and on Windows 7 and higher.
The comment says that older versions of Windows (Windows Server 2000 through Windows Server 2008, and Windows XP through Windows Vista) need the registry way to do this.
This is not true, as the fsutil way works for Windows Server 2003.
Both ways require a reboot and require Administrator access.
It works like this (on Windows Server 2003 x86 as an Administrator user):
C:\Documents and Settings\jeroenp>fsutil behavior query disablelastaccess
disablelastaccess is not currently set
C:\Documents and Settings\jeroenp>fsutil behavior set disablelastaccess 1
C:\Documents and Settings\jeroenp>fsutil behavior query disablelastaccess
disablelastaccess = 1
C:\Documents and Settings\jeroenp>
Note that fsutil does not need –help, -? or -h on the command-line to display help; just omit stuff and you get help: Read the rest of this entry »
Posted in Power User, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Leave a Comment »