[Last Call] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 376
  • Last Modified:

bring VM into Safe mode to replace Rdp client & disable UAC

how can I bring a VM (running Win2008 R2) to boot to Safe Mode?
Is it via vCenter?

I'm facing "Licensing Proto issue" & would like to replace mstsc.exe
& mstscax.dll (& 2 other files) in my Win 2008 R2 Terminal Server
which gave me "Access is Denied" when I tried to rename the 2 files:
(presumably 32bit mstsc.exe could run on Win2008 R2 64bit in
 compatibility mode)


Pls elaborate how I can disable UAC as given in link below:

  http://technicaltrash.blogspot.sg/2012/01/remote-desktopterminal-services-error.html  :

Extracted from above link:
... still happens in Windows 7 even after you remove that key: it's all down to that effective but stupidly annoying User Account Control ...
You can turn this off and I personally do on servers running 2008 R2
3 Solutions
Q1--For safe mode: launch the console in vcenter and hit f8 as soon as you see the splash screen; you must be quick, but that'll force it.
Q1:  As an additional note It's best to adjust the Power-on Boot Delay setting first to make it easier to see the F8 Safe Mode option so you can get focus on the vSphere client VM console window in time to have your pressing of F8 acknowledged:

It is easy to do from vCenter

1. Connect to vCenter Server/VirtualCenter using the VMware Infrastructure/vSphere Client.
2. Right-click on the virtual machine you want to edit in the Inventory view.
3. Click Edit Settings > Options > Boot Options.
4. Set the Power-on Boot Delay to the number of seconds you feel will give you enough time.

Once you see POST information, make sure your mouse focus is inside the virtual machine by clicking inside the console window and press F8 once the screen goes black.

Also note that depending how your keyboard is configured, you may need to press fn+F8 rather than just F8 for Safe Mode.

** On the other 2 questions I recommend splitting them into separate questions as they are not VMware related to make it easier to get the right experts eyes on them.
Microsoft sysinternals has tool called "MoveFiles.exe" taht one uses to replace a file or ten over reboot.
Free recovery tool for Microsoft Active Directory

Veeam Explorer for Microsoft Active Directory provides fast and reliable object-level recovery for Active Directory from a single-pass, agentless backup or storage snapshot — without the need to restore an entire virtual machine or use third-party tools.

sunhuxAuthor Commented:
When can I download "MoveFiles.exe" & how to install/use it?

The whole idea of going into Safe Mode is I can't rename
those few mstsc*.exe & mstsc*.mui files : they are 'locked'
giving "Access is denied" even if I shut down Remote services
sunhuxAuthor Commented:
Where can I download .....

Is there any way for me to find out (without installing
additional tools as I may need to raise a CR) which
process is locking those files?
sunhuxAuthor Commented:
I typed
>raise a CR
which means,
raise a Change Request (& this requires a few layers of approvals.

Does the above tools require installation or they can be run
off the executables just like putty & MS portquery ?
They are standalone tools.
For future - you can extract MSI files and 99% of times result is working copy of software.

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now