Russ' Do It Yourself Home Workshop

Finding Fixes to Just About Anything and Everything

Archive for the ‘Computer Software’ Category

Fix OneDrive/SkyDrive on Windows 8.1 Using syncDriver

Posted by Russell Wright on June 24, 2014

Oh man!  Are you tired of this giant screw-up with OneDrive (formerly known as SkyDrive)?  I’m tired of wasting my time with MS and reading their non-solutions.  When I found syncDriver referenced in the link above, I decided this might be the fix I’m looking for.  It’s small, it’s simple…and it’s an application…not a part of the operating system!

I installed it, fired it up, told it where to sync the files (c:\users\rwright\onedrive) in a folder I provisioned myself, and it was off to the races!

Look!  It has a user interface!  It actually tells you what’s going on!

image

Cool…options!  Exactly what you would expect.

image

And…oh boy…wait for this!  You can choose the folders you want to sync!

image

Need some proxy-ing to get in/out of your environment?  Thar it is!

image

Look, it’s in your tray…because it is…wait for it…an application!

image

And look-ee here.  It’s got a right-click menu…just like a reel application!

image

So far, so good.  More to come.

2014-06-25 Update:

syncDriver is operating well and I have moved all my documents from my “broken” SkyDrive folder in my old user profile to my new OneDrive, powered by syncDriver, folder in my new user profile.  I used WinDiff to compare the two directories to validate I wasn’t missing anything…except for those in the old SkyDrive folder that hadn’t been kept up-to-date.

2015-07-17 Update:

Okay, now to turn off the original OneDrive sync completely refer to this article.  Basically you are editing this registry setting.

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Skydrive]
"DisableFileSync"=dword:00000001

2016-05-12 Update:

Well, my OneDrive has been broken on my Yoga for several months and I just got to looking at it.  syncDriver could not log into my OneDrive account.  However, my OneDrive account and my credentials were just fine.  I was getting an error, “Your IT department made a change that prevents you form syncing your personal OneDrive on this computer” when I viewed the OneDrive settings.  I uninstalled syncDriver, thinking I was going to get rid of it and try to go back to the MS OneDrive sync, but then found there’s a group policy that might be causing the problem.

In gpedit.msc (Group Policy editor) find this:  Local Computer Policy | Computer Configuration | Administrative Templates | Windows Components | OneDrive | Prevent the usage of OneDrive for file storage.  The default for me was Not Configured.  I changed it to Disabled and that appears to have made OneDrive available again. 

image

I re-installed syncDriver and it immediately started syncing once again.  Yay!

Posted in Computer Software | Leave a Comment »

Installing Cisco VPN Client 5.0.07.0440-k9 vs 5.0.07.0290 on Windows 8.1

Posted by Russell Wright on June 20, 2014

Being a consultant, I have about every VPN client known to man installed on my PCs.  Recently I was required to use an older version of the Cisco VPN client for one of my clients’ jobs.  They directed me to 5.0.07.0290.  I wanted to see if I could get it installed on my Windows 8.1 (Lenovo Yoga 13) PC, so here’s what I did.

I initially received an error:  VPN Client install – Error 27850.  Doing some Googling, I found a newer version, 5.0.07.0440-K9, which I found I already had on another Windows 7 PC.  So I decided to try it.  Same error. 

I started mucking with the registry to no avail and then found the secret sauce.  It all has to do with some “Deterministic Networks” drivers.  Apparently Citrix acquired Deterministic Networks some time ago, so the fixes are available on their site.

Download Winfix.exe and DNEUpdate64 (are there still people using 32-bit?) from Citrix (Citrix acquired Deterministic Networks).  Here’s the main page.  http://www.citrix.com/go/lp/dne.html

Winfix:  ftp://files.citrix.com/winfix.exe

DNEUpdate64:  ftp://files.citrix.com/dneupdate64.msi

DNEUpdate 32-bit:  ftp://files.citrix.com/dneupdate.msi

  1. Run Winfix and then reboot.
  2. Run dneupdate64 (and then I rebooted, not sure if you need to)
  3. Download later version of Cisco VPN client (5.0.07.0440).  Again not sure if 5.0.07.0290 will work or not.
  4. Put any PCF files in the new Cisco VPN client installation folder so it picks them up or you can import them later.
  5. Run the Cisco VPN client installation (it should work fine).

The installation ran fine and the connection was good.  No problems. 

Posted in Computer Software, Networking | 4 Comments »

Changing the Location (Moving) OneDrive Folder on Windows 8.1 Doesn’t Work

Posted by Russell Wright on June 3, 2014

Best I can tell, moving the location of your OneDrive folder from one user profile folder to another doesn’t work.

Navigating to my SkyDrive (OneDrive) folder in my former user profile (c:\users\Russell)…

image

And attempting to change it to my new profile location, c:\users\rwright\onedrive…

image

Selecting “Yes…”

image

After a little while of Windows churning…

image

Just FYI, I’ve tried moving it to a folder named SkyDrive and OneDrive and both give the same results.

If it can’t be moved here, where can it be moved?  And why?

Here’s the response:

Every Microsoft account (user account) will have it’s own files and settings. At the moment, you are trying to move OneDrive folder to a different Users folder (different user account). This will not be possible due to security reasons related to the Microsoft account that you use to access OneDrive.

Again, each user account will have it’s own OneDrive folder (in case it’s a Microsoft account).

Also, you can’t switch between accounts in the OneDrive app. When you sign in to a PC with your Microsoft account, you’re automatically signed in to OneDrive with that account. You can still get to OneDrive files for a different account by going to the OneDrive website.

For reference:

http://windows.microsoft.com/en-us/windows-8/onedrive-app-faq

http://answers.microsoft.com/en-us/onedrive/forum/sdfiles-sdsync/how-do-i-change-the-location-of-the-onedrive/09f3e1f0-38a7-4f09-a71b-d92bbc95cace

Please let us know if you have more queries on Windows.

The reference for moving a OneDrive folder is exactly what I tried to do.

How can I move my OneDrive to a different location on my PC?
  1. Open File Explorer.

  2. Press and hold or right-click OneDrive in the left pane.

  3. Tap or click Properties, and then tap or click the Location tab.

  4. Tap or click Move.

  5. Pick any folder that’s on a drive formatted with the NTFS file system, and then tap or click Select Folder.

  6. In the Move Folder dialog box, tap or click Yes.

 

And more FAQ information:

Can I sign in with a different account to browse a different OneDrive?

You can’t switch between accounts in the OneDrive app. When you sign in to a PC with your Microsoft account, you’re automatically signed in to OneDrive with that account. You can still get to OneDrive files for a different account by going to the OneDrive website.

 

So, what I want to do is use a new domain account for logging on to my PC and simply “link” my domain account to my existing OneDrive account.  Doesn’t sound like a big deal, does it?  Worked fine on Windows 7.

And then, in this OLD response, Edmond_A says to use the “Unlink” function, which of course he doesn’t detail where one finds it or how one runs it, but I can only assume it’s for Windows 7, since it’s so old.

Edmond_A. replied on April 23, 2012

Microsoft Forum Moderator

You must use the Unlink function and go through the first-run experience where you will have the option to change the location of the OneDrive folder on your computer.

 

If you go online, you can see how to remove PCs, but this appears to be for fetching files and is no longer supported on Windows 8.1, so this appears to be a dead end.  I’ll go ahead and remove Tabula from the list of PCs.

image

So if I go to the OneDrive settings, it is not obvious how to set an account for OneDrive to use.  Wouldn’t it make sense here to store the account OneDrive uses to log in?  Isn’t that how it worked on Windows 7?

image

When I look at my accounts under PC Settings on the metro side, it shows my domain account and my Microsoft account, but no where can I find how to link a OneDrive account back to my PC.

So my question remains.  How do I associate my domain account to my OneDrive account and move its current location, which is under my previous profile?  This should be easy, guys…

 

Posted in Computer Software | Leave a Comment »

Moving an ESXi VM from One Datastore to Another

Posted by Russell Wright on May 16, 2014

I installed a Samsung EVO 840 1TB SSD in our Dell R520 that is running ESXi.  We currently have 1TB RAID 0 and 2TB RAID 0 arrays made with Constellation ES.2 drives, so I thought I’d try an SSD to see how much "better-er" I could make it.

To make this work you can use a standard drive tray (purchased from eBay for $11.79) and a 3.5-to-2.5 SATA adapter (also purchased from eBay for $9.99). In this case, I installed a Samsung 840 EVO 1TB SSD that I also acquired from eBay ($445.00).

WP_20140515_20_37_02_Pro

You can see I failed to peel off all the plastic protective coating on the adapter, but hopefully that won’t be a big deal.  Just be sure to install the two screws on the adapter and the SSD prior to installing the adapter in the drive tray!

WP_20140515_20_37_19_Pro

WP_20140515_20_36_53_Pro

I powered everything down and slid it in and then powered it all back up.  I probably didn’t need to do that (hot swap should work), but I wanted to compare the alignment of my adapter with one of the installed drives to make sure it looked like it was going to match up okay.  You never know when you use third party hardware.

Once you get the SSD installed, you can choose to make all or part of it a cache for VMWare to use.  You can set this in the Host Cache Configuration software setting in the Configuration tab of the vSphere client.

image

Right-clicking on the SSD and selecting Properties… will allow you to select the amount of space you want to use for a host cache.

image

So my goal was to move my SQL VM first.  There are many ways documented to do this, such as using the manual vmkfstools method, as documented in this thread by telecastle.  However, in my experience I’ve found it’s much easier to use VMWare vCenter Converter Standalone to move VMs around. 

image

So, let’s do this and see how it works.  One picture is worth 1000 words, so here are some pictures to document the process.

First, you need to get the s/w, if you don’t already have it.  Google "download vmware standalone converter" and you should find it here.  You’ll have to register and log in to access it.

image

We are starting a conversion process and selecting the source, which is an ESXi box.

image

Make sure the VM is powered off.

image

The destination is the same ESXi machine.

image

We need to give it a new name…and it can’t be the same as one in the current inventory.

image

Select the SSD datastore.  Note that, even though I don’t show it here, you should be careful about what Virtual machine version you choose.  I initially chose Version 10 (wasn’t paying attention) and found that the vSphere client can’t manage any VM over version 9.  Also, it can’t create a VM over version 8.  So, I decided to go back and convert my Version 10 to Version 8.

image

The job is almost ready to go.  You have one last time to make some edits.

image

Now we’re ready to start it!

image

And the job has been submitted and is off and running.  Now just sit back, relax, and exercise your patience.  I don’t know about you, but I much prefer this to the command line stuff.

image

Posted in Computer Software | Leave a Comment »

Dropped Connections on SAP and the KeepAlive (rdisp/keepalive) Parameter

Posted by Russell Wright on April 28, 2014

We were experiencing issues with our SAP GUI connections dropping somewhat randomly, but more so when connected wirelessly or through VPN to our SonicWALL TZ 200.  This is probably a result of the SonicWALL aggressively closing connections and therefore causing SAP to drop the connection to the client.  In the SM21 log, a dropped connection entry looks like this.

image

There are several parameters in SAP that deal with connections, but we’re not talking about wanting to forcibly log off clients from our demo/test system.  What we want is to keep the connection to SAP alive as long as possible.  SAP OSS note 27320 provides a better definition of a couple of the parameters in question.  The definitions are repeated here for convenience.

rdisp/keepalive
——————–
Parameter for application servers, unit seconds, default 1200.
If the frontend has not sent any data to the application server for "keepalive" seconds, the
application server sends a short "Ping" message to the frontend. The frontend should answer within
the next 40 seconds with "Pong", otherwise the application server assumes that the link is dead and
releases all resources to the corresponding user. An error line "DP_CONN_DEAD" then appears in the
trace file dev_disp.
This usually occurs when a user switches off their PC without carrying out the shutdown procedure.
A value of 0 means that no check occurs.

rdisp/gui_auto_logout
————————-
Parameter for application servers, unit seconds, default 0.
If the frontend has not sent any data to the application server for "gui_auto_logout" seconds, the
frontend closes the user connection and releases the resources.
A value of 0 means that no users are logged off automatically.

One way to carry out this change, use the RZ10 transaction.

image

Select the appropriate Instance profile.

image

Select Extended maintenance and the Change button.

image

Select the Parameter button to add a new parameter.

 

image

Enter the rdisp/keepalive parameter and a number of seconds.  I’ve entered 180 seconds (3 minutes) in this case.  Press Enter to validate.

image

Select Copy.

image

You should see the parameter entered.

image

When you back out of the transaction, it will ask you to save your changes.

image

You should see a validation that the changes were accepted.

image

Now check your work by selecting the profile and selecting Display.

image

You should see the rdisp/keepalive parameter.

image

You now need to recycle your SAP instance for the parameter to be enforced.

image

Posted in Computer Software, SAP | 2 Comments »

Getting SQL Express to Listen So You Can Connect Remotely

Posted by Russell Wright on April 22, 2014

Dang!  We had a situation where a new tool we were implementing in our back office, BillQuick Web Services 2014, would not use SQL Server since we purchased the "Pro" version and not the "Enterprise" version.  Unfortunately, it appears the trial version we installed has all the enterprise version capabilities and, after entering our license information, we were locked down to the pro version and it wouldn’t connect to the SQL Server anymore.

So, that meant I needed to install SQL Express to support the tool.  Okay, no biggie…except for the fact that SQL Express does not enabled Named Pipes or TCP/IP protocols, by default.  This took me a bit to figure out.

This is not a new problem, as posted by Peter van Ooijen in 2006.  Some things never change…

The easy way to fix this is to use SQL Server Configuration Manager.

image

Navigate to the Protocols section for your SQL Express instance and switch it on! 

image

And if that’s not enough, you need to change the TCP/IP properties to listen on the correct port.  I set the port to 1077 (one the SQL Server is NOT listening on).  It appears if you set it in the the IPAll section, the same port will be used for each IP address and you only have to enter it one time.

image

Oh, and then recycle your SQL server instance!

The connection string to use looks like this.

SQLServer\Instance,Port

image

 

Posted in Computer Software, SQL Server | Leave a Comment »

So You Want to Remotely Manage a Computer From Another on Different Workgroups/Domains?

Posted by Russell Wright on November 4, 2013

Let’s say you have a Windows 7 computer, A, which is not in a domain, but simply in a workgroup at home.

Let’s say you have a Windows server, B, which is a VM host but not in a domain.

Let’s also say you have network connectivity between the two.

If you want to run the compmgmt.msc mmc snap-in and manage computer B from computer A try this:

  1. Open an administrative command prompt on computer A (shift right-click, Run As Administrator)
  2. Type the following Runas command:  runas /noprofile /netonly /user:ComputerB\administrator “mmc comp
    mgmt.msc”
  3. You should be prompted for your administrative password on computer B.
  4. When computer management opens, select Action | Connect to another computer from the menu.

image

Now you can also turn this into a desktop shortcut and automatically connect to the remote computer using this adjustment to the command line:

runas /noprofile /netonly /user:ComputerB\administrator “mmc comp mgmt.msc /computer:\\ComputerB”

You should be good to go…at least I was.

 

Posted in Computer Software, Networking | Leave a Comment »

Reordering and Hiding Fields and Passing URL Parameters on a New Item Form in SharePoint 2010

Posted by Russell Wright on March 6, 2013

Let’s say you are creating a new item form using SPD 2010 and you don’t have InfoPath because the company didn’t purchase the Enterprise version of SharePoint.  Your goal is to pass a URL parameter to the new item form from some other part of the SharePoint application you are building.  Perhaps the link that contains the URL parameter was created by a workflow (hint hint).

image

You insert the custom list form like this.

image

The goal is to move this field down to the end of the form to get it out of the way.

image

You select the row and cut it for repositioning to the end of the form.

image

Now you’ve got it at the bottom of your form.

image

Now you test your form (before adding the parameter to pass) and it "works" but it doesn’t correctly save the data in the field you relocated.

The correct way to do this is to delete the field row at the top, add a new row at the bottom and insert a new text field and bind it to the column.

image

Bind the Data field to the column and format it as a Text Box.

image

Under Options, select Parameters and add a New Parameter, giving it a name that is memorable for you.  Then, bind it to the Query String variable of your choice.

image

With your text box selected, find the text property and change it from @Fieldname to $Parametername.

image

If you don’t get the name correct, you’ll see an error displayed instead of your form.

image

If you want to hide the field completely on the form to eliminate any human intervention, add class=ms-hidden to the table row.

image

Posted in Computer Software | Leave a Comment »

Stop IE Performance Advisor from Asking bout Disabling Add-ons

Posted by Russell Wright on February 19, 2013

If you are tired of seeing that message that takes more time to dismiss than it does for the add-ons to start, you can disable it using the Group Policy editor.

Click your Start buttong and type gpedit.msc and press enter.

image

Navigate to the Internet Explorer folder under Computer Configuration | Administrative Templates | Windows Components | Internet Explorer.  On the right side double-click Disable add-on performance notifications.

image

Select Disabled and click OK.

image

At this point you might want to investigate the long list of other options and see what else you want to configure while you’re here!

image

Posted in Computer Software | Leave a Comment »

BGInfo on Windows Server 2012

Posted by Russell Wright on December 30, 2012

Here’s how I setup BGInfo on Windows Server 2012.

I created a folder in the Program Files (x86) directory and copied the BGInfo.exe file to the folder.

image

I used the scheduler (Win-Q and start typing “Scheduler”) method to run BGInfo.  Here are my scheduler settings.  The important thing here is to specify an account with administrative privileges. 

image

For triggers, I used the following.  I have it run on a schedule so it is updated regularly, in case things change.  I also have it run at each logon and at startup.  I think I have all the bases covered.

image

The action is, of course, Start a program.  The full command line is as follows.

"C:\Program Files (x86)\BGInfo\Bginfo.exe" "C:\Program Files (x86)\BGInfo\Bginfo.bgi" /TIMER:0 /SILENT

I’ve always found it’s better to include the full path to the BGInfo.bgi file.

image

The settings are pretty standard.  I always stop the task if it runs longer than 1 minute (plenty of time) in case something gets hung. 

image

That ought to do it.

Keywords:

Windows Server 2012
BGInfo
Automatic scheduled execution of BGInfo
BGInfo command line options

Posted in Computer Software | Leave a Comment »