Present i am using windows7 in my machine recently installed Ubuntu through oracle virtual box manager as per my requirement some times i need to copy files and copy text content to windows environment and copy text from windows to ubuntu.
let me know if have any easy solutions to access.
For copying text using the clipboard, do Devices->Install Guest Additions..
For sharing files use shared folders.
For copying text content between the host and the VB Ubuntu 16.04 guest, follow these steps:
1- go to VB manager window and right click on you device (your guest Device) and select "Setting".
2- Go to "Advanced" tab and select "Bidirectional" for both "Shared Clipboard" and "Drag'N'Drop".Press Ok.
This should make it to work, but if it does not, then, do the followings in addition:
1- On VB manager window right click on your device and select "Settings"
2- Click "Storage" on the left panel and to click the disk icon under the "controller IDE".
3- On the right panel, under the "Attributes> Optical Drive", click the disk icon.
4- Select "Choose Virtual Optical Disk File" and browse to "C:\Program Files\Oracle\VirtualBox" and select "VBoxGuestAdditions.iso" and press"Open".
5- Restart your VB.
Related
Much as it pains me to do so, I have to run a Windows VM on Google Cloud Platform in order to run some legacy data extraction software on a nightly basis.
It works fine (except the recurring feeling that I am stepping back in time every time I RDP into the VM), except over the holidays when the extract stopped. I checked the update logs and it seemed to be when an automatic Windows Update took place. As such I want to stop these from happening, however I cannot find any way of stopping them!
I own the GCP project and VM, so should have permissions to change any settings I like, does anybody have a clue how to do this please?
You do have the right to do whatever in your VM Windows.
For windows 7
1- Log in to the Windows 7 or Windows 8 guest operating system as an
administrator.
2- Click Start > Control Panel > System and Security > Turn automatic
updating on or off.
3- In the Important updates menu, select Never check for updates.
4- Deselect Give me recommended updates the same way I receive
important updates.
5- Deselect Allow all users to install updates on this computer and
click OK.
For Windows 10
I suugest your to follow the steps provided Here as the windows 10 has a policy of forced updates three option available.
Tracked down the answer! Posting here in case it helps somebody else...
https://community.shavlik.com/docs/DOC-24588
Solution
Open SCONFIG and verify your current Windows Update Settings:
Open a command prompt with Admin permissions.
Type sconfig and press Enter.
NOTE: There may be a short pause as the tool inspects your system.
Option #5 shows the current configuration of your Windows Update settings.
Config.PNG
To change your Automatic Update Settings, follow these steps:
From the SCONFIG screen press 5 and then Enter. This will bring up the following options for you to choose from:
(A)utomatic – This will configure your machine to automatically scan, download, install and reboot after applying any updates.
(D)ownloadOnly – This will automatically scan, download and notify the admin if updates need to be installed. This is the default setting on Windows Server 2016.
(M)anual -- This turns Automatic Updates off. Your system will never check for updates.
2. Press the letter specified in the "( )" and press Enter to apply.
3. When the tool applies the configuration you have selected, you will see a message pop-up similar to the one below. Click the OK button to dismiss the message. The tool will refresh the menu and option 5 will now show the new configuration.
In order to update some desktop icons, I want to stop & restart Windows Explorer (WE), but without losing the currently open folders.
To accomplish this, I either need to save the currently open folders and then restore them on my own or find out where WE keeps the list and have it restore them for me.
Any thought or comments will be most appreciated.
If you have changed registered file-type icons you can just call SHChangeNotify(SHCNE_ASSOCCHANGED, SHCNF_IDLIST, NULL, NULL);.
You can use IShellWindows to get information about open Explorer windows but I would recommend that you try using Restart Manager (example application) instead.
I would like to debug the Sitecore code just like asp.net code, but do not know how to.
The solution is outside wwwroot.
Using Visual Studio 2013, IIS 10.0, Windows 10, Sitecore 8
Does attaching a process, is all I have to do to be able to debug.
In Visual Studio, when I click on Tools > Attach Process, there is no aspnet_wp.exe or w3wp.exe.
Is there any other process to follow.
When you try Debug > Attach to Proces please make sure your site is running.
Please also check if "Show Process from all users" is checked.
See below picture:
You can use dotpeek to debug the Sitecore Code.
Steps to debug Sitecore Code:
Download and Install Dotpeek.
Open dotPeek and click on StartSymbolServer default dotPeek uses port 33417.
Open Visual Studio options
In Debugging/Symbols tab click on add new symbol files location and enter http://localhost:33417 (or the port that you assigned in the previous step)
In VS options go to Debugging/General and uncheck “Enable Just My Code” option if it is checked
In dotPeek click on open icon that will show a dialog for loading an assembly
After the assembly is loaded right click on it and click generate pdb. In the appeared window choose the namespaces that you need to debug (or each one as I did) and click Generate
Now we are ready for debugging
Open VS and attach to the sitecore process (loading symbols may take longer than usual)
More info: http://bilyukov.com/debugging-sitecore-dotpeek/
Note: You can also export the Sitecore dll to a VS Solution in dotpeek along with its pdb file, then follow the above steps to configure your VS. You need to attach to the Process of the exported Sitecore Solution.
I use Attach to Process in Sitecore rocks.
Sitecore Rocks can be found in the Visual Studio Marketplace via the Tools | Extensions and Updates option in visual studio. Search for Sitecore Rocks in the Online folder.
If you want to attach to w3wp.exe you have to make sure the website is running in IIS under its own app pool with its own domain binded as well as host file updated to associate that domain with localhost 127.0.0.1. If you need more help, along with simplified detailed instructions, please reach out to me.
You can do one thing in this case. Go in Visual Studio to Debug > Attach to process....
Now you'll see a window containing available processes. We need to connect to IIS , hence mark the checkbox saying Show processes from all users. Once you do that, you'll find a process w3wp.exe. Jut select it and click Attach.
Why so many "Virtual Disk" .vmdk files got created under ""Documents/Virtual Machines.Localized/Windows7 x64.vmwarevm/", now Im left with no space, unable to boot guest windows7 OS
Please click here to view the screenshot.
Under the VM settings, open the hard disk then expand advanced options, you are probably splitting the vmdk into multiple files. You can also choose to pre-allocate the space or not.
You can move the vm folder to another drive and register once more in fusion, should you have space on another drive.
I always keep my vdisks as one file and don't pre-allocate the space (thin provisioning).
I am trying to install SIM version 13 rev 1404021 using Administrative priveleges
When i click on Grant button it give me error that " you dont have neccessary permission set".
Also i have given full permission to Network Service,IUSR, IIS_USR and network to the folder
C:\Inetpub\wwwroot
Kindly let me know whate else permission need to be given inorder to run sitecore instance manager succesfully.
It may be caused by bug in SIM that doesn't get actual SQL Server user account (LocalService or custom) and thinks that it is always NetworkService. So work around is to switch your SQL Server service from using LocalService or custom account to NetworkService.
Same context with Alen's answer, but in windows 10.
Use 'Local System account' and tick the 'Allow service to interact with desktop'.
Then, restart the service.
At this point, you don't need to reopen the SIM installation window. You can just click the Grant button and it would work.
Well, for me the issue was that the database user didn't have the dbcreator role so the wizard couldn't create databases in SQL Server.
Open SQL Server Management Studio
Expand Security > Logins
Double-click on the user to open the properties dialog
In Server Roles, check the dbcreator role
Press OK and enjoy
Source: http://sitecoreblog.patrickperrone.com/2015/04/a-simple-error.html
When you downloaded the SIM zip file from Marketplace, did you click "Properties" on the zip file and click the "Unblock" button before unzipping and running it?
I've found in the past that forgetting this step can be the cause of odd security related errors with applications.
I ran across a similar issue I had, but for me root issue was that the wwwroot folder was on a VM/Parallels and that folder was marked "compress" and "archive"
unset that for wwwroot and child items, and then SIM proceeded correctly.